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!.
>
>
>
> I’m 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]: -->
> 0011000881755534290000009341A8F4492CEAA86510390CAABBC3A0B33CEC06BDE16F
> 39BDEE4E93C364103C2C0F83D2EEF4381D9683CA6C50B8FF068DDF6E50990D82CBDFF0
> F73C4D7F8346319630A80C4A41C422085A9C3E5DD0B73C5E2F83CA7378591E96B3DC6F
> 10B9AC2E83E0E179580E6A87E720723A3C7781A0422C4836C3D95A371A0CE662B2C3ED
> 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]: -->
> 0011000881859750320000009341A8F4492CEAA86510390CAABBC3A0B33CEC06BDE16F
> 39BDEE4E93C364103C2C0F83D2EEF4381D9683CA6C50B8FF068DDF6E50990D82CBDFF0
> F73C4D7F8346319630A80C4A41C422085A9C3E5DD0B73C5E2F83CA7378591E96B3DC6F
> 10B9AC2E83E0E179580E6A87E720723A3C7781A0422C4836C3D95A371A0CE662B2C3ED
> 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]: -->
> 0011000881757680900000009341A8F4492CEAA86510390CAABBC3A0B33CEC06BDE16F
> 39BDEE4E93C364103C2C0F83D2EEF4381D9683CA6C50B8FF068DDF6E50990D82CBDFF0
> F73C4D7F8346319630A80C4A41C422085A9C3E5DD0B73C5E2F83CA7378591E96B3DC6F
> 10B9AC2E83E0E179580E6A87E720723A3C7781A0422C4836C3D95A371A0CE662B2C3ED
> 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]: -->
> 0011000881750169220000009341A8F4492CEAA86510390CAABBC3A0B33CEC06BDE16F
> 39BDEE4E93C364103C2C0F83D2EEF4381D9683CA6C50B8FF068DDF6E50990D82CBDFF0
> F73C4D7F8346319630A80C4A41C422085A9C3E5DD0B73C5E2F83CA7378591E96B3DC6F
> 10B9AC2E83E0E179580E6A87E720723A3C7781A0422C4836C3D95A371A0CE662B2C3ED
> 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
>
>


Reply via email to