Wow! Glad it could help. Nikos ----- Original Message ----- From: Emmanuel CHANSON To: Nikos Balkanas Cc: [email protected] Sent: Monday, October 19, 2009 12:14 PM Subject: Re: Kannel / sendsms.php & mobile phone (CMS ERROR: Unknown error. -> maybe Sim storage is full? I'll have a look at it. (500))
Thanks Nikos for your answer. In fact I think I found the reason of this. It is because in my PHP script I did not use the PHP function "urlencode($text)", then when I tried to send a SMS with several word it did not work cause of the space between each word. Now it is working but thanks to tell me to add at+CMEE=1 or 2 in order to get more debug information ! BR, Emmanuel 2009/10/19 Nikos Balkanas <[email protected]> Hi, Were you able to get any SMS from this mobile? Add at+CMEE=1 or 2 to your init string to get more detailed errors. Please attach your modem/smsc configuration. BR, Nikos ----- Original Message ----- From: Emmanuel CHANSON To: [email protected] Sent: Monday, October 19, 2009 4:59 AM Subject: Kannel / sendsms.php & mobile phone (CMS ERROR: Unknown error. -> maybe Sim storage is full? I'll have a look at it. (500)) Hello, I try to send SMS from the PHP script sendsms.php through a NOKIA 6230 connected to my server but I got this on the bearerbox: 2009-10-19 12:30:31 [29472] [9] DEBUG: boxc_receiver: sms received 2009-10-19 12:30:31 [29472] [9] DEBUG: send_msg: sending msg to box: <127.0.0.1> 2009-10-19 12:30:33 [29472] [6] DEBUG: AT2[nokia6230]: TP-Validity-Period: 24.0 hours 2009-10-19 12:30:33 [29472] [6] DEBUG: AT2[nokia6230]: --> AT+CMGS=13^M 2009-10-19 12:30:33 [29472] [6] DEBUG: AT2[nokia6230]: <-- > 2009-10-19 12:30:33 [29472] [6] DEBUG: AT2[nokia6230]: send command status: 1 2009-10-19 12:30:33 [29472] [6] DEBUG: AT2[nokia6230]: --> 001100098186870558 2009-10-19 12:30:33 [29472] [6] DEBUG: AT2[nokia6230]: --> F00000A700 2009-10-19 12:30:43 [29472] [6] DEBUG: AT2[nokia6230]: <-- > 2009-10-19 12:30:43 [29472] [6] DEBUG: AT2[nokia6230]: <-- +CMS ERROR: 500 2009-10-19 12:30:43 [29472] [6] ERROR: AT2[nokia6230]: CMS ERROR: +CMS ERROR: 500 2009-10-19 12:30:43 [29472] [6] ERROR: AT2[nokia6230]: CMS ERROR: Unknown error. -> maybe Sim storage is full? I'll have a look at it. (500) 2009-10-19 12:30:43 [29472] [6] DEBUG: AT2[nokia6230]: send command status: 1 2009-10-19 12:30:43 [29472] [7] DEBUG: sms_router: handling message (0x97d9838 vs 0x97d9838) 2009-10-19 12:30:43 [29472] [7] DEBUG: re-queing SMS not-yet-to-be resent 2009-10-19 12:30:43 [29472] [7] DEBUG: sms_router: handling message (0x97d9838 vs 0x97d9838) 2009-10-19 12:30:43 [29472] [7] DEBUG: re-queing SMS not-yet-to-be resent 2009-10-19 12:30:43 [29472] [7] DEBUG: sms_router: time to sleep 30.00 secs. 2009-10-19 12:30:43 [29472] [7] DEBUG: sms_router: gwlist_len = 1 2009-10-19 12:30:43 [29472] [7] DEBUG: sms_router: handling message (0x97d9838 vs 0x97d9838) 2009-10-19 12:30:43 [29472] [7] DEBUG: re-queing SMS not-yet-to-be resent 2009-10-19 12:30:43 [29472] [7] DEBUG: sms_router: handling message (0x97d9838 vs 0x97d9838) 2009-10-19 12:30:43 [29472] [7] DEBUG: re-queing SMS not-yet-to-be resent 2009-10-19 12:30:43 [29472] [7] DEBUG: sms_router: time to sleep 30.00 secs. 2009-10-19 12:30:49 [29472] [8] DEBUG: Dumping 1 messages to store 2009-10-19 12:31:13 [29472] [7] DEBUG: sms_router: gwlist_len = 1 2009-10-19 12:31:13 [29472] [7] DEBUG: sms_router: handling message (0x97d9838 vs 0x97d9838) 2009-10-19 12:31:13 [29472] [7] DEBUG: re-queing SMS not-yet-to-be resent 2009-10-19 12:31:13 [29472] [7] DEBUG: sms_router: handling message (0x97d9838 vs 0x97d9838) 2009-10-19 12:31:13 [29472] [7] DEBUG: re-queing SMS not-yet-to-be resent 2009-10-19 12:31:13 [29472] [7] DEBUG: sms_router: time to sleep 30.00 secs. I already saw this error at the beginnng and the solution I found on internet was to set the parameter enable-mms to false in modems.conf file But I still have this issue. Do you know how to check the SIM card using gnooki with this mobile? Regards, -- Emmanuel -- Emmanuel CHANSON Emmanuel Mobile Nouvelle-Calιdonie: +687 850.850 Mobile France: +33 (0) 6.68.03.89.56 @email : [email protected]
