Sorry Alvaro I didn't explain my self well, CMEE (2 not supported) and CNMI no problem at all... I was asking about the CGSMS setting to Circuit Switched (conf 1). By the way which CNMI conf do you use?
I already set CGSMS to 1 and I'll wait for a batch to monitor if there is a behavior change. About the service center is properly configured as a mobile phone and the same used in regular phones. By the way this problem also happens when an unsolicited code RING appears, it gives me the felling that could happen with any unsolicited code while sending messages because them got in the middle when kannel is waiting for the sms sent response. I have noticed that when the SMSC is sending messages and I shutdown kannel via HTTP or command line the modems don't respond any more even thru Minicom AT commands, it seems like the modem stays in busy mode (CME error 515) forever and don't respond. I have checked for firmware update with the provider but no success, modem are a little old, 6 years ago, they are MTCBA-G-F2 model based on Wavecom Q2426B. -----Original Message----- From: Alvaro Cornejo [mailto:[email protected]] Sent: Wednesday, January 08, 2014 2:28 PM To: Vinicio Cruz Cc: users Subject: Re: Modem stops working after receiving an SMS while sending Hi Vinicio CMEE+1 is for vebosing errors. You might try =2 for more verbose but not all modems support it CNMI is for telling the modem to forward MO (incomming msg) to the serial port. ie kannel. Maybe fine tunning CNMI help? check each of its parameter. CGSMS is for specifiyng the sms center your modem will use. Use CGSMS? to get available options. command AT+CSCA will allow you to set the center number. This info is provided by your operator an is usually loaded at registration. You can check this number (usualy a mobile number) on any phone as "service center" under sms config. If modem didn't answer to minicom it might be a issue with the firmware of the modem that locks out after an MO. Check with manufacturer if there is an update. 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.com On Wed, Jan 8, 2014 at 3:10 PM, Vinicio Cruz <[email protected]> wrote: > Hi Alvaro, thanks for your help. > > I asked for the CGSMS conf in the modem and in fact it is 1, anyway > I'll try your recommendation... the actual init string is: > "AT+CMEE=1;+CNMI=1,2,0,1,0" , can you explain me a little about the > setting 1?. > > No problems with the SIM it's a postpaid bulk plan with no limitations. > > Yes, I tried to connect to the modem with minicom after the error but > can't send any AT commands, looking to the modem's led (LS) indicates > that it is connected to the network. > > Regards. > > -----Original Message----- > From: Alvaro Cornejo [mailto:[email protected]] > Sent: Wednesday, January 08, 2014 1:29 PM > To: Vinicio Cruz > Cc: users > Subject: Re: Modem stops working after receiving an SMS while sending > > Hi > > Can you try to use AT+CGSMS=1 on the init string? > > Also, I assume your SIM is active and has enough funds. > > Have you tested in a minicom session sending manual commands? What > about your modem loosing network registration? Try AT+CREG?. it should > say something like CREG:1 > > 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.com > > > On Wed, Jan 8, 2014 at 2:11 PM, Vinicio Cruz <[email protected]> wrote: >> Hello everyone and happy new year!. >> >> >> >> Im having problems receiving messages and I wonder if someone has >> have the same problem or could help, here is the symptom: the modem >> is sending messages (>50 SMS) and at the time it receives a message, >> after that it gives some errors +CME ERROR 515 (according to my >> documentation: Please wait, init or command processing in progress.), >> after that error it tries to send messages but gets stock retrying. >> The worst part is that the modem does not respond any more until I >> turn it off, I tried to send AT commands via minicom but no response >> at > all. >> >> >> >> Elements used: >> >> OS: Linux SUSE >> >> Kannel: 1.4.1 >> >> Modem: Multitech MultiModem GPRS (serial) >> >> >> >> This the part of the log where the error occurs: >> >> >> >> 2014-01-08 11:44:02 [17559] [15] DEBUG: AT2[rack-5-telca]: <-- +CMGS: >> 66 >> >> 2014-01-08 11:44:02 [17559] [15] DEBUG: AT2[rack-5-telca]: <-- OK >> >> 2014-01-08 11:44:02 [17559] [15] DEBUG: AT2[rack-5-telca]: (MSG) - >> send command status: 0 - retries: 2 >> >> 2014-01-08 11:44:02 [17559] [15] DEBUG: AT2[rack-5-telca]: >> TP-Validity-Period: 5 minutes >> >> 2014-01-08 11:44:02 [17559] [15] DEBUG: AT2[rack-5-telca]: --> >> AT+CMGS=141^M >> >> 2014-01-08 11:44:03 [17559] [15] DEBUG: AT2[rack-5-telca]: <-- > >> >> 2014-01-08 11:44:03 [17559] [15] DEBUG: AT2[rack-5-telca]: CMGS - >> send command status: 1 - retries: 2 >> >> 2014-01-08 11:44:03 [17559] [15] DEBUG: AT2[rack-5-telca]: --> >> 0011000881755534290000009341A8F4492CEAA86510390CAABBC3A0B33CEC06BDE16 >> F >> 39BDEE4E93C364103C2C0F83D2EEF4381D9683CA6C50B8FF068DDF6E50990D82CBDFF >> 0 >> F73C4D7F8346319630A80C4A41C422085A9C3E5DD0B73C5E2F83CA7378591E96B3DC6 >> F >> 10B9AC2E83E0E179580E6A87E720723A3C7781A0422C4836C3D95A371A0CE662B2C3E >> D >> 3010 >> >> 2014-01-08 11:44:05 [17559] [15] DEBUG: AT2[rack-5-telca]: --> ^Z >> >> 2014-01-08 11:44:10 [17559] [15] DEBUG: AT2[rack-5-telca]: <-- > >> >> 2014-01-08 11:44:10 [17559] [15] DEBUG: AT2[rack-5-telca]: <-- +CMGS: >> 67 >> >> 2014-01-08 11:44:10 [17559] [15] DEBUG: AT2[rack-5-telca]: <-- OK >> >> 2014-01-08 11:44:10 [17559] [15] DEBUG: AT2[rack-5-telca]: (MSG) - >> send command status: 0 - retries: 2 >> >> 2014-01-08 11:44:10 [17559] [15] DEBUG: AT2[rack-5-telca]: >> TP-Validity-Period: 5 minutes >> >> 2014-01-08 11:44:10 [17559] [15] DEBUG: AT2[rack-5-telca]: --> >> AT+CMGS=141^M >> >> 2014-01-08 11:44:10 [17559] [15] DEBUG: AT2[rack-5-telca]: <-- > >> >> 2014-01-08 11:44:10 [17559] [15] DEBUG: AT2[rack-5-telca]: CMGS - >> send command status: 1 - retries: 2 >> >> 2014-01-08 11:44:10 [17559] [15] DEBUG: AT2[rack-5-telca]: --> >> 0011000881859750320000009341A8F4492CEAA86510390CAABBC3A0B33CEC06BDE16 >> F >> 39BDEE4E93C364103C2C0F83D2EEF4381D9683CA6C50B8FF068DDF6E50990D82CBDFF >> 0 >> F73C4D7F8346319630A80C4A41C422085A9C3E5DD0B73C5E2F83CA7378591E96B3DC6 >> F >> 10B9AC2E83E0E179580E6A87E720723A3C7781A0422C4836C3D95A371A0CE662B2C3E >> D >> 3010 >> >> 2014-01-08 11:44:13 [17559] [15] DEBUG: AT2[rack-5-telca]: --> ^Z >> >> 2014-01-08 11:44:13 [17559] [15] DEBUG: AT2[rack-5-telca]: <-- +CMT: >> ,26 >> >> 2014-01-08 11:44:13 [17559] [15] DEBUG: AT2[rack-5-telca]: <-- >> 06910562909984040B910552039872F300004110801175444A074779789C0ECF01 >> >> 2014-01-08 11:44:13 [17559] [15] DEBUG: AT2[rack-5-telca]: received >> message from SMSC: +5026099948 >> >> 2014-01-08 11:44:13 [17559] [15] DEBUG: AT2[rack-5-telca]: Numeric >> sender >> (international) <+50253089273> >> >> 2014-01-08 11:44:13 [17559] [15] DEBUG: AT2[rack-5-telca]: User data >> length read as (7) >> >> 2014-01-08 11:44:13 [17559] [15] DEBUG: AT2[rack-5-telca]: Udh >> decoding done >> len=7 udhi=0 udhlen=0 udh='' >> >> 2014-01-08 11:44:13 [17559] [15] DEBUG: AT2[rack-5-telca]: --> >> AT+CNMA^M >> >> 2014-01-08 11:44:14 [17559] [15] DEBUG: AT2[rack-5-telca]: <-- > >> >> 2014-01-08 11:44:14 [17559] [15] DEBUG: AT2[rack-5-telca]: <-- +CME ERROR: >> 515 >> >> 2014-01-08 11:44:14 [17559] [15] ERROR: AT2[rack-5-telca]: Generic error: >> +CME ERROR: 515 >> >> 2014-01-08 11:44:14 [17559] [15] DEBUG: AT2[rack-5-telca]: (MSG) - >> send command status: -1 - retries: 2 >> >> 2014-01-08 11:44:14 [17559] [15] DEBUG: AT2[rack-5-telca]: --> >> AT+CMGS=141^M >> >> 2014-01-08 11:44:14 [17559] [15] DEBUG: AT2[rack-5-telca]: <-- >> >> 2014-01-08 11:44:14 [17559] [15] DEBUG: AT2[rack-5-telca]: <-- +CME ERROR: >> 515 >> >> 2014-01-08 11:44:14 [17559] [15] ERROR: AT2[rack-5-telca]: Generic error: >> +CME ERROR: 515 >> >> 2014-01-08 11:44:14 [17559] [15] DEBUG: AT2[rack-5-telca]: CMGS - >> send command status: -1 - retries: 1 >> >> 2014-01-08 11:44:14 [17559] [15] DEBUG: AT2[rack-5-telca]: --> >> AT+CMGS=141^M >> >> 2014-01-08 11:44:15 [17559] [15] DEBUG: AT2[rack-5-telca]: <-- >> >> 2014-01-08 11:44:15 [17559] [15] DEBUG: AT2[rack-5-telca]: <-- +CME ERROR: >> 515 >> >> 2014-01-08 11:44:15 [17559] [15] ERROR: AT2[rack-5-telca]: Generic error: >> +CME ERROR: 515 >> >> 2014-01-08 11:44:15 [17559] [15] DEBUG: AT2[rack-5-telca]: CMGS - >> send command status: -1 - retries: 0 >> >> 2014-01-08 11:44:15 [17559] [15] DEBUG: AT2[rack-5-telca]: >> TP-Validity-Period: 5 minutes >> >> 2014-01-08 11:44:15 [17559] [15] DEBUG: AT2[rack-5-telca]: --> >> AT+CMGS=141^M >> >> 2014-01-08 11:44:15 [17559] [15] DEBUG: AT2[rack-5-telca]: <-- >> >> 2014-01-08 11:44:16 [17559] [15] DEBUG: AT2[rack-5-telca]: <-- +CME ERROR: >> 515 >> >> 2014-01-08 11:44:16 [17559] [15] ERROR: AT2[rack-5-telca]: Generic error: >> +CME ERROR: 515 >> >> 2014-01-08 11:44:16 [17559] [15] DEBUG: AT2[rack-5-telca]: CMGS - >> send command status: -1 - retries: 2 >> >> 2014-01-08 11:44:16 [17559] [15] DEBUG: AT2[rack-5-telca]: --> >> AT+CMGS=141^M >> >> 2014-01-08 11:44:16 [17559] [15] DEBUG: AT2[rack-5-telca]: <-- >> >> 2014-01-08 11:44:16 [17559] [15] DEBUG: AT2[rack-5-telca]: <-- +CME ERROR: >> 515 >> >> 2014-01-08 11:44:16 [17559] [15] ERROR: AT2[rack-5-telca]: Generic error: >> +CME ERROR: 515 >> >> 2014-01-08 11:44:16 [17559] [15] DEBUG: AT2[rack-5-telca]: CMGS - >> send command status: -1 - retries: 1 >> >> 2014-01-08 11:44:16 [17559] [15] DEBUG: AT2[rack-5-telca]: --> >> AT+CMGS=141^M >> >> 2014-01-08 11:44:17 [17559] [15] DEBUG: AT2[rack-5-telca]: <-- > >> >> 2014-01-08 11:44:17 [17559] [15] DEBUG: AT2[rack-5-telca]: CMGS - >> send command status: 1 - retries: 0 >> >> 2014-01-08 11:44:17 [17559] [15] DEBUG: AT2[rack-5-telca]: --> >> 0011000881757680900000009341A8F4492CEAA86510390CAABBC3A0B33CEC06BDE16 >> F >> 39BDEE4E93C364103C2C0F83D2EEF4381D9683CA6C50B8FF068DDF6E50990D82CBDFF >> 0 >> F73C4D7F8346319630A80C4A41C422085A9C3E5DD0B73C5E2F83CA7378591E96B3DC6 >> F >> 10B9AC2E83E0E179580E6A87E720723A3C7781A0422C4836C3D95A371A0CE662B2C3E >> D >> 3010 >> >> 2014-01-08 11:44:19 [17559] [15] DEBUG: AT2[rack-5-telca]: --> ^Z >> >> 2014-01-08 11:44:20 [17559] [15] DEBUG: AT2[rack-5-telca]: <-- +CMGS: >> 68 >> >> 2014-01-08 11:44:20 [17559] [15] DEBUG: AT2[rack-5-telca]: <-- OK >> >> 2014-01-08 11:44:20 [17559] [15] DEBUG: AT2[rack-5-telca]: (MSG) - >> send command status: 0 - retries: 0 >> >> 2014-01-08 11:44:20 [17559] [15] DEBUG: AT2[rack-5-telca]: >> TP-Validity-Period: 5 minutes >> >> 2014-01-08 11:44:20 [17559] [15] DEBUG: AT2[rack-5-telca]: --> >> AT+CMGS=141^M >> >> 2014-01-08 11:44:20 [17559] [15] DEBUG: AT2[rack-5-telca]: <-- > >> >> 2014-01-08 11:44:20 [17559] [15] DEBUG: AT2[rack-5-telca]: CMGS - >> send command status: 1 - retries: 2 >> >> 2014-01-08 11:44:20 [17559] [15] DEBUG: AT2[rack-5-telca]: --> >> 0011000881750169220000009341A8F4492CEAA86510390CAABBC3A0B33CEC06BDE16 >> F >> 39BDEE4E93C364103C2C0F83D2EEF4381D9683CA6C50B8FF068DDF6E50990D82CBDFF >> 0 >> F73C4D7F8346319630A80C4A41C422085A9C3E5DD0B73C5E2F83CA7378591E96B3DC6 >> F >> 10B9AC2E83E0E179580E6A87E720723A3C7781A0422C4836C3D95A371A0CE662B2C3E >> D >> 3010 >> >> 2014-01-08 11:44:23 [17559] [15] DEBUG: AT2[rack-5-telca]: --> ^Z >> >> 2014-01-08 11:44:23 [17559] [15] DEBUG: AT2[rack-5-telca]: <-- > >> >> 2014-01-08 11:44:23 [17559] [15] DEBUG: AT2[rack-5-telca]: <-- +CME ERROR: >> 515 >> >> 2014-01-08 11:44:23 [17559] [15] ERROR: AT2[rack-5-telca]: Generic error: >> +CME ERROR: 515 >> >> 2014-01-08 11:44:23 [17559] [15] DEBUG: AT2[rack-5-telca]: (MSG) - >> send command status: -1 - retries: 2 >> >> 2014-01-08 11:44:23 [17559] [15] DEBUG: AT2[rack-5-telca]: --> >> AT+CMGS=141^M >> >> 2014-01-08 11:44:30 [17559] [15] DEBUG: AT2[rack-5-telca]: CMGS - >> send command status: -1 - retries: 1 >> >> 2014-01-08 11:44:30 [17559] [15] DEBUG: AT2[rack-5-telca]: --> >> AT+CMGS=141^M >> >> 2014-01-08 11:44:36 [17559] [15] DEBUG: AT2[rack-5-telca]: CMGS - >> send command status: -1 - retries: 0 >> >> 2014-01-08 11:44:36 [17559] [15] DEBUG: AT2[rack-5-telca]: >> TP-Validity-Period: 5 minutes >> >> 2014-01-08 11:44:36 [17559] [15] DEBUG: AT2[rack-5-telca]: --> >> AT+CMGS=141^M >> >> 2014-01-08 11:44:42 [17559] [15] DEBUG: AT2[rack-5-telca]: CMGS - >> send command status: -1 - retries: 2 >> >> 2014-01-08 11:44:42 [17559] [15] DEBUG: AT2[rack-5-telca]: --> >> AT+CMGS=141^M >> >> 2014-01-08 11:44:48 [17559] [15] DEBUG: AT2[rack-5-telca]: CMGS - >> send command status: -1 - retries: 1 >> >> 2014-01-08 11:44:48 [17559] [15] DEBUG: AT2[rack-5-telca]: --> >> AT+CMGS=141^M >> >> 2014-01-08 11:44:54 [17559] [15] DEBUG: AT2[rack-5-telca]: CMGS - >> send command status: -1 - retries: 0 >> >> 2014-01-08 11:44:54 [17559] [15] DEBUG: AT2[rack-5-telca]: >> TP-Validity-Period: 5 minutes >> >> 2014-01-08 11:44:54 [17559] [15] DEBUG: AT2[rack-5-telca]: --> >> AT+CMGS=141^M >> >> 2014-01-08 11:45:00 [17559] [15] DEBUG: AT2[rack-5-telca]: CMGS - >> send command status: -1 - retries: 2 >> >> 2014-01-08 11:45:00 [17559] [15] DEBUG: AT2[rack-5-telca]: --> >> AT+CMGS=141^M >> >> 2014-01-08 11:45:06 [17559] [15] DEBUG: AT2[rack-5-telca]: CMGS - >> send command status: -1 - retries: 1 >> >> 2014-01-08 11:45:06 [17559] [15] DEBUG: AT2[rack-5-telca]: --> >> AT+CMGS=141^M >> >> 2014-01-08 11:45:12 [17559] [15] DEBUG: AT2[rack-5-telca]: CMGS - >> send command status: -1 - retries: 0 >> >> 2014-01-08 11:45:12 [17559] [15] DEBUG: AT2[rack-5-telca]: >> TP-Validity-Period: 5 minutes >> >> 2014-01-08 11:45:12 [17559] [15] DEBUG: AT2[rack-5-telca]: --> >> AT+CMGS=141^M >> >> 2014-01-08 11:45:18 [17559] [15] DEBUG: AT2[rack-5-telca]: CMGS - >> send command status: -1 - retries: 2 >> >> 2014-01-08 11:45:18 [17559] [15] DEBUG: AT2[rack-5-telca]: --> >> AT+CMGS=141^M >> >> 2014-01-08 11:45:24 [17559] [15] DEBUG: AT2[rack-5-telca]: CMGS - >> send command status: -1 - retries: 1 >> >> 2014-01-08 11:45:24 [17559] [15] DEBUG: AT2[rack-5-telca]: --> >> AT+CMGS=141^M >> >> 2014-01-08 11:45:30 [17559] [15] DEBUG: AT2[rack-5-telca]: CMGS - >> send command status: -1 - retries: 0 >> >> 2014-01-08 11:45:30 [17559] [15] DEBUG: AT2[rack-5-telca]: >> TP-Validity-Period: 5 minutes >> >> 2014-01-08 11:45:30 [17559] [15] DEBUG: AT2[rack-5-telca]: --> >> AT+CMGS=141^M >> >> 2014-01-08 11:45:36 [17559] [15] DEBUG: AT2[rack-5-telca]: CMGS - >> send command status: -1 - retries: 2 >> >> 2014-01-08 11:45:36 [17559] [15] DEBUG: AT2[rack-5-telca]: --> >> AT+CMGS=141^M >> >> 2014-01-08 11:45:42 [17559] [15] DEBUG: AT2[rack-5-telca]: CMGS - >> send command status: -1 - retries: 1 >> >> 2014-01-08 11:45:42 [17559] [15] DEBUG: AT2[rack-5-telca]: --> >> AT+CMGS=141^M >> >> 2014-01-08 11:45:48 [17559] [15] DEBUG: AT2[rack-5-telca]: CMGS - >> send command status: -1 - retries: 0 >> >> 2014-01-08 11:45:48 [17559] [15] DEBUG: AT2[rack-5-telca]: >> TP-Validity-Period: 5 minutes >> >> 2014-01-08 11:45:48 [17559] [15] DEBUG: AT2[rack-5-telca]: --> >> AT+CMGS=141^M >> >> 2014-01-08 11:45:54 [17559] [15] DEBUG: AT2[rack-5-telca]: CMGS - >> send command status: -1 - retries: 2 >> >> 2014-01-08 11:45:54 [17559] [15] DEBUG: AT2[rack-5-telca]: --> >> AT+CMGS=141^M >> >> 2014-01-08 11:46:00 [17559] [15] DEBUG: AT2[rack-5-telca]: CMGS - >> send command status: -1 - retries: 1 >> >> 2014-01-08 11:46:00 [17559] [15] DEBUG: AT2[rack-5-telca]: --> >> AT+CMGS=141^M >> >> 2014-01-08 11:46:06 [17559] [15] DEBUG: AT2[rack-5-telca]: CMGS - >> send command status: -1 - retries: 0 >> >> 2014-01-08 11:46:06 [17559] [15] DEBUG: AT2[rack-5-telca]: >> TP-Validity-Period: 5 minutes >> >> 2014-01-08 11:46:06 [17559] [15] DEBUG: AT2[rack-5-telca]: --> >> AT+CMGS=141^M >> >> 2014-01-08 11:46:12 [17559] [15] DEBUG: AT2[rack-5-telca]: CMGS - >> send command status: -1 - retries: 2 >> >> 2014-01-08 11:46:12 [17559] [15] DEBUG: AT2[rack-5-telca]: --> >> AT+CMGS=141^M >> >> 2014-01-08 11:46:18 [17559] [15] DEBUG: AT2[rack-5-telca]: CMGS - >> send command status: -1 - retries: 1 >> >> 2014-01-08 11:46:18 [17559] [15] DEBUG: AT2[rack-5-telca]: --> >> AT+CMGS=141^M >> >> 2014-01-08 11:46:24 [17559] [15] DEBUG: AT2[rack-5-telca]: CMGS - >> send command status: -1 - retries: 0 >> >> 2014-01-08 11:46:24 [17559] [15] DEBUG: AT2[rack-5-telca]: >> TP-Validity-Period: 5 minutes >> >> 2014-01-08 11:46:24 [17559] [15] DEBUG: AT2[rack-5-telca]: --> >> AT+CMGS=141^M >> >> 2014-01-08 11:46:30 [17559] [15] DEBUG: AT2[rack-5-telca]: CMGS - >> send command status: -1 - retries: 2 >> >> 2014-01-08 11:46:30 [17559] [15] DEBUG: AT2[rack-5-telca]: --> >> AT+CMGS=141^M >> >> 2014-01-08 11:46:36 [17559] [15] DEBUG: AT2[rack-5-telca]: CMGS - >> send command status: -1 - retries: 1 >> >> 2014-01-08 11:46:36 [17559] [15] DEBUG: AT2[rack-5-telca]: --> >> AT+CMGS=141^M >> >> 2014-01-08 11:46:42 [17559] [15] DEBUG: AT2[rack-5-telca]: CMGS - >> send command status: -1 - retries: 0 >> >> >> >> Hope some one can help, regards. >> >> >> >> Vinicio Cruz >> >> Moviclub >> >> >
