Does Kannel support mula accounts and windowing
Hi I'm using Accion SMSC 5.4 SMPP account to connect with my kannel server. In SMPP account I sow there are some parameters bellow. MULTIPLE_ADDRESSES : YES INPUT_WINDOW : 10 OUTPUT_WINDOW : 10 LEVEL_THROUGHPUT : 80 INTERVAL_THROUGHPUT : 1 MAXSESSIONS : 10 could anyone pls let me know how can i configure same with kannel? -- ~Shamera~
Receiving auto reply Request Failed when submit sms to kannel
Hi, I'm trying to send and receive sms from my huawei modem (E1756C). Sending part got success. But in receiving sms to kannel having some issue. When I send sms to kannel, system sending auto reply sms Request Failed. But I have not configured any auto reply on my configuration. I have put the error log and the configuration. Pls help. 2014-03-23 22:38:42 [16154] [6] DEBUG: AT2[Huawei]: -- ^RSSI:11 2014-03-23 22:38:45 [16154] [6] DEBUG: AT2[Huawei]: -- ^RSSI:11 2014-03-23 22:38:48 [16154] [6] DEBUG: AT2[Huawei]: -- ^RSSI:11 2014-03-23 22:38:51 [16154] [6] DEBUG: AT2[Huawei]: -- +CMT: ,21 2014-03-23 22:38:51 [16154] [6] DEBUG: AT2[Huawei]: -- 069149570010F0240B914957100930F04130322203412202CD3C 2014-03-23 22:38:51 [16154] [6] DEBUG: AT2[Huawei]: received message from SMSC: +947500010 2014-03-23 22:38:51 [16154] [6] DEBUG: AT2[Huawei]: Numeric sender (international) +94750190030 2014-03-23 22:38:51 [16154] [6] DEBUG: AT2[Huawei]: User data length read as (2) 2014-03-23 22:38:51 [16154] [6] DEBUG: AT2[Huawei]: Udh decoding done len=2 udhi=0 udhlen=0 udh='' 2014-03-23 22:38:51 [16154] [9] DEBUG: send_msg: sending msg to boxc: smsbox 2014-03-23 22:38:51 [16154] [9] DEBUG: boxc_sender: sent message to 127.0.0.1 == smsbox.log == 2014-03-23 22:38:51 [16174] [4] WARNING: No translation found for My from +94750190030 to 94777448132 2014-03-23 22:38:51 [16174] [4] ERROR: request failed 2014-03-23 22:38:51 [16174] [4] DEBUG: message length 14, sending 1 messages == kannel.log == 2014-03-23 22:38:51 [16154] [8] DEBUG: boxc_receiver: sms received 2014-03-23 22:38:51 [16154] [8] DEBUG: send_msg: sending msg to boxc: smsbox == smsbox.log == 2014-03-23 22:38:51 [16174] [0] DEBUG: Got ACK (0) of a0f4be9c-50a0-48b7-a5d9-13afdc55f05c 2014-03-23 22:38:51 [16174] [0] DEBUG: No client - multi-send or ACK to pull-reply == kannel.log == 2014-03-23 22:38:51 [16154] [8] DEBUG: boxc_receiver: got ack 2014-03-23 22:38:52 [16154] [6] DEBUG: AT2[Huawei]: TP-Validity-Period: 24.0 hours 2014-03-23 22:38:52 [16154] [6] DEBUG: AT2[Huawei]: -- AT+CMGS=27^M 2014-03-23 22:38:52 [16154] [6] DEBUG: AT2[Huawei]: -- 2014-03-23 22:38:52 [16154] [6] DEBUG: AT2[Huawei]: send command status: 1 2014-03-23 22:38:52 [16154] [6] DEBUG: AT2[Huawei]: -- 0011000B914957100930F0A70ED272BC5E9ED341C6709A5D2603 2014-03-23 22:38:52 [16154] [6] DEBUG: AT2[Huawei]: -- ^Z 2014-03-23 22:38:52 [16154] [6] DEBUG: AT2[Huawei]: -- 2014-03-23 22:38:54 [16154] [6] DEBUG: AT2[Huawei]: -- ^RSSI:8 2014-03-23 22:38:55 [16154] [6] DEBUG: AT2[Huawei]: -- +CMGS: 45 2014-03-23 22:38:55 [16154] [6] DEBUG: AT2[Huawei]: -- OK 2014-03-23 22:38:55 [16154] [6] DEBUG: AT2[Huawei]: send command status: 0 2014-03-23 22:39:00 [16154] [6] DEBUG: AT2[Huawei]: -- ^RSSI:12 2014-03-23 22:39:03 [16154] [6] DEBUG: AT2[Huawei]: -- ^RSSI:12 2014-03-23 22:39:06 [16154] [6] DEBUG: AT2[Huawei]: -- ^RSSI:12 2014-03-23 22:39:09 [16154] [6] DEBUG: AT2[Huawei]: -- ^RSSI:12 2014-03-23 22:39:18 [16154] [6] DEBUG: AT2[Huawei]: -- ^RSSI:12 2014-03-23 22:39:21 [16154] [6] DEBUG: AT2[Huawei]: -- ^RSSI:12 2014-03-23 22:39:24 [16154] [6] DEBUG: AT2[Huawei]: -- ^RSSI:12 *Configuration* group = smsc smsc = at connect-allow-ip = 127.0.0.1 port = 13013 host = localhost smsc-id = Huawei modemtype = Huawei device = /dev/ttyUSB0 speed = 9600 log-level = 0 #my-number = [TheTelephoneNumberOnTheSIM] my-number = 94777448132 pin = [ThePINofTheSIM] group = modems id = huawei name = huawei detect-string = huawei init-string = AT+CNMI=1,2,0,2,0;+CMEE=1 bearerbox-host = 127.0.0.1 sendsms-port = 13013 global-sender = 13013 log-file = /var/log/smsbox.log log-level = 0 smsbox-id = smsbox #- # SEND-SMS USERS # # These users are used when Kannel smsbox sendsms interface is used to # send PUSH sms messages, i.e. calling URL like # http://kannel.machine:13013/cgi-bin/sendsms?username=testerpassword=foobar ... group = sendsms-user username = tester password = foobar concatenation = true max-messages = 50 #- # RECEIVE-SMS group = sms-service keyword = default catch-all = yes max-messages = 0 get-url = http://127.0.0.1/kannel/receive_mo.php?sender=%preceiver=%Pmsgdata=%a; accepted-smsc = at group = smsbox-route smsbox-id = smsbox shortcode = 94777448132 smsc-id = Huawei -- ~Shamera~
Re: Receiving auto reply Request Failed when submit sms to kannel
Thanks., That I have already did. Actually issue sorted out now. What I did, comment the accepted-smsc in sms-service and shortcode in shortcode group and restart the application. This works for me. On Mon, Mar 24, 2014 at 12:12 AM, GMail mohammedsl...@gmail.com wrote: Set max messages to zero RTFM *From: *Shamera Thushan Ranathunga *Sent: *Sunday, March 23, 2014 20:18 *To: *users@kannel.org *Subject: *Receiving auto reply Request Failed when submit sms to kannel Hi, I'm trying to send and receive sms from my huawei modem (E1756C). Sending part got success. But in receiving sms to kannel having some issue. When I send sms to kannel, system sending auto reply sms Request Failed. But I have not configured any auto reply on my configuration. I have put the error log and the configuration. Pls help. 2014-03-23 22:38:42 [16154] [6] DEBUG: AT2[Huawei]: -- ^RSSI:11 2014-03-23 22:38:45 [16154] [6] DEBUG: AT2[Huawei]: -- ^RSSI:11 2014-03-23 22:38:48 [16154] [6] DEBUG: AT2[Huawei]: -- ^RSSI:11 2014-03-23 22:38:51 [16154] [6] DEBUG: AT2[Huawei]: -- +CMT: ,21 2014-03-23 22:38:51 [16154] [6] DEBUG: AT2[Huawei]: -- 069149570010F0240B914957100930F04130322203412202CD3C 2014-03-23 22:38:51 [16154] [6] DEBUG: AT2[Huawei]: received message from SMSC: +947500010 2014-03-23 22:38:51 [16154] [6] DEBUG: AT2[Huawei]: Numeric sender (international) +94750190030 2014-03-23 22:38:51 [16154] [6] DEBUG: AT2[Huawei]: User data length read as (2) 2014-03-23 22:38:51 [16154] [6] DEBUG: AT2[Huawei]: Udh decoding done len=2 udhi=0 udhlen=0 udh='' 2014-03-23 22:38:51 [16154] [9] DEBUG: send_msg: sending msg to boxc: smsbox 2014-03-23 22:38:51 [16154] [9] DEBUG: boxc_sender: sent message to 127.0.0.1 == smsbox.log == 2014-03-23 22:38:51 [16174] [4] WARNING: No translation found for My from +94750190030 to 94777448132 2014-03-23 22:38:51 [16174] [4] ERROR: request failed 2014-03-23 22:38:51 [16174] [4] DEBUG: message length 14, sending 1 messages == kannel.log == 2014-03-23 22:38:51 [16154] [8] DEBUG: boxc_receiver: sms received 2014-03-23 22:38:51 [16154] [8] DEBUG: send_msg: sending msg to boxc: smsbox == smsbox.log == 2014-03-23 22:38:51 [16174] [0] DEBUG: Got ACK (0) of a0f4be9c-50a0-48b7-a5d9-13afdc55f05c 2014-03-23 22:38:51 [16174] [0] DEBUG: No client - multi-send or ACK to pull-reply == kannel.log == 2014-03-23 22:38:51 [16154] [8] DEBUG: boxc_receiver: got ack 2014-03-23 22:38:52 [16154] [6] DEBUG: AT2[Huawei]: TP-Validity-Period: 24.0 hours 2014-03-23 22:38:52 [16154] [6] DEBUG: AT2[Huawei]: -- AT+CMGS=27^M 2014-03-23 22:38:52 [16154] [6] DEBUG: AT2[Huawei]: -- 2014-03-23 22:38:52 [16154] [6] DEBUG: AT2[Huawei]: send command status: 1 2014-03-23 22:38:52 [16154] [6] DEBUG: AT2[Huawei]: -- 0011000B914957100930F0A70ED272BC5E9ED341C6709A5D2603 2014-03-23 22:38:52 [16154] [6] DEBUG: AT2[Huawei]: -- ^Z 2014-03-23 22:38:52 [16154] [6] DEBUG: AT2[Huawei]: -- 2014-03-23 22:38:54 [16154] [6] DEBUG: AT2[Huawei]: -- ^RSSI:8 2014-03-23 22:38:55 [16154] [6] DEBUG: AT2[Huawei]: -- +CMGS: 45 2014-03-23 22:38:55 [16154] [6] DEBUG: AT2[Huawei]: -- OK 2014-03-23 22:38:55 [16154] [6] DEBUG: AT2[Huawei]: send command status: 0 2014-03-23 22:39:00 [16154] [6] DEBUG: AT2[Huawei]: -- ^RSSI:12 2014-03-23 22:39:03 [16154] [6] DEBUG: AT2[Huawei]: -- ^RSSI:12 2014-03-23 22:39:06 [16154] [6] DEBUG: AT2[Huawei]: -- ^RSSI:12 2014-03-23 22:39:09 [16154] [6] DEBUG: AT2[Huawei]: -- ^RSSI:12 2014-03-23 22:39:18 [16154] [6] DEBUG: AT2[Huawei]: -- ^RSSI:12 2014-03-23 22:39:21 [16154] [6] DEBUG: AT2[Huawei]: -- ^RSSI:12 2014-03-23 22:39:24 [16154] [6] DEBUG: AT2[Huawei]: -- ^RSSI:12 *Configuration* group = smsc smsc = at connect-allow-ip = 127.0.0.1 port = 13013 host = localhost smsc-id = Huawei modemtype = Huawei device = /dev/ttyUSB0 speed = 9600 log-level = 0 #my-number = [TheTelephoneNumberOnTheSIM] my-number = 94777448132 pin = [ThePINofTheSIM] group = modems id = huawei name = huawei detect-string = huawei init-string = AT+CNMI=1,2,0,2,0;+CMEE=1 bearerbox-host = 127.0.0.1 sendsms-port = 13013 global-sender = 13013 log-file = /var/log/smsbox.log log-level = 0 smsbox-id = smsbox #- # SEND-SMS USERS # # These users are used when Kannel smsbox sendsms interface is used to # send PUSH sms messages, i.e. calling URL like # http://kannel.machine:13013/cgi-bin/sendsms?username=testerpassword=foobar ... group = sendsms-user username = tester password = foobar concatenation = true max-messages = 50 #- # RECEIVE-SMS group = sms-service keyword = default catch-all = yes max-messages = 0 get-url = http://127.0.0.1/kannel/receive_mo.php?sender=%preceiver=%Pmsgdata=%a; accepted-smsc = at group = smsbox-route smsbox-id = smsbox