smskannelsmppbulksms

Kannel configuration for multiple smsc


I have created multiple SMSC SMPP connection.

after configuration i have send sms but sms is send with random smsc.

How can i control kannel to send sms with smpp which i want to send.


Solution

  • You can specify what smsc to send through in the submission to the kannel server, for example:

    GET /cgi-bin/sendsms?smsc=$smsc&username=$user&password=$password&to=$receipient&text=$text&dlr-mask=$dlrMask&dlr-url=$dlrUrl
    

    where $smsc should match a smsc-id you have in your kannel.conf

    Documentation here, under "Table 6-16. SMS Push (send-sms) CGI Variables".