Hi Can you add CMEE=1 (or 2) to your init-string so we can have more detail about the error?
Also, do not just extract the error line, we loose context. Send it with a couple of lines before and after. Regards Alvaro On 5/25/12, Joey Rampersad <[email protected]> wrote: > Hi Rene, > > > > The command "AT+CMGF=0" gives me an "OK" message. > > > > Regards, > > > > Joey > > > > ________________________________ > > From: Rene Kluwen [mailto:[email protected]] > Sent: Friday, May 25, 2012 12:58 PM > To: Joey Rampersad; 'Alvaro Cornejo' > Cc: [email protected] > Subject: RE: SMSC Reject > > > > Is the modem initialized with AT+CMGF=0? Or does that line give an error > message? > > > > From: Joey Rampersad [mailto:[email protected]] > Sent: Friday, 25 May, 2012 18:25 > To: Alvaro Cornejo; Rene Kluwen > Cc: [email protected] > Subject: RE: SMSC Reject > > > > Hi Alvaro, > > > > I have set my modem log to debug and got the following error messages > occurring (This is just a summary): > > > > 1. 2012-05-08 09:06:42 [615] [6] ERROR: AT2[SMS1]: could not decode PDU > to a message. > > > > 2. 2012-05-25 08:01:58 [621] [6] ERROR: AT2[SMS1]: got +CMT but waiting > for next line timed out > > > > 3. 2012-05-25 08:09:17 [621] [6] ERROR: AT2[SMS1]: Generic error: ERROR > > > > 4. 2012-05-25 11:31:34 [621] [6] ERROR: AT2[SMS1]: got +CMT but > pdu_extract failed > > > > 5. 2012-05-25 11:31:34 [621] [6] ERROR: AT2[SMS1]: CMTI notification > received, but no message found in memory! > > > > 6. 2012-05-25 11:31:34 [621] [6] ERROR: System error 1: Operation not > permitted > > > > > > Error message number 3 ("Generic error: ERROR") occur the most and I believe > this is the message I get when the SMSC rejects messages. > > > > This is my config: > > > > group = smsc > > smsc = at > > smsc-id = SMS1 > > modemtype = wavecom > > device=/dev/ttyS1 > > speed = 115200 > > > > group = modems > > id = wavecom > > name = Wavecom > > detect-string = "WAVECOM" > > > > Any help would be greatly appreciated. > > > > Regards > > > > Joey > > > > > > -----Original Message----- > From: Alvaro Cornejo [mailto:[email protected]] > Sent: Friday, May 04, 2012 5:39 PM > To: Rene Kluwen > Cc: Joey Rampersad; [email protected] > Subject: Re: SMSC Reject > > > > Hi > > > > Never tried. I use the following setup and never had a problem with > > the modem rejecting the messages. Kannel had always followed modem > > speed... Maybe when using message-storage=ME. > > > > group = smsc > > smsc = at > > smsc-id = mo4 > > modemtype = "Enfora" > > speed = 115200 > > log-level = 0 > > log-file = "/var/log/kannel/x2p6_mo4.log" > > allowed-smsc-id = mo4;mo > > sim-buffering = true > > keepalive = 60 > > max-error-count = 8 > > > > > > group = modems > > id = Enfora > > name = Enfora > > detect-string = "Enfora " > > init-string = AT+CNMI=2,1,2,1,0; +CMEE=2; +CSAS; +CGMR > > message-storage = SM > > keepalive-cmd = AT+CSQ;+CMEE=2;+CSCS="8859-1" > > reset-string = AT$RESET > > need-sleep = true > > > > > > Else a log might show if the error comes from his carrier and not the > modem... > > > > Joey: can you set your modem log to debug and post it here? > > > > 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 Fri, May 4, 2012 at 4:06 PM, Rene Kluwen <[email protected]> wrote: > >> Just a question. Is it possible to set the throughput config option for >> smsc > >> = at? > >> > >> == Rene > >> > >> -----Original Message----- > >> From: [email protected] [mailto:[email protected]] On >> Behalf > >> Of Alvaro Cornejo > >> Sent: Friday, 04 May, 2012 21:03 > >> To: Joey Rampersad > >> Cc: [email protected] > >> Subject: Re: SMSC Reject > >> > >> Hi > >> > >> A gsm modem is usually not able to send more than about 1msg each 5-8 > >> sec. so I assume your modem is storing messages in its internal > >> memory. Once it is full it start rejecting messages. So you should > >> give some time to the modem to send sms to carrier before submitting > >> more messages. > >> > >> Hope helps > >> > >> 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 Fri, May 4, 2012 at 1:43 PM, Joey Rampersad > >> <[email protected]> wrote: > >>> Hi, does anyone know if Kannel has a limit to the number of messages it > >>> sends per minute or am I restricted by my SMSC? > >>> > >>> > >>> > >>> My problem: > >>> > >>> > >>> > >>> While Kannel receives 6 messages per minute and sends them out, after a > >>> while the SMSC (A Multi-Tech MultiModem) starts returning "16: smsc > >> reject" > >>> and after I reboot the Kannel system messages starts going out again and > >> the > >>> SMSC returns "8: smsc submit". > >> > >> > >> > > -- |-----------------------------------------------------------------------------------------------------------------| 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
