Hello list-members, I've been trying to send and receive SMS messages using Kannel and a Nokia 5070 mobile phone connected to a Linux box as a modem. I run the bearer-box and the sms-box with the following configuration,
include = "modems.conf" group = core admin-port = 14000 smsbox-port = 14001 admin-password = xxx box-deny-ip = "*.*.*.*" box-allow-ip = "127.0.0.1" group = smsc smsc = at modemtype = auto device = /dev/ttyACM0 my-number = +6512345678 log-level = 0 connect-allow-ip = 127.0.0.1 group = smsbox bearerbox-host = 127.0.0.1 sendsms-port = 13013 global-sender = +6512345678 log-level = 0 group = sendsms-user username = tester password = 000000 concatenation = true max-messages = 10 group = sms-service keyword = keyword-regex = .* catch-all = yes max-messages = 0 get-url = "http://xyz.com/site.pl?hp=%p&txt=%a" Am able to receive messages from outside which get routed to the get-url specified in the conf file, but when I send a message (http://server:13013/cgi-bin/sendsms?username=tester&password=000000&to= +6523467200&text=Reply) to the outside world, I face the following issues, 2008-04-29 20:02:12 [7547] [8] DEBUG: boxc_receiver: sms received 2008-04-29 20:02:12 [7547] [8] DEBUG: send_msg: sending msg to box: <127.0.0.1> 2008-04-29 20:02:14 [7547] [6] DEBUG: AT2[/dev/ttyACM0]: TP-Validity-Period: 24.0 hours 2008-04-29 20:02:14 [7547] [6] DEBUG: AT2[/dev/ttyACM0]: --> AT+CMGS=18^M 2008-04-29 20:02:14 [7547] [6] DEBUG: AT2[/dev/ttyACM0]: <-- > 2008-04-29 20:02:14 [7547] [6] DEBUG: AT2[/dev/ttyACM0]: send command status: 1 2008-04-29 20:02:14 [7547] [6] DEBUG: AT2[/dev/ttyACM0]: --> 0011000A8156293355420000A705D2329C9D07 2008-04-29 20:02:14 [7547] [6] DEBUG: AT2[/dev/ttyACM0]: --> ^Z 2008-04-29 20:02:18 [7547] [6] DEBUG: AT2[/dev/ttyACM0]: <-- > 2008-04-29 20:02:18 [7547] [6] DEBUG: AT2[/dev/ttyACM0]: <-- +CMS ERROR: 500 2008-04-29 20:02:18 [7547] [6] ERROR: AT2[/dev/ttyACM0]: CMS ERROR: +CMS ERROR: 500 2008-04-29 20:02:18 [7547] [6] ERROR: AT2[/dev/ttyACM0]: CMS ERROR: Unknown error. -> maybe Sim storage is full? I'll have a look at it. (500) 2008-04-29 20:02:18 [7547] [6] DEBUG: AT2[/dev/ttyACM0]: send command status: 1 2008-04-29 20:02:18 [7547] [7] DEBUG: sms_router: handling message (0x8abaf0 vs 0x8abaf0) 2008-04-29 20:02:18 [7547] [7] DEBUG: re-queing SMS not-yet-to-be resent 2008-04-29 20:02:18 [7547] [7] DEBUG: sms_router: handling message (0x8abaf0 vs 0x8abaf0) 2008-04-29 20:02:18 [7547] [7] DEBUG: re-queing SMS not-yet-to-be resent 2008-04-29 20:02:18 [7547] [7] DEBUG: sms_router: time to sleep 30.00 secs. 2008-04-29 20:02:18 [7547] [7] DEBUG: sms_router: gwlist_len = 1 2008-04-29 20:02:18 [7547] [7] DEBUG: sms_router: handling message (0x8abaf0 vs 0x8abaf0) 2008-04-29 20:02:18 [7547] [7] DEBUG: re-queing SMS not-yet-to-be resent 2008-04-29 20:02:18 [7547] [7] DEBUG: sms_router: handling message (0x8abaf0 vs 0x8abaf0) 2008-04-29 20:02:18 [7547] [7] DEBUG: re-queing SMS not-yet-to-be resent 2008-04-29 20:02:18 [7547] [7] DEBUG: sms_router: time to sleep 30.00 secs. 2008-04-29 20:02:20 [7547] [8] DEBUG: boxc_receiver: sms received 2008-04-29 20:02:20 [7547] [8] DEBUG: send_msg: sending msg to box: <127.0.0.1> 2008-04-29 20:02:22 [7547] [6] DEBUG: AT2[/dev/ttyACM0]: TP-Validity-Period: 24.0 hours 2008-04-29 20:02:22 [7547] [6] DEBUG: AT2[/dev/ttyACM0]: --> AT+CMGS=18^M 2008-04-29 20:02:22 [7547] [6] DEBUG: AT2[/dev/ttyACM0]: <-- > 2008-04-29 20:02:22 [7547] [6] DEBUG: AT2[/dev/ttyACM0]: send command status: 1 2008-04-29 20:02:22 [7547] [6] DEBUG: AT2[/dev/ttyACM0]: --> 0011000A8156293355420000A705D2329C9D07 2008-04-29 20:02:22 [7547] [6] DEBUG: AT2[/dev/ttyACM0]: --> ^Z 2008-04-29 20:02:22 [7547] [6] DEBUG: AT2[/dev/ttyACM0]: <-- > 2008-04-29 20:02:22 [7547] [6] DEBUG: AT2[/dev/ttyACM0]: <-- ERROR 2008-04-29 20:02:22 [7547] [6] ERROR: AT2[/dev/ttyACM0]: Generic error: ERROR 2008-04-29 20:02:22 [7547] [6] DEBUG: AT2[/dev/ttyACM0]: send command status: -1 Am very sure that the SIM storage is not full. Have tried lots of configuration options but still couldn't trace the issue. Any help on this regard is greatly appreciated. Please note that the bearer-box is an up-to-date CVS version. I also tried using Kannel 1.4.1 and faced the same issue. Thanks, Cyril
