tri this one: reseting the modem AT+CFUN=0, sleep for 5-10 seconds then bringing modem back online: AT+CFUN=1 then deleting: 9.16.2 Syntax: Command Syntax: AT+CMGD=<Index> [,<DelFalg>] AT+CMGD=1,4
cheers seik -----Original Message----- From: Alvaro Cornejo [EMAIL PROTECTED] Sent: 16 ??????? 2007 ?. To: seik Subject:smsbox ERROR: Empty receiver number not allowed, rejected > Hi, > The problem was that the sim was full and somehow, kannel wasn't be > able to read and delete those SMS from the sim. > I did what seikath said -ie put the sim in a phone and manually delete > the sms- and the modem start receiving messages again. :-)) THANKS > What is the AT command that can allow me to do that using cu or minicom? > Is this a issue with kannel smsc_at? is there a workarround on this or > someone is working on that? > Regards > On Nov 15, 2007 8:33 PM, Trung Nguyen <[EMAIL PROTECTED]> wrote: >> Apparently the log says u didn't set receiver number (<to> cgi variable) >> when using sendsms cgi. >> If you are sure there is to=<phone#> in sendsms call, restart kannel and try >> again. >> To receive MO sms, u need to set at+cnmi in init-string as well. Have you >> been able to receive MOs before? >> >> Hope that helps. >> Chalie >> >> >> -----Original Message----- >> From: Alvaro Cornejo [mailto:[EMAIL PROTECTED] >> Sent: Friday, November 16, 2007 8:04 AM >> To: [email protected] >> Subject: smsbox ERROR: Empty receiver number not allowed, rejected >> >> Hi >> >> I have kannel CVS running with several modems as smsc, since this morning >> one of my modems stoped to receive MO messages; however it does send >> messages with no problems. >> >> I've reseted the modem and power it on/off, restart kannel and even the >> server but still having the same error. >> >> Does anyone have any idea of the problem?? >> >> This is the smsbox log >> 2007-11-15 18:52:53 [23566] [3] INFO: smsbox: Got HTTP request >> </cgi-bin/sendsms> from <127.0.0.1> >> 2007-11-15 18:52:53 [23566] [3] INFO: sendsms used by <puser> >> 2007-11-15 18:52:53 [23566] [3] ERROR: /cgi-bin/sendsms got empty <to> cgi >> variable >> 2007-11-15 18:52:53 [23566] [3] DEBUG: Status: 400 Answer: <Empty receiver >> number not allowed, rejected> >> 2007-11-15 18:52:53 [23566] [3] DEBUG: HTTP: Destroying HTTPClient area >> 0x8a1d2f8. >> 2007-11-15 18:52:53 [23566] [3] DEBUG: HTTP: Destroying HTTPClient for >> `127.0.0.1'. >> 2007-11-15 18:53:24 [23566] [2] DEBUG: HTTP: Creating HTTPClient for >> `127.0.0.1'. >> 2007-11-15 18:53:24 [23566] [2] DEBUG: HTTP: Created HTTPClient area >> 0x8a1d2f8. >> 2007-11-15 18:53:24 [23566] [3] INFO: smsbox: Got HTTP request >> </cgi-bin/sendsms> from <127.0.0.1> >> 2007-11-15 18:53:24 [23566] [3] INFO: sendsms used by <puser> >> 2007-11-15 18:53:24 [23566] [3] ERROR: /cgi-bin/sendsms got empty <to> cgi >> variable >> 2007-11-15 18:53:24 [23566] [3] DEBUG: Status: 400 Answer: <Empty receiver >> number not allowed, rejected> >> 2007-11-15 18:53:24 [23566] [3] DEBUG: HTTP: Destroying HTTPClient area >> 0x8a1d2f8. >> 2007-11-15 18:53:24 [23566] [3] DEBUG: HTTP: Destroying HTTPClient for >> `127.0.0.1'. >> 2007-11-15 18:53:54 [23566] [2] DEBUG: HTTP: Creating HTTPClient for >> `127.0.0.1'. >> 2007-11-15 18:53:54 [23566] [2] DEBUG: HTTP: Created HTTPClient area >> 0x8a697a0. >> 2007-11-15 18:53:54 [23566] [3] INFO: smsbox: Got HTTP request >> </cgi-bin/sendsms> from <127.0.0.1> >> 2007-11-15 18:53:54 [23566] [3] INFO: sendsms used by <puser> >> 2007-11-15 18:53:54 [23566] [3] ERROR: /cgi-bin/sendsms got empty <to> cgi >> variable >> 2007-11-15 18:53:54 [23566] [3] DEBUG: Status: 400 Answer: <Empty receiver >> number not allowed, rejected> >> 2007-11-15 18:53:54 [23566] [3] DEBUG: HTTP: Destroying HTTPClient area >> 0x8a697a0. >> 2007-11-15 18:53:54 [23566] [3] DEBUG: HTTP: Destroying HTTPClient for >> `127.0.0.1'. >> >> and this the modem log: >> The "ERROR" and "Generic error: ERROR" seems to be related to the failed >> incomming messages >> >> 2007-11-15 18:49:54 [23546] [6] DEBUG: AT2[tel]: --> AT+CSQ^M >> 2007-11-15 18:49:54 [23546] [6] DEBUG: AT2[tel]: <-- +CSQ: 16,99 >> 2007-11-15 18:49:54 [23546] [6] DEBUG: AT2[tel]: <-- OK >> 2007-11-15 18:50:12 [23546] [6] DEBUG: AT2[tel]: <-- ERROR >> 2007-11-15 18:50:12 [23546] [6] ERROR: AT2[tel]: Generic error: ERROR >> 2007-11-15 18:50:56 [23546] [6] DEBUG: AT2[tel]: --> AT+CSQ^M >> 2007-11-15 18:50:56 [23546] [6] DEBUG: AT2[tel]: <-- +CSQ: 16,99 >> 2007-11-15 18:50:56 [23546] [6] DEBUG: AT2[tel]: <-- OK >> 2007-11-15 18:51:02 [23546] [6] DEBUG: AT2[tel]: <-- ERROR >> 2007-11-15 18:51:02 [23546] [6] ERROR: AT2[tel]: Generic error: ERROR >> 2007-11-15 18:51:58 [23546] [6] DEBUG: AT2[tel]: --> AT+CSQ^M >> 2007-11-15 18:51:58 [23546] [6] DEBUG: AT2[tel]: <-- +CSQ: 16,99 >> 2007-11-15 18:51:58 [23546] [6] DEBUG: AT2[tel]: <-- OK >> 2007-11-15 18:53:00 [23546] [6] DEBUG: AT2[tel]: --> AT+CSQ^M >> 2007-11-15 18:53:00 [23546] [6] DEBUG: AT2[tel]: <-- +CSQ: 16,99 >> 2007-11-15 18:53:00 [23546] [6] DEBUG: AT2[tel]: <-- OK >> >> >>
