Hello friends,
I am facing a strange problem. I have configured two SMSC server to which I am able to send the message successfully when tested individually. Now when I start the bearbox with both the connection live it shows me both "smscon1" and "smscon2" connections live. But when I am send consecutive messages to "smscon2" some of the messages are sent to "smscon1". Below is the URL I call to send message and the configuration file. Can you please let me how I can solve this problem? URL 1: http://something.com:13013/cgi-bin/sendsms?username=llsend <http://something.com:13013/cgi-bin/sendsms?username=llsend&password=llsend& smsc=smscon1&from=5555&to=12345678&text=Hi> &password=llsend&smsc=smscon1&from=5555&to=12345678&text=Hi SMSCON1 URL 2: http://something.com:13013/cgi-bin/sendsms?username=ksend <http://something.com:13013/cgi-bin/sendsms?username=ksend&password=ksend&sm sc=smscon2&from=5858&to=12345678&text=Hi> &password=ksend&smsc=smscon2&from=5858&to=12345678&text=Hi SMSCON2 Configuration File: group = core admin-port = 13000 smsbox-port = 13001 admin-password = pw1122 status-password = pw3344 #admin-deny-ip = "" #admin-allow-ip = "" log-file = "/var/log/kannel/kannel.log" log-level = 0 #box-deny-ip = "*.*.*.*" admin-allow-ip = "127.0.0.1;12.0.0.*" box-deny-ip = "*.*.*.*" box-allow-ip = "127.0.0.1;12.0.0.*" access-log = "/var/log/kannel/kannel-access.log" smsbox-max-pending = 1000 sms-resend-retry = 3 sms-resend-freq = 60 dlr-storage = internal sms-incoming-queue-limit = -1 sms-outgoing-queue-limit = -1 #--------------------------------------------- # SMSC CONNECTIONS group = smsc smsc = smpp smsc-id = smscon1 host = 196.144.159.119 port = 5016 smsc-username = "con1" smsc-password = con1 system-type = "" transceiver-mode = yes address-range = "" source-addr-ton = 1 source-addr-npi = 1 dest-addr-ton = 1 dest-addr-npi = 1 my-number = 555 group = smsc smsc = smpp smsc-id = smscon2 host = 10.111.141.180 port = 5005 smsc-username = "con2" smsc-password = con2 system-type = "" transceiver-mode = yes address-range = "" source-addr-ton = 5 source-addr-npi = 0 dest-addr-ton = 1 dest-addr-npi = 1 my-number = 5858 #--------------------------------------------- # SMSBOX SETUP group = smsbox bearerbox-host = 127.0.0.1 sendsms-port = 13013 log-file = "/var/log/kannel/smsbox.log" log-level = 0 access-log = "/var/log/kannel/smsbox-access.log" #--------------------------------------------- # SEND-SMS USERS group = sendsms-user username = llsend password = llsend forced-smsc = smscon1 group = sendsms-user username = ksend password = ksend forced-smsc = smscon2 #--------------------------------------------- # SERVICES group = sms-service keyword = default catch-all = yes get-url = "http://www.example.com/index.php?mobilenumber=%p&message=%a&receivedon=%t" Regards, Hemant.
