Seems kannel is trying to delete memory registries not available in your modem.
check http://www.developershome.com/sms/cpmsCommand.asp http://www.developershome.com/sms/cpmsCommand2.asp but first try to let kannel "discover" the number of stores removing the cpms=xxx command from init string Regards Alvaro |-----------------------------------------------------------------------------------------------------------------| Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier celular y Nextel en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via SMS y GPRS online Visitenos en www.perusms.NET www.smsglobal.com.mx y www.pravcom.com On Tue, Feb 28, 2012 at 9:03 PM, Allan N. Porras <[email protected]> wrote: > I think Kannel can not delete messages from SIM, beacause in logs: > > > 2012-02-28 19:59:52 [17153] [6] DEBUG: AT2[default]: --> AT+CMGR=37^M > 2012-02-28 19:59:52 [17153] [6] DEBUG: AT2[default]: <-- OK > 2012-02-28 19:59:52 [17153] [6] DEBUG: AT2[default]: not deleted. > 2012-02-28 19:59:52 [17153] [6] DEBUG: AT2[default]: --> AT+CMGR=38^M > 2012-02-28 19:59:52 [17153] [6] DEBUG: AT2[default]: <-- OK > 2012-02-28 19:59:52 [17153] [6] DEBUG: AT2[default]: not deleted. > 2012-02-28 19:59:52 [17153] [6] DEBUG: AT2[default]: --> AT+CMGR=39^M > 2012-02-28 19:59:52 [17153] [6] DEBUG: AT2[default]: <-- OK > 2012-02-28 19:59:52 [17153] [6] DEBUG: AT2[default]: not deleted. > 2012-02-28 19:59:52 [17153] [6] DEBUG: AT2[default]: --> AT+CMGR=40^M > 2012-02-28 19:59:53 [17153] [6] DEBUG: AT2[default]: <-- +CMS ERROR: 321 > 2012-02-28 19:59:53 [17153] [6] ERROR: AT2[default]: CMS ERROR: +CMS ERROR: > 321 > 2012-02-28 19:59:53 [17153] [6] ERROR: AT2[default]: CMS ERROR: Invalid > memory index -> don't worry, just memory fragmentation. (321) > 2012-02-28 19:59:53 [17153] [6] DEBUG: AT2[default]: failed to get message 40. > > This is my modems group: > > group = modems > id = huawei_e153 > name = "Huawei E153" > detect-string = "huawei" > init-string = "AT Q0 +CMGS=40;+CPMS= "SM",0,30,"SM",0,30,"SM",0,30" > #init-string = "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0" > init-string = "AT Q0 V1 E1 S0=0 &C1 &D2 > +FCLASS=0;+CMGF=0;+CNMI=3,2,0,0,0;CMEE=1" > init-string = "AT+CNMI=1,1,2,0,0" > init-string = "AT+CNMI=2,0,0,2,0;+CMEE=1" > reset-string = "ATZ" > message-storage = "SM" > need-sleep = true > speed = 460800 > #message-start = 0 > > > > -- > Allan Porras > > ----- Original Message ----- > From: "Alvaro Cornejo" <[email protected]> > To: "Allan N. Porras" <[email protected]> > Cc: "users" <[email protected]> > Sent: Tuesday, February 28, 2012 7:53:47 PM > Subject: Re: It takes 24hours to send 254 messages > > yes, try that or with cmee=2 for even more verbose; however that > depends on your modem. Also you need to restart the smsc for the > config to take place > > |-----------------------------------------------------------------------------------------------------------------| > Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier > celular y Nextel > en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via > SMS y GPRS online > Visitenos en www.perusms.NET www.smsglobal.com.mx y > www.pravcom.com > > > > On Tue, Feb 28, 2012 at 8:17 PM, Allan N. Porras <[email protected]> wrote: >> Like init-string = "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 +CMEE=1" ?? >> >> >> -- >> Allan Porras >> CEO & Co-Founder >> Netses Costa Rica S.A. >> +506 22901016 >> >> ----- Original Message ----- >> From: "Alvaro Cornejo" <[email protected]> >> To: "Allan N. Porras" <[email protected]> >> Cc: "Merid Tilahun" <[email protected]>, [email protected] >> Sent: Tuesday, February 28, 2012 7:11:57 PM >> Subject: Re: It takes 24hours to send 254 messages >> >> Add +cmee=1 --or 2-- in order to have your modem more verbose errors >> >> Regards >> >> Alvaro >> >> |-----------------------------------------------------------------------------------------------------------------| >> Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier >> celular y Nextel >> en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via >> SMS y GPRS online >> Visitenos en www.perusms.NET www.smsglobal.com.mx y >> www.pravcom.com >> >> >> >> On Tue, Feb 28, 2012 at 8:07 PM, Allan N. Porras <[email protected]> wrote: >>> Really I don't know what the problem. >>> >>> One line from my smsc.log is: >>> "CMS ERROR: Unknown error. -> maybe Sim storage is full? I'll have a look >>> at it. (500)" >>> >>> Here more lines from smsc.log: http://pastebin.com/95HsN0XD >>> >>> Thank you for help me! >>> >>> -- >>> Allan Porras >>> >>> >>> ----- Original Message ----- >>> From: "Allan N. Porras" <[email protected]> >>> To: "Merid Tilahun" <[email protected]> >>> Cc: [email protected] >>> Sent: Tuesday, February 28, 2012 10:45:46 AM >>> Subject: Re: It takes 24hours to send 254 messages >>> >>> Thank you! >>> >>> This is my config file. >>> >>> http://pastebin.com/sCTA3v7g >>> >>> -- >>> Allan Porras >>> >>> >>> ----- Original Message ----- >>> From: "Merid Tilahun" <[email protected]> >>> To: "Allan N. Porras" <[email protected]> >>> Cc: [email protected] >>> Sent: Tuesday, February 28, 2012 12:57:46 AM >>> Subject: Re: It takes 24hours to send 254 messages >>> >>> can we see your config? >>> >>> -- >>> Merid Tilahun Kebede >>> Managing Director >>> KTM Systems >>> Addis Ababa, Ethiopia >>> Tel: +251 114 660943/44 >>> >>> Fax: +251 114 660942 >>> >>> Cell: +251 911 646 217 >>>
