Hi, I am getting a generic ERROR while sending messages. My logs and conf's are described below.
Modem: Maestro 100 Kannel: RPM Version 1.4.1 OS: Fedora Core 5 The same works flawlessly with Maestro 20. Conf ==== #SMSC GSM Fargo Maestro 100 Modem group = smsc smsc = at smsc-id = GSM modemtype = WAVECOM device = /dev/ttyS0 validityperiod = 167 speed = 9600 my-number = +9198XXXXXXXX sms-center = +919811009998 keepalive = 60 sim-buffering = true # Fargo Maestro 20 900/1800 GSM Modem (Working) #group = modems #id = wavecom #name = "Fargo Maestro 20" #detect-string = "WAVECOM" #need-sleep = true #keepalive-cmd = "AT+CBC;+CSQ" #enable-mms = false #speed = 9600 # Maestro 100 900/1800 GSM Modem (Not Working) group = modems id = wavecom name = "Maestro 100 Lite" detect-string = "WAVECOM" need-sleep = true keepalive-cmd = "AT+CBC;+CSQ" enable-mms = false speed = 9600 Logs ==== 2008-03-03 15:27:10 [8740] [0] INFO: Kannel bearerbox II version 1.4.1 starting 2008-03-03 15:27:10 [8740] [0] INFO: MAIN: Start-up done, entering mainloop 2008-03-03 15:27:10 [8740] [0] DEBUG: AT2[GSM]: start called 2008-03-03 15:27:10 [8740] [6] DEBUG: AT2[GSM]: device opened 2008-03-03 15:27:10 [8740] [7] DEBUG: sms_router: gwlist_len = 0 2008-03-03 15:27:10 [8740] [12] DEBUG: Thread 12 (gw/bearerbox.c:wdp_router) maps to pid 8740. 2008-03-03 15:27:10 [8740] [12] DEBUG: udp_die: removing producers from udp-lists 2008-03-03 15:27:10 [8740] [12] DEBUG: Thread 12 (gw/bearerbox.c:wdp_router) terminates. 2008-03-03 15:27:11 [8740] [6] DEBUG: AT2[GSM]: device opened 2008-03-03 15:27:11 [8740] [6] INFO: AT2[GSM]: speed set to 9600 2008-03-03 15:27:11 [8740] [6] DEBUG: AT2[GSM]: --> ^M 2008-03-03 15:27:13 [8740] [6] DEBUG: AT2[GSM]: --> AT^M 2008-03-03 15:27:13 [8740] [6] DEBUG: AT2[GSM]: <-- OK 2008-03-03 15:27:13 [8740] [6] DEBUG: AT2[GSM]: --> AT&F^M 2008-03-03 15:27:13 [8740] [6] DEBUG: AT2[GSM]: <-- OK 2008-03-03 15:27:13 [8740] [6] DEBUG: AT2[GSM]: --> ATE0^M 2008-03-03 15:27:13 [8740] [5] INFO: Client connected from <127.0.0.1> 2008-03-03 15:27:13 [8740] [5] DEBUG: Started thread 13 (gw/bb_boxc.c:function) 2008-03-03 15:27:13 [8740] [13] DEBUG: Thread 13 (gw/bb_boxc.c:function) maps to pid 8740. 2008-03-03 15:27:13 [8740] [13] DEBUG: Started thread 14 (gw/bb_boxc.c:boxc_sender) 2008-03-03 15:27:13 [8740] [14] DEBUG: Thread 14 (gw/bb_boxc.c:boxc_sender) maps to pid 8740. 2008-03-03 15:27:14 [8740] [6] DEBUG: AT2[GSM]: <-- OK 2008-03-03 15:27:14 [8740] [6] DEBUG: AT2[GSM]: --> ATI^M 2008-03-03 15:27:14 [8740] [6] DEBUG: AT2[GSM]: <-- WAVECOM MODEM 2008-03-03 15:27:14 [8740] [6] DEBUG: AT2[GSM]: <-- MULTIBAND 900E 1800 2008-03-03 15:27:14 [8740] [6] DEBUG: AT2[GSM]: <-- OK 2008-03-03 15:27:14 [8740] [6] DEBUG: AT2[GSM]: found string <WAVECOM>, using modem definition <Maestro 100 Lite> 2008-03-03 15:27:14 [8740] [6] DEBUG: AT2[GSM]: --> AT+CSMS=?^M 2008-03-03 15:27:14 [8740] [6] DEBUG: AT2[GSM]: <-- +CSMS: (0,1) 2008-03-03 15:27:14 [8740] [6] DEBUG: AT2[GSM]: <-- OK 2008-03-03 15:27:14 [8740] [6] INFO: AT2[GSM]: Phase 2+ is supported 2008-03-03 15:27:14 [8740] [6] INFO: AT2[GSM]: closing device 2008-03-03 15:27:14 [8740] [6] INFO: AT2[GSM]: opening device 2008-03-03 15:27:14 [8740] [6] DEBUG: AT2[GSM]: device opened 2008-03-03 15:27:15 [8740] [6] DEBUG: AT2[GSM]: device opened 2008-03-03 15:27:15 [8740] [6] INFO: AT2[GSM]: init device 2008-03-03 15:27:15 [8740] [6] INFO: AT2[GSM]: speed set to 9600 2008-03-03 15:27:15 [8740] [6] DEBUG: AT2[GSM]: --> ATZ^M 2008-03-03 15:27:15 [8740] [6] DEBUG: AT2[GSM]: <-- OK 2008-03-03 15:27:15 [8740] [6] DEBUG: AT2[GSM]: --> AT^M 2008-03-03 15:27:15 [8740] [6] DEBUG: AT2[GSM]: <-- AT 2008-03-03 15:27:15 [8740] [6] DEBUG: AT2[GSM]: <-- OK 2008-03-03 15:27:15 [8740] [6] DEBUG: AT2[GSM]: --> AT&F^M 2008-03-03 15:27:15 [8740] [6] DEBUG: AT2[GSM]: <-- AT&F 2008-03-03 15:27:15 [8740] [6] DEBUG: AT2[GSM]: <-- OK 2008-03-03 15:27:15 [8740] [6] DEBUG: AT2[GSM]: --> ATE0^M 2008-03-03 15:27:16 [8740] [6] DEBUG: AT2[GSM]: <-- ATE0 2008-03-03 15:27:16 [8740] [6] DEBUG: AT2[GSM]: <-- OK 2008-03-03 15:27:16 [8740] [6] DEBUG: AT2[GSM]: --> AT+IFC=2,2^M 2008-03-03 15:27:16 [8740] [6] DEBUG: AT2[GSM]: <-- OK 2008-03-03 15:27:16 [8740] [6] DEBUG: AT2[GSM]: --> AT+CPIN?^M 2008-03-03 15:27:16 [8740] [6] DEBUG: AT2[GSM]: <-- +CPIN: READY 2008-03-03 15:27:27 [8740] [6] DEBUG: AT2[GSM]: --> AT +CSCA="+919811009998"^M 2008-03-03 15:27:27 [8740] [6] DEBUG: AT2[GSM]: <-- OK 2008-03-03 15:27:27 [8740] [6] DEBUG: AT2[GSM]: --> AT+CMGF=0^M 2008-03-03 15:27:27 [8740] [6] DEBUG: AT2[GSM]: <-- OK 2008-03-03 15:27:27 [8740] [6] DEBUG: AT2[GSM]: --> AT+CSMS=?^M 2008-03-03 15:27:27 [8740] [6] DEBUG: AT2[GSM]: <-- +CSMS: (0,1) 2008-03-03 15:27:27 [8740] [6] DEBUG: AT2[GSM]: <-- OK 2008-03-03 15:27:27 [8740] [6] INFO: AT2[GSM]: Phase 2+ is supported 2008-03-03 15:27:27 [8740] [6] DEBUG: AT2[GSM]: --> AT+CSMS=1^M 2008-03-03 15:27:27 [8740] [6] DEBUG: AT2[GSM]: <-- +CSMS: 1,1,1 2008-03-03 15:27:27 [8740] [6] DEBUG: AT2[GSM]: <-- OK 2008-03-03 15:27:27 [8740] [6] DEBUG: AT2[GSM]: --> AT+CNMI=1,2,0,1,0^M 2008-03-03 15:27:27 [8740] [6] DEBUG: AT2[GSM]: <-- OK 2008-03-03 15:27:27 [8740] [6] INFO: AT2[GSM]: AT SMSC successfully opened. 2008-03-03 15:27:29 [8740] [6] DEBUG: AT2[GSM]: --> AT+CBC;+CSQ^M 2008-03-03 15:27:29 [8740] [6] DEBUG: AT2[GSM]: <-- +CBC: 0,0 2008-03-03 15:27:29 [8740] [6] DEBUG: AT2[GSM]: <-- +CSQ: 31,0 2008-03-03 15:27:29 [8740] [6] DEBUG: AT2[GSM]: <-- OK 2008-03-03 15:27:29 [8740] [6] DEBUG: AT2[GSM]: --> AT+CPMS?^M 2008-03-03 15:27:29 [8740] [6] DEBUG: AT2[GSM]: <-- +CPMS: "SM",0,17,"SM",0,17,"SM",0,17 2008-03-03 15:27:29 [8740] [6] DEBUG: AT2[GSM]: <-- OK 2008-03-03 15:28:12 [8740] [13] DEBUG: boxc_receiver: sms received 2008-03-03 15:28:12 [8740] [13] DEBUG: send_msg: sending msg to box: <127.0.0.1> 2008-03-03 15:28:13 [8740] [6] DEBUG: AT2[GSM]: TP-Validity-Period: 24.0 hours 2008-03-03 15:28:13 [8740] [6] DEBUG: AT2[GSM]: --> AT+CMGS=20^M 2008-03-03 15:28:13 [8740] [6] DEBUG: AT2[GSM]: <-- > 2008-03-03 15:28:13 [8740] [6] DEBUG: AT2[GSM]: send command status: 1 2008-03-03 15:28:13 [8740] [6] DEBUG: AT2[GSM]: --> 0011000C911989012547840000A706F4F29C0E9A01 2008-03-03 15:28:13 [8740] [6] DEBUG: AT2[GSM]: --> ^Z 2008-03-03 15:28:13 [8740] [6] DEBUG: AT2[GSM]: <-- > 2008-03-03 15:28:13 [8740] [6] DEBUG: AT2[GSM]: <-- ERROR 2008-03-03 15:28:13 [8740] [6] ERROR: AT2[GSM]: Generic error: ERROR 2008-03-03 15:28:13 [8740] [6] DEBUG: AT2[GSM]: send command status: -1 2008-03-03 15:28:13 [8740] [6] DEBUG: AT2[GSM]: --> AT+CMGS=20^M 2008-03-03 15:28:13 [8740] [6] DEBUG: AT2[GSM]: <-- > 2008-03-03 15:28:13 [8740] [6] DEBUG: AT2[GSM]: send command status: 1 2008-03-03 15:28:13 [8740] [6] DEBUG: AT2[GSM]: --> 0011000C911989012547840000A706F4F29C0E9A01 2008-03-03 15:28:13 [8740] [6] DEBUG: AT2[GSM]: --> ^Z 2008-03-03 15:28:13 [8740] [6] DEBUG: AT2[GSM]: <-- > 2008-03-03 15:28:13 [8740] [6] DEBUG: AT2[GSM]: <-- ERROR 2008-03-03 15:28:13 [8740] [6] ERROR: AT2[GSM]: Generic error: ERROR 2008-03-03 15:28:13 [8740] [6] DEBUG: AT2[GSM]: send command status: -1 2008-03-03 15:28:13 [8740] [6] DEBUG: AT2[GSM]: --> AT+CMGS=20^M 2008-03-03 15:28:13 [8740] [6] DEBUG: AT2[GSM]: <-- > 2008-03-03 15:28:13 [8740] [6] DEBUG: AT2[GSM]: send command status: 1 2008-03-03 15:28:13 [8740] [6] DEBUG: AT2[GSM]: --> 0011000C911989012547840000A706F4F29C0E9A01 2008-03-03 15:28:13 [8740] [6] DEBUG: AT2[GSM]: --> ^Z 2008-03-03 15:28:14 [8740] [6] DEBUG: AT2[GSM]: <-- > 2008-03-03 15:28:14 [8740] [6] DEBUG: AT2[GSM]: <-- ERROR 2008-03-03 15:28:14 [8740] [6] ERROR: AT2[GSM]: Generic error: ERROR 2008-03-03 15:28:14 [8740] [6] DEBUG: AT2[GSM]: send command status: -1 As you can see it binds to the modem successfully but cannot send. The SIM has been tested on Maestro 20 and also on a phone. I have also changed settings for speed to auto detect(0). Any Help is greatly appreciated. Please point me to TFM where I can proceed. Thanks Shiv
