Hi, Anyone experience this setup?
--- On Mon, 10/4/10, [email protected] <[email protected]> wrote: From: [email protected] <[email protected]> Subject: users Digest, Vol 50, Issue 11 To: [email protected] Date: Monday, October 4, 2010, 6:00 PM Send users mailing list submissions to [email protected] To subscribe or unsubscribe via the World Wide Web, visit http://www.kannel.org/mailman/listinfo/users or, via email, send a message with subject or body 'help' to [email protected] You can reach the person managing the list at [email protected] When replying, please edit your Subject line so it is more specific than "Re: Contents of users digest..." Today's Topics: 1. Multiple USB GSM Modem on kannel (dhyn lav) ---------------------------------------------------------------------- Message: 1 Date: Mon, 4 Oct 2010 02:34:02 -0700 (PDT) From: dhyn lav <[email protected]> To: [email protected] Subject: Multiple USB GSM Modem on kannel Message-ID: <[email protected]> Content-Type: text/plain; charset="us-ascii" Hi, My Setup are kannel-1.4.3-4.el5, 2pcs- Huawei E220 GSM Modem, PlaySMS, and Centos 5.4. My question are how to send and receive on two GSM Modem using only One sending interface and one receiving interface. Because when i send sms using playsms interface or using this "http://192.168.23.62:13131/cgi-bin/sendsms?username=admin&password=admin&to=09308566777&from=09278888888&text=test" it cannot deliver the sms if i connect the two modems. But if I connect only one modem on kannel. The sms message are successfully send. This is the error messages: 2010-10-04 17:31:23 [3276] [8] DEBUG: sms_router: handling message (0x938d220 vs 0x938d220) 2010-10-04 17:31:23 [3276] [8] DEBUG: re-queing SMS not-yet-to-be resent 2010-10-04 17:31:23 [3276] [8] DEBUG: sms_router: handling message (0x938d220 vs 0x938d220) 2010-10-04 17:31:23 [3276] [8] DEBUG: re-queing SMS not-yet-to-be resent 2010-10-04 17:31:23 [3276] [8] DEBUG: sms_router: time to sleep 30.00 secs. 2010-10-04 17:31:23 [3276] [8] DEBUG: sms_router: gwlist_len = 1 2010-10-04 17:31:23 [3276] [8] DEBUG: sms_router: handling message (0x938d220 vs 0x938d220) 2010-10-04 17:31:23 [3276] [8] DEBUG: re-queing SMS not-yet-to-be resent 2010-10-04 17:31:23 [3276] [8] DEBUG: sms_router: handling message (0x938d220 vs 0x938d220) 2010-10-04 17:31:23 [3276] [8] DEBUG: re-queing SMS not-yet-to-be resent 2010-10-04 17:31:23 [3276] [8] DEBUG: sms_router: time to sleep 30.00 secs. 2010-10-04 17:31:38 [3276] [9] DEBUG: Dumping 1 messages to store 2010-10-04 17:31:51 [3276] [6] DEBUG: AT2[huawei1]: <-- ^BOOT:94129081,0,2,0,6 2010-10-04 17:31:51 [3276] [7] DEBUG: AT2[huawei2]: <-- ^BOOT:43847481,0,0,0,6 2010-10-04 17:31:53 [3276] [8] DEBUG: sms_router: gwlist_len = 1 2010-10-04 17:31:53 [3276] [8] DEBUG: sms_router: handling message (0x938d220 vs 0x938d220) 2010-10-04 17:31:53 [3276] [8] DEBUG: re-queing SMS not-yet-to-be resent 2010-10-04 17:31:53 [3276] [8] DEBUG: sms_router: handling message (0x938d220 vs 0x938d220) 2010-10-04 17:31:53 [3276] [8] DEBUG: re-queing SMS not-yet-to-be resent 2010-10-04 17:31:53 [3276] [8] DEBUG: sms_router: time to sleep 30.00 secs. This is my config # CORE group = core admin-port = 13000 admin-password = admin status-password = admin log-file = "/var/log/kannel/kannel.log" log-level = 0 access-log = "/var/log/kannel/access.log" smsbox-port = 13001 store-file = "/var/log/kannel/kannel.store" # SMSBOX SETUP group = smsbox bearerbox-host = localhost sendsms-port = 13131 sendsms-chars = "0123456789+" log-file = "/var/log/kannel/smsbox.log" log-level = 0 access-log = "/var/log/kannel/access.log" #SMSC - SMART group = smsc smsc = at #port = 10000 smsc-id = smart denied-smsc-id = globe modemtype = huawei_e220_00 device = /dev/ttyUSB3 my-number = +639996795070 sms-center = +639180000101 connect-allow-ip = "127.0.0.1" preferred-prefix = "+63907,0907,+63908,0908,+63909,0909,+6310,0910,+63912,0912,+63918,0918,+63919,0919,+63920,0920,+63921,0921,+63928,0928,+63929,0929,+63930,0930,+63948,0948,+63938,0938,+63939,0939,+63989,0989,+63999,0999" unified-prefix = "+63907,0907;+63908,0908;+63909,0909;+63910,0910;+63912,0912;+63918,0918;+63919,0919;+63920,0920;+63921,0921;+63928,0928;+63929,0929;+63930,0930;+63948,0948;+63938,0938;+63939,0939;+63989,0989;+63999,0999" denied-prefix = "+63922,0922,+63923,0923,+63932,0932,+63933,0933,+63905,0905,+63906,0906,+63915,0915,+63916,0916,+63917,0917,+63926,0926,+63927,0927,+63935,0935,+63936,0936,+63937,0937" #SMSC - GLOBE group = smsc smsc = at #port = 10001 smsc-id = globe denied-smsc-id = smart modemtype = huawei_e220_00 device = /dev/ttyUSB1 my-number = +639278333610 sms-center = +639170000130 connect-allow-ip = "127.0.0.1" preferred-prefix = "+63905,0905,+63906,0906,+63915,0915,+63916,0916,+63917,0917,+63926,0926,+63927,0927,+63935,0935,+63936,0936,+63937,0937" unified-prefix = "+63905,0905;+63906,0906;+63915,0915;+63916,0916;+63917,0917;+63926,0926;+63927,0927;+63935,0935;+63936,0936;+63937,0937" denied-prefix = "+63922,0922;+63923,0923;+63932,0932;+63933,0933,+63907,0907,+63908,0908,+63909,0909,+6310,0910,+63912,0912,+63918,0918,+63919,0919,+63920,0920,+63921,0921,+63928,0928,+63929,0929,+63930,0930,+63948,0948,+63938,0938,+63939,0939,+63989,0989,+63999,0999" #MODEMS group = modems id = huawei_e220_00 name = "Huawei E220" detect-string = "huawei" init-string = "AT+CNMI=2,1,2,2,0" message-storage = sm speed = 460800 # SEND-SMS USERS group = sendsms-user username = admin password = admin concatenation = true max-messages = 4 # SMS SERVICE 'Default' group = sms-service keyword = default catch-all = true max-messages = 0 assume-plain-text = true get-url = "http://localhost/playsms/plugin/gateway/kannel/geturl.php?t=%t&q=%q&a=%a" Thanks for advice. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://www.kannel.org/pipermail/users/attachments/20101004/ec892eef/attachment-0001.html> ------------------------------ _______________________________________________ users mailing list [email protected] http://www.kannel.org/mailman/listinfo/users End of users Digest, Vol 50, Issue 11 *************************************
