Set max messages to zero RTFM
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]: <-- 069149570010F0240B914957100930F000004130322203412202CD3C 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]: --> 0011000B914957100930F00000A70ED272BC5E9ED341C6709A5D2603 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=tester&password=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=%25p&receiver=%25P&msgdata=%25a">http://127.0.0.1/kannel/receive_mo.php?sender=%p&receiver=%P&msgdata=%a" accepted-smsc = at
group = smsbox-route smsbox-id = smsbox shortcode = "94777448132" smsc-id = Huawei -- ~Shamera~ |
- Receiving auto reply "Request Failed"... Shamera Thushan Ranathunga
- Re: Receiving auto reply "Request Fai... GMail
- Re: Receiving auto reply "Request... Shamera Thushan Ranathunga