나는 Kannel에 관한 문서를 읽고 시뮬레이션을하기 위해 Kannel을 사용하여 SMS를 보내고 받았다. 나는 SMS를 보내기 위해 Opensmpp를 사용할 수 있었지만 그것을 처리하기 위해 나의 Kannel에 SMS를받는 데 문제가 있습니다. OpenSmpp으로 그 일을 할 수있는 기회가 있다면, 제게 말해주세요, 제가 여기 붙어 있습니다. 그렇지 않다면 저에게 그 가능성을 줄 수있는 또 다른 SMSC 시뮬레이터를 참조하십시오. 미리 감사드립니다.SMS를 송수신하기 위해 Kannel과 SMSC 시뮬레이터 사용하기
4
A
답변
7
Selenium Software의 SMPPSIM을 SMSC 시뮬레이터로 사용하는 것이 좋습니다. 지난번에 내가 here에서 가져 왔습니다. Java가 필요하지만 올바르게 기억한다면 OpenSMPP도 마찬가지입니다. 일단 설치하고 실행하면 연결된 클라이언트에 보낼 메시지를 삽입 할 수있는 Web Interface 포트에 연결할 수 있습니다. 또한 ESME-ESME 모드는 기본적으로 보내는 모든 것을 다시 보냅니다.
7
답장을 보내 주셔서 감사합니다. 나는 SMPPSIm을 사용했고 잘 작동했다. 나는 이것이 누군가를 도울 수 있기를 희망한다. Kannel.conf :
#kannel.conf
group = core
admin-port = 13000
smsbox-port = 14000
admin-password = saad
log-file = /home/saad/klogs/kannel.log
log-level = 0
access-log = /home/saad/klogs/access_kannel.log
dlr-storage = pgsql
#--- postgresql connection
group = pgsql-connection
id = mydlr
host = 127.0.0.1
port = 5432
username = saad
password = ****
database = kannelDb
max-connections = 1
#---- DLR table structure
group = dlr-db
id = mydlr
table = "kannel_dlr"
field-smsc = smsc
field-timestamp = timstamp
field-destination = destination
field-source = source
field-service = service
field-url = url
field-mask = mask
field-status = status
field-boxc-id = boxc_id
group = smsbox
#smsbox-id = mysmsbox do not uncomment this if you have only one smsbox
bearerbox-host = localhost
sendsms-port = 1025
#global-sender = 1000
log-file = /home/saad/klogs/smsbox.log
log-level = 0
mo-recode = true
group = smsc
smsc = smpp
smsc-id = SMPPSim
host = 127.0.0.1
port = 2775
transceiver-mode = 1
receive-port = 2775
smsc-username = smppclient1
smsc-password = password
system-type = 'VMA'
#service-type = 'test'
interface-version = 34
#system-id = smppclient
preferred-smsc-id = SMPPSim
group = sendsms-user
username = saad
password = ****
#forced-smsc = SMPPSim
default-sender = '1000'
group = sms-service
keyword = default
accept-x-kannel-headers = true
#text = "No service specified"
catch-all = true
max-messages = 0 # it's better to put this parameter to 0 or you will have a lot Ack in your network
get-url = "http://localhost/kannel/?phone=%p&text=%a"
OpenSMPP를 트랜시버 모드로 실행하는 방법에 대한 코드 샘플을 보여 주시겠습니까? SMSC에 성공적으로 메시지를 보낼 수는 있지만 배달 응답을받을 수 없습니다. – gkiko