In our kannel config file we add the following lines: group = smsc Suppose we have 2 SMSC, smsc1 and smsc2 and we want to route sms messages to one of those 2 SMSC. Juggling with these variables allows you to create from very simple to very complex routing scenarios. Multiple entries are separated with semicolons (' ') Preferred-smsc-id SMS messages with SMSC ID from this list are sent to this SMSC instead than to SMSC without that ID as preferred. Multiple entries are separated with semicolons (' ')Īllowed-smsc-id This list is opposite to previous: only SMS messages with SMSC ID in this list are ever routed to this SMSC. There are three SMSC parameters which control the routing to a specific SMSC:ĭenied-smsc-id SMS messages with SMSC ID equal to any of the IDs in this list are never routed to this SMSC. Solution 2īy default, Kannel will route the message in a round-robin way between all connected SMSCs. Where $smsc should match a smsc-id you have in your nfĭocumentation here, under "Table 6-16. 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
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |