Hi, The:
re-queing SMS not-yet-to-be resent is pretty much harmless. It just means that the sms-router wakes up every 30" to look for new sms to send, however your default sms-resend-freq is set at 60". Therefore "not-yet-to-be-resent". You can adjust this by configuring in core group: sms-resend-freq = <seconds> CMS ERROR 500 is a general modem error. It can mean several things: 1) Wireless connection is down. You don't have connection to your smsc. Can you use the modem to send/receive sms outside kannel (i.e. a mobile)? 2) Your modem cannot read your provider from your SIM card. Check (1). 3) It can also mean that you try to send an SMS to an invalid phone number. Is this an sms push? What is your send URL? 4) No space left in SIM for buffering. Maybe you need to try sim-buffering in your smsc configuration. Check user guide. BR, Nikos ----- Original Message ----- From: denis bahati To: [email protected] Sent: Thursday, August 06, 2009 11:34 PM Subject: Problem with HUAWEI e220 Am getting the following error when i run kannel and send sms ANY IDEA? tail -f /tmp/bearerbox.log 2009-08-06 23:05:32 [4571] [6] DEBUG: AT2[/dev/ttyUSB1]: <-- +CPIN: READY 2009-08-06 23:05:32 [4571] [6] DEBUG: AT2[/dev/ttyUSB1]: <-- OK 2009-08-06 23:05:32 [4571] [6] DEBUG: AT2[/dev/ttyUSB1]: --> AT+CMGF=0^M 2009-08-06 23:05:32 [4571] [6] DEBUG: AT2[/dev/ttyUSB1]: <-- OK 2009-08-06 23:05:32 [4571] [6] DEBUG: AT2[/dev/ttyUSB1]: --> AT+CSMS=?^M 2009-08-06 23:05:32 [4571] [6] DEBUG: AT2[/dev/ttyUSB1]: <-- +CSMS: (0-1) 2009-08-06 23:05:32 [4571] [6] DEBUG: AT2[/dev/ttyUSB1]: <-- OK 2009-08-06 23:05:32 [4571] [6] DEBUG: AT2[/dev/ttyUSB1]: --> ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0^M 2009-08-06 23:05:33 [4571] [6] DEBUG: AT2[/dev/ttyUSB1]: <-- OK 2009-08-06 23:05:33 [4571] [6] INFO: AT2[/dev/ttyUSB1]: AT SMSC successfully opened. ^C r...@manyasi:/home/manyasi# tail -f /tmp/bearerbox.log 2009-08-06 23:07:23 [4571] [7] DEBUG: re-queing SMS not-yet-to-be resent 2009-08-06 23:07:23 [4571] [7] DEBUG: sms_router: handling message (0x97d90e0 vs 0x97d90e0) 2009-08-06 23:07:23 [4571] [7] DEBUG: re-queing SMS not-yet-to-be resent 2009-08-06 23:07:23 [4571] [7] DEBUG: sms_router: time to sleep 30.00 secs. 2009-08-06 23:07:23 [4571] [7] DEBUG: sms_router: gwlist_len = 1 2009-08-06 23:07:23 [4571] [7] DEBUG: sms_router: handling message (0x97d90e0 vs 0x97d90e0) 2009-08-06 23:07:23 [4571] [7] DEBUG: re-queing SMS not-yet-to-be resent 2009-08-06 23:07:23 [4571] [7] DEBUG: sms_router: handling message (0x97d90e0 vs 0x97d90e0) 2009-08-06 23:07:23 [4571] [7] DEBUG: re-queing SMS not-yet-to-be resent 2009-08-06 23:07:23 [4571] [7] DEBUG: sms_router: time to sleep 30.00 secs. 2009-08-06 23:07:53 [4571] [7] DEBUG: sms_router: gwlist_len = 1 2009-08-06 23:07:53 [4571] [7] DEBUG: sms_router: handling message (0x97d90e0 vs 0x97d90e0) 2009-08-06 23:07:53 [4571] [7] DEBUG: re-queing SMS not-yet-to-be resent 2009-08-06 23:07:53 [4571] [7] DEBUG: sms_router: handling message (0x97d90e0 vs 0x97d90e0) 2009-08-06 23:07:53 [4571] [7] DEBUG: re-queing SMS not-yet-to-be resent 2009-08-06 23:07:53 [4571] [7] DEBUG: sms_router: time to sleep 30.00 secs. ^C r...@manyasi:/home/manyasi# tail -f /tmp/bearerbox.log 2009-08-06 23:10:59 [4571] [6] DEBUG: AT2[/dev/ttyUSB1]: --> AT+CMGS=19^M 2009-08-06 23:10:59 [4571] [6] DEBUG: AT2[/dev/ttyUSB1]: <-- AT+CMGS=19> 2009-08-06 23:10:59 [4571] [6] DEBUG: AT2[/dev/ttyUSB1]: send command status: 1 2009-08-06 23:10:59 [4571] [6] DEBUG: AT2[/dev/ttyUSB1]: --> 0011000C815275318462170000A705ED705BFC06 2009-08-06 23:10:59 [4571] [6] DEBUG: AT2[/dev/ttyUSB1]: --> ^Z 2009-08-06 23:10:59 [4571] [6] DEBUG: AT2[/dev/ttyUSB1]: <-- > 0011000C815275318462170000A705ED705BFC06 2009-08-06 23:11:01 [4571] [6] DEBUG: AT2[/dev/ttyUSB1]: <-- +CMS ERROR: 500 2009-08-06 23:11:01 [4571] [6] ERROR: AT2[/dev/ttyUSB1]: CMS ERROR: +CMS ERROR: 500 2009-08-06 23:11:01 [4571] [6] ERROR: AT2[/dev/ttyUSB1]: CMS ERROR: Unknown error. -> maybe Sim storage is full? I'll have a look at it. (500) 2009-08-06 23:11:01 [4571] [6] DEBUG: AT2[/dev/ttyUSB1]: send command status: 1 2009-08-06 23:11:27 [4571] [7] DEBUG: sms_router: gwlist_len = 2 2009-08-06 23:11:27 [4571] [7] DEBUG: sms_router: handling message (0x97d9318 vs 0x97d9318) 2009-08-06 23:11:27 [4571] [7] DEBUG: Message routed successfully. 2009-08-06 23:11:27 [4571] [7] DEBUG: sms_router: handling message (0x97cdda0 vs 0x97cdda0) 2009-08-06 23:11:27 [4571] [7] DEBUG: re-queing SMS not-yet-to-be resent 2009-08-06 23:11:27 [4571] [7] DEBUG: sms_router: handling message (0x97cdda0 vs 0x97cdda0) 2009-08-06 23:11:27 [4571] [7] DEBUG: re-queing SMS not-yet-to-be resent 2009-08-06 23:11:27 [4571] [7] DEBUG: sms_router: time to sleep 30.00 secs. 2009-08-06 23:11:29 [4571] [6] DEBUG: AT2[/dev/ttyUSB1]: TP-Validity-Period: 24.0 hours 2009-08-06 23:11:29 [4571] [6] DEBUG: AT2[/dev/ttyUSB1]: --> AT+CMGS=19^M 2009-08-06 23:11:29 [4571] [6] DEBUG: AT2[/dev/ttyUSB1]: <-- AT+CMGS=19> 2009-08-06 23:11:29 [4571] [6] DEBUG: AT2[/dev/ttyUSB1]: send command status: 1 2009-08-06 23:11:29 [4571] [6] DEBUG: AT2[/dev/ttyUSB1]: --> 0011000C815275318462170000A705ED705BFC06 2009-08-06 23:11:29 [4571] [6] DEBUG: AT2[/dev/ttyUSB1]: --> ^Z 2009-08-06 23:11:29 [4571] [6] DEBUG: AT2[/dev/ttyUSB1]: <-- > 0011000C815275318462170000A705ED705BFC06 2009-08-06 23:11:31 [4571] [6] DEBUG: AT2[/dev/ttyUSB1]: <-- +CMS ERROR: 500 2009-08-06 23:11:31 [4571] [6] ERROR: AT2[/dev/ttyUSB1]: CMS ERROR: +CMS ERROR: 500 2009-08-06 23:11:31 [4571] [6] ERROR: AT2[/dev/ttyUSB1]: CMS ERROR: Unknown error. -> maybe Sim storage is full? I'll have a look at it. (500) 2009-08-06 23:11:31 [4571] [6] DEBUG: AT2[/dev/ttyUSB1]: send command status: 1 ^C r...@manyasi:/home/manyasi# tail -f /tmp/bearerbox.log 2009-08-06 23:16:01 [4571] [6] ERROR: AT2[/dev/ttyUSB1]: CMS ERROR: Unknown error. -> maybe Sim storage is full? I'll have a look at it. (500) 2009-08-06 23:16:01 [4571] [6] DEBUG: AT2[/dev/ttyUSB1]: send command status: 1 2009-08-06 23:16:10 [4571] [2] DEBUG: HTTP: Creating HTTPClient for `127.0.0.1'. 2009-08-06 23:16:10 [4571] [2] DEBUG: HTTP: Created HTTPClient area 0x97cdda0. 2009-08-06 23:16:10 [4571] [3] DEBUG: HTTP: Destroying HTTPClient area 0x97cdda0. 2009-08-06 23:16:10 [4571] [3] DEBUG: HTTP: Destroying HTTPClient for `127.0.0.1'. 2009-08-06 23:16:20 [4571] [2] DEBUG: HTTP: Creating HTTPClient for `127.0.0.1'. 2009-08-06 23:16:20 [4571] [2] DEBUG: HTTP: Created HTTPClient area 0x97cdda0. 2009-08-06 23:16:20 [4571] [3] DEBUG: HTTP: Destroying HTTPClient area 0x97cdda0. 2009-08-06 23:16:20 [4571] [3] DEBUG: HTTP: Destroying HTTPClient for `127.0.0.1'. 2009-08-06 23:16:27 [4571] [7] DEBUG: sms_router: gwlist_len = 2 2009-08-06 23:16:27 [4571] [7] DEBUG: sms_router: handling message (0x97d9318 vs 0x97d9318) 2009-08-06 23:16:27 [4571] [7] DEBUG: re-queing SMS not-yet-to-be resent 2009-08-06 23:16:27 [4571] [7] DEBUG: sms_router: handling message (0x97d91c0 vs 0x97d9318) 2009-08-06 23:16:27 [4571] [7] DEBUG: re-queing SMS not-yet-to-be resent 2009-08-06 23:16:27 [4571] [7] DEBUG: sms_router: handling message (0x97d9318 vs 0x97d9318) 2009-08-06 23:16:27 [4571] [7] DEBUG: re-queing SMS not-yet-to-be resent 2009-08-06 23:16:27 [4571] [7] DEBUG: sms_router: time to sleep 30.00 secs. 2009-08-06 23:16:57 [4571] [7] DEBUG: sms_router: gwlist_len = 2 2009-08-06 23:16:57 [4571] [7] DEBUG: sms_router: handling message (0x97d91c0 vs 0x97d91c0) 2009-08-06 23:16:57 [4571] [7] DEBUG: re-queing SMS not-yet-to-be resent 2009-08-06 23:16:57 [4571] [7] DEBUG: sms_router: handling message (0x97d9318 vs 0x97d91c0) 2009-08-06 23:16:57 [4571] [7] DEBUG: Message routed successfully. 2009-08-06 23:16:57 [4571] [7] DEBUG: sms_router: handling message (0x97d91c0 vs 0x97d91c0) 2009-08-06 23:16:57 [4571] [7] DEBUG: re-queing SMS not-yet-to-be resent 2009-08-06 23:16:57 [4571] [7] DEBUG: sms_router: handling message (0x97d91c0 vs 0x97d91c0) 2009-08-06 23:16:57 [4571] [7] DEBUG: re-queing SMS not-yet-to-be resent 2009-08-06 23:16:57 [4571] [7] DEBUG: sms_router: time to sleep 30.00 secs. 2009-08-06 23:16:59 [4571] [6] DEBUG: AT2[/dev/ttyUSB1]: TP-Validity-Period: 24.0 hours 2009-08-06 23:16:59 [4571] [6] DEBUG: AT2[/dev/ttyUSB1]: --> AT+CMGS=19^M 2009-08-06 23:16:59 [4571] [6] DEBUG: AT2[/dev/ttyUSB1]: <-- AT+CMGS=19> 2009-08-06 23:16:59 [4571] [6] DEBUG: AT2[/dev/ttyUSB1]: send command status: 1 2009-08-06 23:16:59 [4571] [6] DEBUG: AT2[/dev/ttyUSB1]: --> 0011000C815275318462170000A705ED705BFC06 2009-08-06 23:16:59 [4571] [6] DEBUG: AT2[/dev/ttyUSB1]: --> ^Z 2009-08-06 23:16:59 [4571] [6] DEBUG: AT2[/dev/ttyUSB1]: <-- > 0011000C815275318462170000A705ED705BFC06 2009-08-06 23:17:01 [4571] [6] DEBUG: AT2[/dev/ttyUSB1]: <-- +CMS ERROR: 500 2009-08-06 23:17:01 [4571] [6] ERROR: AT2[/dev/ttyUSB1]: CMS ERROR: +CMS ERROR: 500 2009-08-06 23:17:01 [4571] [6] ERROR: AT2[/dev/ttyUSB1]: CMS ERROR: Unknown error. -> maybe Sim storage is full? I'll have a look at it. (500) 2009-08-06 23:17:01 [4571] [6] DEBUG: AT2[/dev/ttyUSB1]: send command status: 1 2009-08-06 23:17:27 [4571] [7] DEBUG: sms_router: gwlist_len = 2 2009-08-06 23:17:27 [4571] [7] DEBUG: sms_router: handling message (0x97d91c0 vs 0x97d91c0) 2009-08-06 23:17:27 [4571] [7] DEBUG: Message routed successfully. 2009-08-06 23:17:27 [4571] [7] DEBUG: sms_router: handling message (0x97ce1f8 vs 0x97ce1f8) 2009-08-06 23:17:27 [4571] [7] DEBUG: re-queing SMS not-yet-to-be resent 2009-08-06 23:17:27 [4571] [7] DEBUG: sms_router: handling message (0x97ce1f8 vs 0x97ce1f8) 2009-08-06 23:17:27 [4571] [7] DEBUG: re-queing SMS not-yet-to-be resent 2009-08-06 23:17:27 [4571] [7] DEBUG: sms_router: time to sleep 30.00 secs. 2009-08-06 23:17:29 [4571] [6] DEBUG: AT2[/dev/ttyUSB1]: TP-Validity-Period: 24.0 hours 2009-08-06 23:17:29 [4571] [6] DEBUG: AT2[/dev/ttyUSB1]: --> AT+CMGS=19^M 2009-08-06 23:17:29 [4571] [6] DEBUG: AT2[/dev/ttyUSB1]: <-- AT+CMGS=19 2009-08-06 23:17:29 [4571] [6] DEBUG: AT2[/dev/ttyUSB1]: <-- > 2009-08-06 23:17:29 [4571] [6] DEBUG: AT2[/dev/ttyUSB1]: send command status: 1 2009-08-06 23:17:29 [4571] [6] DEBUG: AT2[/dev/ttyUSB1]: --> 0011000C815275318462170000A705ED705BFC06 2009-08-06 23:17:29 [4571] [6] DEBUG: AT2[/dev/ttyUSB1]: --> ^Z 2009-08-06 23:17:29 [4571] [6] DEBUG: AT2[/dev/ttyUSB1]: <-- > 0011000C815275318462170000A705ED705BFC06 2009-08-06 23:17:31 [4571] [6] DEBUG: AT2[/dev/ttyUSB1]: <-- +CMS ERROR: 500 2009-08-06 23:17:31 [4571] [6] ERROR: AT2[/dev/ttyUSB1]: CMS ERROR: +CMS ERROR: 500 2009-08-06 23:17:31 [4571] [6] ERROR: AT2[/dev/ttyUSB1]: CMS ERROR: Unknown error. -> maybe Sim storage is full? I'll have a look at it. (500) 2009-08-06 23:17:31 [4571] [6] DEBUG: AT2[/dev/ttyUSB1]: send command status: 1 2009-08-06 23:17:57 [4571] [7] DEBUG: sms_router: gwlist_len = 2 2009-08-06 23:17:57 [4571] [7] DEBUG: sms_router: handling message (0x97ce1f8 vs 0x97ce1f8) 2009-08-06 23:17:57 [4571] [7] DEBUG: re-queing SMS not-yet-to-be resent 2009-08-06 23:17:57 [4571] [7] DEBUG: sms_router: handling message (0x97d9318 vs 0x97ce1f8) 2009-08-06 23:17:57 [4571] [7] DEBUG: re-queing SMS not-yet-to-be resent 2009-08-06 23:17:57 [4571] [7] DEBUG: sms_router: handling message (0x97ce1f8 vs 0x97ce1f8) 2009-08-06 23:17:57 [4571] [7] DEBUG: re-queing SMS not-yet-to-be resent 2009-08-06 23:17:57 [4571] [7] DEBUG: sms_router: time to sleep 30.00 secs. 2009-08-06 23:18:27 [4571] [7] DEBUG: sms_router: gwlist_len = 2 2009-08-06 23:18:27 [4571] [7] DEBUG: sms_router: handling message (0x97d9318 vs 0x97d9318) 2009-08-06 23:18:27 [4571] [7] DEBUG: re-queing SMS not-yet-to-be resent 2009-08-06 23:18:27 [4571] [7] DEBUG: sms_router: handling message (0x97ce1f8 vs 0x97d9318) 2009-08-06 23:18:27 [4571] [7] DEBUG: Message routed successfully. 2009-08-06 23:18:27 [4571] [7] DEBUG: sms_router: handling message (0x97d9318 vs 0x97d9318) 2009-08-06 23:18:27 [4571] [7] DEBUG: re-queing SMS not-yet-to-be resent 2009-08-06 23:18:27 [4571] [7] DEBUG: sms_router: handling message (0x97d9318 vs 0x97d9318) 2009-08-06 23:18:27 [4571] [7] DEBUG: re-queing SMS not-yet-to-be resent 2009-08-06 23:18:27 [4571] [7] DEBUG: sms_router: time to sleep 30.00 secs. 2009-08-06 23:18:29 [4571] [6] DEBUG: AT2[/dev/ttyUSB1]: TP-Validity-Period: 24.0 hours 2009-08-06 23:18:29 [4571] [6] DEBUG: AT2[/dev/ttyUSB1]: --> AT+CMGS=19^M 2009-08-06 23:18:29 [4571] [6] DEBUG: AT2[/dev/ttyUSB1]: <-- AT+CMGS=19> 2009-08-06 23:18:29 [4571] [6] DEBUG: AT2[/dev/ttyUSB1]: send command status: 1 2009-08-06 23:18:29 [4571] [6] DEBUG: AT2[/dev/ttyUSB1]: --> 0011000C815275318462170000A705ED705BFC06 2009-08-06 23:18:29 [4571] [6] DEBUG: AT2[/dev/ttyUSB1]: --> ^Z 2009-08-06 23:18:29 [4571] [6] DEBUG: AT2[/dev/ttyUSB1]: <-- > 0011000C815275318462170000A705ED705BFC06 2009-08-06 23:18:31 [4571] [6] DEBUG: AT2[/dev/ttyUSB1]: <-- +CMS ERROR: 500 2009-08-06 23:18:31 [4571] [6] ERROR: AT2[/dev/ttyUSB1]: CMS ERROR: +CMS ERROR: 500 2009-08-06 23:18:31 [4571] [6] ERROR: AT2[/dev/ttyUSB1]: CMS ERROR: Unknown error. -> maybe Sim storage is full? I'll have a look at it. (500) 2009-08-06 23:18:31 [4571] [6] DEBUG: AT2[/dev/ttyUSB1]: send command status: 1 2009-08-06 23:18:46 [4571] [2] DEBUG: HTTP: Creating HTTPClient for `127.0.0.1'. 2009-08-06 23:18:46 [4571] [2] DEBUG: HTTP: Created HTTPClient area 0x97d3280. 2009-08-06 23:18:46 [4571] [3] DEBUG: HTTP: Destroying HTTPClient area 0x97d3280. 2009-08-06 23:18:46 [4571] [3] DEBUG: HTTP: Destroying HTTPClient for `127.0.0.1'. 2009-08-06 23:18:57 [4571] [7] DEBUG: sms_router: gwlist_len = 2 2009-08-06 23:18:57 [4571] [7] DEBUG: sms_router: handling message (0x97d9318 vs 0x97d9318) 2009-08-06 23:18:57 [4571] [7] DEBUG: Message routed successfully. 2009-08-06 23:18:57 [4571] [7] DEBUG: sms_router: handling message (0x97d91c0 vs 0x97d91c0) 2009-08-06 23:18:57 [4571] [7] DEBUG: re-queing SMS not-yet-to-be resent 2009-08-06 23:18:57 [4571] [7] DEBUG: sms_router: handling message (0x97d91c0 vs 0x97d91c0) 2009-08-06 23:18:57 [4571] [7] DEBUG: re-queing SMS not-yet-to-be resent 2009-08-06 23:18:57 [4571] [7] DEBUG: sms_router: time to sleep 30.00 secs. 2009-08-06 23:18:59 [4571] [6] DEBUG: AT2[/dev/ttyUSB1]: TP-Validity-Period: 24.0 hours 2009-08-06 23:18:59 [4571] [6] DEBUG: AT2[/dev/ttyUSB1]: --> AT+CMGS=19^M 2009-08-06 23:18:59 [4571] [6] DEBUG: AT2[/dev/ttyUSB1]: <-- AT+CMGS=19> 2009-08-06 23:18:59 [4571] [6] DEBUG: AT2[/dev/ttyUSB1]: send command status: 1 2009-08-06 23:18:59 [4571] [6] DEBUG: AT2[/dev/ttyUSB1]: --> 0011000C815275318462170000A705ED705BFC06 2009-08-06 23:18:59 [4571] [6] DEBUG: AT2[/dev/ttyUSB1]: --> ^Z 2009-08-06 23:18:59 [4571] [6] DEBUG: AT2[/dev/ttyUSB1]: <-- > 0011000C815275318462170000A705ED705BFC06 2009-08-06 23:19:01 [4571] [6] DEBUG: AT2[/dev/ttyUSB1]: <-- +CMS ERROR: 500 2009-08-06 23:19:01 [4571] [6] ERROR: AT2[/dev/ttyUSB1]: CMS ERROR: +CMS ERROR: 500 2009-08-06 23:19:01 [4571] [6] ERROR: AT2[/dev/ttyUSB1]: CMS ERROR: Unknown error. -> maybe Sim storage is full? I'll have a look at it. (500) 2009-08-06 23:19:01 [4571] [6] DEBUG: AT2[/dev/ttyUSB1]: send command status: 1
