please add AT+CMEE=2 to your modem config in order to have verbose response from the modem.
what is your config for the modem On 2/28/08, Gytis Grigaravicius <[EMAIL PROTECTED]> wrote: > > Hello, > > As I've read in one forum You've same problem. > > I'm building a system with SMPP (primary) and modem (backup) > connections. For modem connection Im using Enfora GSM0116 embedded module. > > With SMPP part everything goes excellent, but modem connection is able > only to receive messages. Then I try to send message, forcing modem > connection, modem after CMGS command sends back ERROR and after 3 > retries kannel gives up. I've attached part of the log file. > > Any ideas? > > 2008-02-28 14:22:18 [3857] [7] DEBUG: AT2[bite_modem]: <-- OK > 2008-02-28 14:22:18 [3857] [7] DEBUG: AT2[bite_modem]: --> AT^M > 2008-02-28 14:22:19 [3857] [7] DEBUG: AT2[bite_modem]: <-- AT > 2008-02-28 14:22:19 [3857] [7] DEBUG: AT2[bite_modem]: <-- OK > 2008-02-28 14:22:19 [3857] [7] DEBUG: AT2[bite_modem]: --> AT&F^M > 2008-02-28 14:22:20 [3857] [7] DEBUG: AT2[bite_modem]: <-- AT&F > 2008-02-28 14:22:20 [3857] [7] DEBUG: AT2[bite_modem]: <-- OK > 2008-02-28 14:22:20 [3857] [7] DEBUG: AT2[bite_modem]: --> ATE0^M > 2008-02-28 14:22:21 [3857] [7] DEBUG: AT2[bite_modem]: <-- ATE0 > 2008-02-28 14:22:21 [3857] [7] DEBUG: AT2[bite_modem]: <-- OK > 2008-02-28 14:22:21 [3857] [7] DEBUG: AT2[bite_modem]: --> AT+IFC=2,2^M > 2008-02-28 14:22:22 [3857] [7] DEBUG: AT2[bite_modem]: <-- OK > 2008-02-28 14:22:22 [3857] [7] DEBUG: AT2[bite_modem]: --> AT+CPIN?^M > 2008-02-28 14:22:23 [3857] [7] DEBUG: AT2[bite_modem]: <-- +CPIN: READY > 2008-02-28 14:22:23 [3857] [7] DEBUG: AT2[bite_modem]: <-- OK > 2008-02-28 14:22:23 [3857] [7] DEBUG: AT2[bite_modem]: --> AT+CMGF=0^M > 2008-02-28 14:22:24 [3857] [7] DEBUG: AT2[bite_modem]: <-- OK > 2008-02-28 14:22:24 [3857] [7] DEBUG: AT2[bite_modem]: --> AT+CSMS=?^M > 2008-02-28 14:22:25 [3857] [7] DEBUG: AT2[bite_modem]: <-- +CSMS: (0,1) > 2008-02-28 14:22:25 [3857] [7] DEBUG: AT2[bite_modem]: <-- OK > 2008-02-28 14:22:25 [3857] [7] INFO: AT2[bite_modem]: Phase 2+ is > supported > 2008-02-28 14:22:25 [3857] [7] DEBUG: AT2[bite_modem]: --> AT+CSMS=1^M > 2008-02-28 14:22:26 [3857] [7] DEBUG: AT2[bite_modem]: <-- +CSMS: 1,1,1 > 2008-02-28 14:22:26 [3857] [7] DEBUG: AT2[bite_modem]: <-- OK > 2008-02-28 14:22:26 [3857] [7] DEBUG: AT2[bite_modem]: --> > AT+CNMI=1,2,0,1,0^M > 2008-02-28 14:22:27 [3857] [7] DEBUG: AT2[bite_modem]: <-- OK > 2008-02-28 14:22:27 [3857] [7] INFO: AT2[bite_modem]: AT SMSC > successfully opened. > 2008-02-28 14:22:29 [3857] [7] DEBUG: AT2[bite_modem]: --> AT+CSQ^M > 2008-02-28 14:22:29 [3857] [7] DEBUG: AT2[bite_modem]: <-- +CSQ: 23,99 > 2008-02-28 14:22:30 [3857] [7] DEBUG: AT2[bite_modem]: <-- OK > 2008-02-28 14:22:37 [3857] [17] DEBUG: boxc_receiver: sms received > 2008-02-28 14:22:37 [3857] [17] DEBUG: send_msg: sending msg to box: > <127.0.0.1> > 2008-02-28 14:22:38 [3857] [7] DEBUG: AT2[bite_modem]: > TP-Validity-Period: 24.0 hours > 2008-02-28 14:22:38 [3857] [7] DEBUG: AT2[bite_modem]: --> AT+CMGS=19^M > 2008-02-28 14:22:38 [3857] [7] DEBUG: AT2[bite_modem]: <-- > > 2008-02-28 14:22:38 [3857] [7] DEBUG: AT2[bite_modem]: send command > status: 1 > 2008-02-28 14:22:38 [3857] [7] DEBUG: AT2[bite_modem]: --> > 0031000B817360475388F80000A705C8329BFD06 > 2008-02-28 14:22:39 [3857] [7] DEBUG: AT2[bite_modem]: --> ^Z > 2008-02-28 14:22:42 [3857] [7] DEBUG: AT2[bite_modem]: <-- > > 2008-02-28 14:22:42 [3857] [7] DEBUG: AT2[bite_modem]: <-- ERROR > 2008-02-28 14:22:42 [3857] [7] ERROR: AT2[bite_modem]: Generic error: > ERROR > 2008-02-28 14:22:42 [3857] [7] DEBUG: AT2[bite_modem]: send command > status: -1 > 2008-02-28 14:22:42 [3857] [7] DEBUG: AT2[bite_modem]: --> AT+CMGS=19^M > 2008-02-28 14:22:43 [3857] [7] DEBUG: AT2[bite_modem]: <-- > > 2008-02-28 14:22:43 [3857] [7] DEBUG: AT2[bite_modem]: send command > status: 1 > 2008-02-28 14:22:43 [3857] [7] DEBUG: AT2[bite_modem]: --> > 0031000B817360475388F80000A705C8329BFD06 > 2008-02-28 14:22:44 [3857] [7] DEBUG: AT2[bite_modem]: --> ^Z > 2008-02-28 14:22:46 [3857] [6] DEBUG: SMPP[bite_smpp]: Sending enquire > link: > 2008-02-28 14:22:46 [3857] [6] DEBUG: SMPP PDU 0x81a5f38 dump: > 2008-02-28 14:22:46 [3857] [6] DEBUG: type_name: enquire_link > 2008-02-28 14:22:46 [3857] [6] DEBUG: command_id: 21 = 0x00000015 > 2008-02-28 14:22:46 [3857] [6] DEBUG: command_status: 0 = 0x00000000 > 2008-02-28 14:22:46 [3857] [6] DEBUG: sequence_number: 2 = 0x00000002 > 2008-02-28 14:22:46 [3857] [6] DEBUG: SMPP PDU dump ends. > 2008-02-28 14:22:46 [3857] [6] DEBUG: SMPP[bite_smpp]: Got PDU: > 2008-02-28 14:22:46 [3857] [6] DEBUG: SMPP PDU 0x81a5f38 dump: > 2008-02-28 14:22:46 [3857] [6] DEBUG: type_name: enquire_link_resp > 2008-02-28 14:22:46 [3857] [6] DEBUG: command_id: 2147483669 = > 0x80000015 > 2008-02-28 14:22:46 [3857] [6] DEBUG: command_status: 0 = 0x00000000 > 2008-02-28 14:22:46 [3857] [6] DEBUG: sequence_number: 2 = 0x00000002 > 2008-02-28 14:22:46 [3857] [6] DEBUG: SMPP PDU dump ends. > 2008-02-28 14:22:47 [3857] [7] DEBUG: AT2[bite_modem]: <-- > > 2008-02-28 14:22:47 [3857] [7] DEBUG: AT2[bite_modem]: <-- ERROR > 2008-02-28 14:22:47 [3857] [7] ERROR: AT2[bite_modem]: Generic error: > ERROR > 2008-02-28 14:22:47 [3857] [7] DEBUG: AT2[bite_modem]: send command > status: -1 > 2008-02-28 14:22:47 [3857] [7] DEBUG: AT2[bite_modem]: --> AT+CMGS=19^M > 2008-02-28 14:22:48 [3857] [7] DEBUG: AT2[bite_modem]: <-- > > 2008-02-28 14:22:48 [3857] [7] DEBUG: AT2[bite_modem]: send command > status: 1 > 2008-02-28 14:22:48 [3857] [7] DEBUG: AT2[bite_modem]: --> > 0031000B817360475388F80000A705C8329BFD06 > 2008-02-28 14:22:49 [3857] [7] DEBUG: AT2[bite_modem]: --> ^Z > 2008-02-28 14:22:50 [3857] [2] DEBUG: HTTP: Creating HTTPClient for > `192.168.2.13'. > 2008-02-28 14:22:50 [3857] [2] DEBUG: HTTP: Created HTTPClient area > 0x81a5f38. > 2008-02-28 14:22:50 [3857] [3] DEBUG: HTTP: Resetting HTTPClient for > `192.168.2.13'. > 2008-02-28 14:22:51 [3857] [3] DEBUG: HTTP: Resetting HTTPClient for > `192.168.2.13'. > 2008-02-28 14:22:51 [3857] [7] DEBUG: AT2[bite_modem]: <-- > > 2008-02-28 14:22:51 [3857] [7] DEBUG: AT2[bite_modem]: <-- ERROR > 2008-02-28 14:22:51 [3857] [7] ERROR: AT2[bite_modem]: Generic error: > ERROR > 2008-02-28 14:22:51 [3857] [7] DEBUG: AT2[bite_modem]: send command > status: -1 > 2008-02-28 14:22:51 [3857] [7] DEBUG: SMSC[bite_modem]: creating DLR > message > 2008-02-28 14:22:51 [3857] [7] DEBUG: SMSC[bite_modem]: DLR = > > > Alvaro Cornejo wrote: > > What is your specific problem?? > > > > I use 2118 model. I´v contacted enfora support and they sent me a > firmware > > update. It helped to have a more stable modem but still having > problems... > > I´m looking for test other modems since Enfora seem no to be stable > under > > load > > > > Regards > > > > Alvaro > > > > > > -----Mensaje original----- > > De: Gytis Grigaravicius [mailto:[EMAIL PROTECTED] > > Enviado el: Jueves, 28 de Febrero de 2008 04:07 > > Para: [EMAIL PROTECTED] > > Asunto: Re: kannel fails sending messages using smsc_at. Please Help!!! > > > > > > Hello, > > > > I'm facing the same problem but with Enfora 1212 and 0116 modems. Google > > gives no answer :) > > > > Maybe You have already solved it and can share Your solution with me? > > > > -- > Su pagarba, > Gytis Grigaravičius > Programuotojas - Analitikas > > UAB "Simbiotecha" > +370 674 35888 > [EMAIL PROTECTED] > > -- |-----------------------------------------------------------------------------------------------------------------| Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier celular y Nextel en México y en mas de 180 paises. Use aplicaciones 2 vias via SMS y GPRS online Visitenos en www.smsglobal.com.mx y www.pravcom.com