Hi Vinicio It probably comes from a command in your init string not supported by your modem.
Enable debug mode so you can have more info. Regards, Alvaro |----------------------------------------------------------------------------------------| Stay safe / Cuídate/ Reste sécurisé *7* Switch off as you go / Apaga lo que no usas / Débranchez au fur et à mesure. *q *Recycle always / Recicla siempre / Recyclez toujours P Print only if absolutely necessary / Imprime solo si es necesario / Imprimez seulement si nécessaire Le ven. 9 oct. 2020 à 19:11, Vinicio Cruz <vinicio.c...@gmail.com> a écrit : > hello everyone, I just bought a sim from Claro and put it in to a working > modem but I not connect, It gives an error “+CMS ERROR: 302”. I tried it in > a cell phone and send/recive sms normally. > > > > Does any one knows of issues with new sims and old modems? Or maybe a > special configuration in Kannel?, below is the log extract. > > > > Thanks for your help. > > > > 2020-10-09 17:25:51 [17752] [23] INFO: AT2[modem-5-telca]: opening device > > 2020-10-09 17:25:51 [17752] [23] INFO: AT2[modem-5-telca]: Logging in > > 2020-10-09 17:25:51 [17752] [23] INFO: AT2[modem-5-telca]: init device > > 2020-10-09 17:25:51 [17752] [23] INFO: AT2[modem-5-telca]: speed set to > 57600 > > 2020-10-09 17:25:58 [17752] [23] ERROR: AT2[modem-5-telca]: Wrong or no > answer to ATZ, ignoring > > 2020-10-09 17:25:58 [17752] [23] ERROR: AT2[modem-5-telca]: Initialization > of device failed. Attempt #0 on 1 max. > > 2020-10-09 17:25:58 [17752] [23] INFO: AT2[modem-5-telca]: Closing device > > 2020-10-09 17:25:58 [17752] [23] ERROR: AT2[modem-5-telca]: Couldn't > connect (retrying in 10 seconds). > > 2020-10-09 17:26:08 [17752] [23] INFO: AT2[modem-5-telca]: opening device > > 2020-10-09 17:26:08 [17752] [23] INFO: AT2[modem-5-telca]: Logging in > > 2020-10-09 17:26:08 [17752] [23] INFO: AT2[modem-5-telca]: init device > > 2020-10-09 17:26:08 [17752] [23] INFO: AT2[modem-5-telca]: speed set to > 57600 > > 2020-10-09 17:26:12 [17752] [23] ERROR: AT2[modem-5-telca]: Generic error: > ERROR > > 2020-10-09 17:26:13 [17752] [23] ERROR: AT2[modem-5-telca]: +CMS ERROR: > +CMS ERROR: 302 > > 2020-10-09 17:26:13 [17752] [23] ERROR: AT2[modem-5-telca]: +CMS ERROR: > The operation to be done by the AT command is not allowed (302) > > 2020-10-09 17:26:13 [17752] [23] ERROR: AT2[modem-5-telca]: Initialization > of device failed. Attempt #1 on 1 max. > > 2020-10-09 17:26:13 [17752] [23] INFO: AT2[modem-5-telca]: Closing device > > 2020-10-09 17:26:13 [17752] [23] ERROR: AT2[modem-5-telca]: Couldn't > connect (retrying in 10 seconds). > > > > *Vinicio Cruz.* > > >