Hello ! I'm having problem sending a SMS with Kannel, it always says a -1 response an i don't understand. let me paste the logs and the config.
Any idea ? == CONFIG === # Core Config group = core admin-port = 13000 admin-password = XXX status-password = XXX admin-deny-ip = "*.*.*.*" admin-allow-ip = "127.0.0.1;10.10.0.*" smsbox-port = 13002 wdp-interface-name = "*" log-file = "/var/log/kannel/bearerbox.log" box-deny-ip = "*.*.*.*" box-allow-ip = "127.0.0.1;10.10.0.*" store-file = "/var/log/kannel/kannel.store" access-log = "/var/log/kannel/access.log" # Modem ;) group = smsc smsc = at smsc-id = "SMSC" modemtype = sonygt48 device = /dev/ttyUSB0 speed = 9600 group = modems id = sonygt48 name = "Sony Ericsson" detect-string = "GR48" init-string = "AT+CNMI=3,2,0,0" reset-string = "ATZ" broken = true # SMS User group = sendsms-user username = sms password = sms123 # SMS Box group = smsbox bearerbox-host = localhost sendsms-port = 13003 global-sender = 301002233 log-file = "/var/log/kannel/smsbox.log" access-log = "/var/log/kannel/smsaccess.log" === LOGS (ACCESS LOG) ===== 2007-07-09 14:44:15 Log begins 2007-07-09 14:45:12 FAILED Send SMS [SMSC:SMSC] [SVC:sms] [ACT:] [BINF:] [from:301002233] [to:3014215586] [flags:-1:0:-1:-1:-1] [msg:20:Mensaje desde Kannel] [udh:0:] === LOGS (BEARER LOG) === 2007-07-09 14:44:31 [11692] [6] INFO: AT2[SMSC]: init device 2007-07-09 14:44:31 [11692] [6] INFO: AT2[SMSC]: speed set to 9600 2007-07-09 14:44:32 [11692] [6] DEBUG: AT2[SMSC]: --> ATZ^M 2007-07-09 14:44:32 [11692] [6] DEBUG: AT2[SMSC]: <-- OK 2007-07-09 14:44:32 [11692] [6] DEBUG: AT2[SMSC]: --> AT^M 2007-07-09 14:44:33 [11692] [6] DEBUG: AT2[SMSC]: <-- OK 2007-07-09 14:44:33 [11692] [6] DEBUG: AT2[SMSC]: --> AT&F^M 2007-07-09 14:44:33 [11692] [6] DEBUG: AT2[SMSC]: <-- AT&F 2007-07-09 14:44:33 [11692] [6] DEBUG: AT2[SMSC]: <-- OK 2007-07-09 14:44:33 [11692] [6] DEBUG: AT2[SMSC]: --> ATE0^M 2007-07-09 14:44:33 [11692] [6] DEBUG: AT2[SMSC]: <-- ATE0 2007-07-09 14:44:33 [11692] [6] DEBUG: AT2[SMSC]: <-- OK 2007-07-09 14:44:33 [11692] [6] DEBUG: AT2[SMSC]: --> AT+IFC=2,2^M 2007-07-09 14:44:33 [11692] [6] DEBUG: AT2[SMSC]: <-- OK 2007-07-09 14:44:33 [11692] [6] DEBUG: AT2[SMSC]: --> AT+CPIN?^M 2007-07-09 14:44:33 [11692] [6] DEBUG: AT2[SMSC]: <-- +CPIN: READY 2007-07-09 14:44:34 [11692] [6] DEBUG: AT2[SMSC]: <-- OK 2007-07-09 14:44:34 [11692] [6] DEBUG: AT2[SMSC]: --> AT+CMGF=0^M 2007-07-09 14:44:34 [11692] [6] DEBUG: AT2[SMSC]: <-- OK 2007-07-09 14:44:34 [11692] [6] DEBUG: AT2[SMSC]: --> AT+CSMS=?^M 2007-07-09 14:44:34 [11692] [6] DEBUG: AT2[SMSC]: <-- +CSMS: (0) 2007-07-09 14:44:34 [11692] [6] DEBUG: AT2[SMSC]: <-- OK 2007-07-09 14:44:34 [11692] [6] DEBUG: AT2[SMSC]: --> AT+CNMI=3,2,0,0^M 2007-07-09 14:44:34 [11692] [6] DEBUG: AT2[SMSC]: <-- OK 2007-07-09 14:44:34 [11692] [6] INFO: AT2[SMSC]: AT SMSC successfully opened. 2007-07-09 14:44:53 [11692] [14] DEBUG: boxc_receiver: sms received 2007-07-09 14:44:53 [11692] [14] DEBUG: send_msg: sending msg to box: < 127.0.0.1> 2007-07-09 14:44:54 [11692] [6] DEBUG: AT2[SMSC]: TP-Validity-Period: 24.0hours 2007-07-09 14:44:54 [11692] [6] DEBUG: AT2[SMSC]: --> AT+CMGS=31^M 2007-07-09 14:45:00 [11692] [6] DEBUG: AT2[SMSC]: send command status: -1 -- David Duque
