Hi Vinicio, I guess you are not in debug mode. If you were, you shall be able to see communication between smsc and modem.
You shall see something like 2016-06-15 13:48:53 [1747] [6] DEBUG: AT2[huawei]: device opened 2016-06-15 13:48:53 [1747] [6] INFO: AT2[huawei]: Logging in 2016-06-15 13:48:53 [1747] [6] INFO: AT2[huawei]: init device 2016-06-15 13:48:53 [1747] [6] INFO: AT2[huawei]: speed set to 9600 2016-06-15 13:48:54 [1747] [6] DEBUG: AT2[huawei]: --> ATZ^M 2016-06-15 13:48:54 [1747] [6] DEBUG: AT2[huawei]: <-- OK 2016-06-15 13:48:54 [1747] [6] DEBUG: AT2[huawei]: --> AT^M 2016-06-15 13:48:54 [1747] [6] DEBUG: AT2[huawei]: <-- AT 2016-06-15 13:48:54 [1747] [6] DEBUG: AT2[huawei]: <-- OK 2016-06-15 13:48:54 [1747] [6] DEBUG: AT2[huawei]: --> AT&F^M 2016-06-15 13:48:54 [1747] [6] DEBUG: AT2[huawei]: <-- AT&F 2016-06-15 13:48:54 [1747] [6] DEBUG: AT2[huawei]: <-- OK 2016-06-15 13:48:54 [1747] [6] DEBUG: AT2[huawei]: --> ATE0^M 2016-06-15 13:48:54 [1747] [6] DEBUG: AT2[huawei]: <-- ATE0 2016-06-15 13:48:54 [1747] [6] DEBUG: AT2[huawei]: <-- OK 2016-06-15 13:48:54 [1747] [6] DEBUG: AT2[huawei]: --> AT+IFC=2,2^M 2016-06-15 13:48:54 [1747] [6] DEBUG: AT2[huawei]: <-- OK 2016-06-15 13:48:54 [1747] [6] DEBUG: AT2[huawei]: --> AT+CMGF=0^M 2016-06-15 13:48:54 [1747] [6] DEBUG: AT2[huawei]: <-- ERROR 2016-06-15 13:48:54 [1747] [6] ERROR: AT2[huawei]: Generic error: ERROR 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 dim. 11 oct. 2020 à 11:22, Vinicio Cruz <vinicio.c...@gmail.com> a écrit : > Did it in debug mode and I don’t see much change, it loos like if AT > commands for sms where not allowed when placed in modem, sim installed in > Samsung phone (J5) works fine sending and receiving sms, I can make and > receive call installed in modem too. > > > > Here is the new log: > > > > 2020-10-09 20:29:18 [17752] [25] INFO: AT2[modem-5-telca]: opening device > > 2020-10-09 20:29:18 [17752] [25] INFO: AT2[modem-5-telca]: Logging in > > 2020-10-09 20:29:18 [17752] [25] INFO: AT2[modem-5-telca]: init device > > 2020-10-09 20:29:18 [17752] [25] INFO: AT2[modem-5-telca]: speed set to > 57600 > > 2020-10-09 20:29:22 [17752] [25] ERROR: AT2[modem-5-telca]: Generic error: > ERROR > > 2020-10-09 20:29:23 [17752] [25] ERROR: AT2[modem-5-telca]: +CMS ERROR: > +CMS ERROR: 302 > > 2020-10-09 20:29:23 [17752] [25] ERROR: AT2[modem-5-telca]: +CMS ERROR: > The operation to be done by the AT command is not allowed (302) > > 2020-10-09 20:29:23 [17752] [25] ERROR: AT2[modem-5-telca]: Initialization > of device failed. Attempt #0 on 1 max. > > 2020-10-09 20:29:23 [17752] [25] INFO: AT2[modem-5-telca]: Closing device > > 2020-10-09 20:29:23 [17752] [25] ERROR: AT2[modem-5-telca]: Couldn't > connect (retrying in 10 seconds). > > > > I tried commands with minicom and almost any sms command return the 302 > error, here the screenshot. > > > > > > > > > > *From:* Alvaro Cornejo [mailto:cornejo.alv...@gmail.com] > *Sent:* Friday, October 9, 2020 8:47 PM > *To:* Vinicio Cruz > *Cc:* users > *Subject:* Re: Modem not connecting > > > > 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.* > > > >