Using Kannel with the SMSC simulator to send and receive SMS messages

I am working on a project using Kannel to send / receive SMS. So far, we have been told to read the Kannel documentation, as well as perform the simulation. I was able to use Opensmpp to send SMS, but I am having problems receiving SMS messages to my Kannel to process it. if there is any chance of doing this using OpenSmpp, please tell me because I am stuck here. if you couldn’t refer to another SMSC simulator that could give me such an opportunity. Thank you at Advance

+4
source share
2 answers

I can suggest using SMPPSIM from Selenium Software as an SMSC simulator. Last time I got it from here . He needs Java, but if I remember correctly, then OpenSMPP. After its launch, you can connect a web interface port to it, which allows you to enter messages that will be sent to connected clients. It also allows you to use ESME-ESME mode, which basically sends back everything you send.

+7
source

Thanks for your reply. I used SMPPSIm and it worked well. I hope this helps someone. 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 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" 
+7
source

Source: https://habr.com/ru/post/1398274/


All Articles