Hi, Indeed, I take the CPIN command config modem and this time I get a new error message about attaching the smsc center number, i also try the no-smsc to circumvent this but still get this new error message. (While both modem sends and receive sms on Windows 8.1).
Best regards, Here is a copy of the log file: 2016-06-14 22:55:07 [1760] [7] DEBUG: Thread 7 (gw/bb_smscconn.c:sms_router) maps to pid 1760. 2016-06-14 22:55:07 [1760] [6] INFO: AT2[huawei]: trying to use speed <9600> from modem definition 2016-06-14 22:55:07 [1760] [6] INFO: AT2[huawei]: opening device 2016-06-14 22:55:07 [1760] [0] INFO: Loading store file `/var/log/kannel/kannel.store' 2016-06-14 22:55:07 [1760] [0] INFO: Store-file size 0, starting to unpack 2016-06-14 22:55:07 [1760] [0] INFO: Retrieved 0 messages, non-acknowledged messages: 0 2016-06-14 22:55:07 [1760] [6] DEBUG: AT2[huawei]: device opened. Telnet mode = 0 2016-06-14 22:55:07 [1760] [0] DEBUG: Started thread 8 (gw/bb_store_file.c:store_dumper) 2016-06-14 22:55:07 [1760] [0] INFO: MAIN: Start-up done, entering mainloop 2016-06-14 22:55:07 [1760] [0] DEBUG: AT2[huawei]: start called 2016-06-14 22:55:07 [1760] [8] DEBUG: Thread 8 (gw/bb_store_file.c:store_dumper) maps to pid 1760. 2016-06-14 22:55:07 [1760] [8] DEBUG: Dumping 0 messages to store 2016-06-14 22:55:08 [1760] [6] DEBUG: AT2[huawei]: device opened 2016-06-14 22:55:08 [1760] [6] INFO: AT2[huawei]: speed set to 9600 2016-06-14 22:55:08 [1760] [6] DEBUG: AT2[huawei]: --> ^M 2016-06-14 22:55:10 [1760] [6] DEBUG: AT2[huawei]: --> AT^M 2016-06-14 22:55:10 [1760] [6] DEBUG: AT2[huawei]: <-- AT 2016-06-14 22:55:10 [1760] [6] DEBUG: AT2[huawei]: <-- OK 2016-06-14 22:55:10 [1760] [6] INFO: AT2[huawei]: Closing device 2016-06-14 22:55:10 [1760] [6] INFO: AT2[huawei]: speed is 9600 2016-06-14 22:55:10 [1760] [6] INFO: AT2[huawei]: opening device 2016-06-14 22:55:10 [1760] [6] DEBUG: AT2[huawei]: device opened. Telnet mode = 0 2016-06-14 22:55:11 [1760] [6] DEBUG: AT2[huawei]: device opened 2016-06-14 22:55:11 [1760] [6] INFO: AT2[huawei]: Logging in 2016-06-14 22:55:11 [1760] [6] INFO: AT2[huawei]: init device 2016-06-14 22:55:11 [1760] [6] INFO: AT2[huawei]: speed set to 9600 2016-06-14 22:55:11 [1760] [6] DEBUG: AT2[huawei]: --> ATZ^M 2016-06-14 22:55:11 [1760] [6] DEBUG: AT2[huawei]: <-- ATZ 2016-06-14 22:55:11 [1760] [6] DEBUG: AT2[huawei]: <-- OK 2016-06-14 22:55:11 [1760] [6] DEBUG: AT2[huawei]: --> AT^M 2016-06-14 22:55:11 [1760] [6] DEBUG: AT2[huawei]: <-- AT 2016-06-14 22:55:11 [1760] [6] DEBUG: AT2[huawei]: <-- OK 2016-06-14 22:55:11 [1760] [6] DEBUG: AT2[huawei]: --> AT&F^M 2016-06-14 22:55:12 [1760] [6] DEBUG: AT2[huawei]: <-- AT&F 2016-06-14 22:55:12 [1760] [6] DEBUG: AT2[huawei]: <-- OK 2016-06-14 22:55:12 [1760] [6] DEBUG: AT2[huawei]: --> ATE0^M 2016-06-14 22:55:12 [1760] [6] DEBUG: AT2[huawei]: <-- ATE0 2016-06-14 22:55:12 [1760] [6] DEBUG: AT2[huawei]: <-- OK 2016-06-14 22:55:12 [1760] [6] DEBUG: AT2[huawei]: --> AT+IFC=2,2^M 2016-06-14 22:55:12 [1760] [6] DEBUG: AT2[huawei]: <-- OK 2016-06-14 22:55:12 [1760] [6] DEBUG: AT2[huawei]: --> AT+CSCA="+XXXXXXXXXX"^M 2016-06-14 22:55:12 [1760] [6] DEBUG: AT2[huawei]: <-- COMMAND NOT SUPPORT 2016-06-14 22:55:14 [1760] [0] WARNING: Killing signal or HTTP admin command received, shutting down... 2016-06-14 22:55:14 [1760] [0] DEBUG: Shutting down Kannel... 2016-06-14 22:55:14 [1760] [0] DEBUG: shutting down smsc 2016-06-14 22:55:14 [1760] [0] DEBUG: AT2[huawei]: Shutting down SMSCConn, slow 2016-06-14 22:55:14 [1760] [0] DEBUG: shutting down udp 2016-06-14 22:55:16 [1760] [6] ERROR: AT2[huawei]: Initialization of device failed. 2016-06-14 22:55:16 [1760] [6] INFO: AT2[huawei]: Closing device 2016-06-14 22:55:16 [1760] [6] INFO: AT2[huawei]: Closing device 2016-06-14 22:55:16 [1760] [7] DEBUG: Thread 7 (gw/bb_smscconn.c:sms_router) terminates. 2016-06-14 22:55:16 [1760] [4] DEBUG: Thread 4 (gw/bb_boxc.c:sms_to_smsboxes) terminates. 2016-06-14 22:55:16 [1760] [5] DEBUG: Thread 5 (gw/bb_boxc.c:smsboxc_run) terminates. ________________________________ De : Alvaro Cornejo <cornejo.alv...@gmail.com> Envoyé : mardi 14 juin 2016 19:29 À : Paul Isidore Cc : users@kannel.org Objet : Re: Kannel and Huawei EC167 and EC156 failed to reponse to AT+CPIN=? command Hi Don't know the solution but here are a couple of workarounds: If you don't use it that dongle for sms messaging, don't include it in kannel config. Else you can remove CPIN command in your kannel config for that dongle. 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<http://www.perusms.com> On Mon, Jun 13, 2016 at 7:59 PM, Paul Isidore <paul_isid...@hotmail.com<mailto:paul_isid...@hotmail.com>> wrote: Hello, I'm newbie and i try to make a SMSC center woth Kannel and one of two Huawei dongle Modem (EC167 and EC156) After doing kannel configuration and run : sudo bearerbox -v 0 /etc/kannel/kannel.conf i got error SIM CARD not inserted. There is no need to use a SIM card with the USB dongle because i used it to connect to internet but i put one in it and the same error is still coming. this is the log file, please help me : 2016-06-14 00:50:05 [8472] [6] INFO: AT2[huawei]: Logging in 2016-06-14 00:50:05 [8472] [6] INFO: AT2[huawei]: init device 2016-06-14 00:50:05 [8472] [6] INFO: AT2[huawei]: speed set to 9600 2016-06-14 00:50:05 [8472] [6] DEBUG: AT2[huawei]: --> ATZ^M 2016-06-14 00:50:05 [8472] [6] DEBUG: AT2[huawei]: <-- OK 2016-06-14 00:50:05 [8472] [6] DEBUG: AT2[huawei]: --> AT^M 2016-06-14 00:50:06 [8472] [6] DEBUG: AT2[huawei]: <-- AT 2016-06-14 00:50:06 [8472] [6] DEBUG: AT2[huawei]: <-- OK 2016-06-14 00:50:06 [8472] [6] DEBUG: AT2[huawei]: --> AT&F^M 2016-06-14 00:50:06 [8472] [6] DEBUG: AT2[huawei]: <-- AT&F 2016-06-14 00:50:06 [8472] [6] DEBUG: AT2[huawei]: <-- OK 2016-06-14 00:50:06 [8472] [6] DEBUG: AT2[huawei]: --> ATE0^M 2016-06-14 00:50:06 [8472] [6] DEBUG: AT2[huawei]: <-- ATE0 2016-06-14 00:50:06 [8472] [6] DEBUG: AT2[huawei]: <-- OK 2016-06-14 00:50:06 [8472] [6] DEBUG: AT2[huawei]: --> AT+IFC=2,2^M 2016-06-14 00:50:06 [8472] [6] DEBUG: AT2[huawei]: <-- OK 2016-06-14 00:50:06 [8472] [6] DEBUG: AT2[huawei]: --> AT+CPIN?^M 2016-06-14 00:50:06 [8472] [6] DEBUG: AT2[huawei]: <-- +CME ERROR:SIM not inserted 2016-06-14 00:50:06 [8472] [6] ERROR: AT2[huawei]: Generic error: +CME ERROR:SIM not inserted 2016-06-14 00:50:06 [8472] [6] ERROR: AT2[huawei]: Initialization of device failed. 2016-06-14 00:50:06 [8472] [6] INFO: AT2[huawei]: Closing device 2016-06-14 00:50:06 [8472] [6] INFO: AT2[huawei]: Closing device [X][X] ________________________________ Paul Isidore A. NIAMIE ?? ???????????? Directeur G??n??ral?????????? Micro Computer Programme???????? Bur: 00 221 33 864 42 54 Cell: 00 221 77 561 88 16 [X][X] ??