The following is my script
 i am getting a generic error: cannot enable hardware handshake! pls help

# CORE
group=core
admin-port=13000
smsbox-port=13001
admin-password=bar
#status-password = foo
#admin-deny-ip = ""
#admin-allow-ip = ""
log-file = "/home/rajeev/sms_mms/kannel.log"
#log-level = 0
box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1"
#unified-prefix = "+358,00358,0;+,00"
#access-log = "/tmp/access.log"
#store-file = "kannel.store"
#ssl-server-cert-file = "cert.pem"
#ssl-server-key-file = "key.pem"
#ssl-certkey-file = "mycertandprivkeyfile.pem"



#SMSC
group=smsc
smsc=at
smsc-id="SMSC"
modemtype=moto
device = /dev/ttyACM0
speed = 9600

#MODEM
group = modems
id = moto
name = "Motorola"
detect-string = "Motorola"
keepalive-cmd = "AT+CMGL"
#init-string = "AT+CNMI=1,2,0,1,0"
init-string="AT+CNMI=2,1,0,1,0;+CMGF=0;+CMEE=1"

#SMSBOX
group = smsbox
bearerbox-host = localhost
sendsms-port = 13013
global-sender = 13013
log-file = "/home/rajeev/sms_mms/smsbox.log"
access-log = "/home/rajeev/sms_mms/access.log"

#sendsms-user
group=sendsms-user
username = tester
password = foobar
max-messages = 3
concatenation = true

# SERVICES
group = sms-service
keyword = complex
text = "You asked nothing and I did it!"

group = sms-service
keyword = default
text = "No service specified"




2009-12-11 15:38:41 [12498] [0] INFO: Kannel bearerbox II version 1.4.3
starting
2009-12-11 15:38:41 [12498] [0] INFO: MAIN: Start-up done, entering mainloop
2009-12-11 15:38:41 [12498] [0] DEBUG: AT2[SMSC]: start called
2009-12-11 15:38:41 [12498] [6] DEBUG: AT2[SMSC]: device opened. Telnet mode
= 0
2009-12-11 15:38:41 [12498] [6] DEBUG: AT2[SMSC]: device opened
2009-12-11 15:38:41 [12498] [6] INFO: AT2[SMSC]: Logging in
2009-12-11 15:38:41 [12498] [6] INFO: AT2[SMSC]: init device
2009-12-11 15:38:41 [12498] [6] INFO: AT2[SMSC]: speed set to 9600
2009-12-11 15:38:41 [12498] [6] DEBUG: AT2[SMSC]: --> ATZ^M
2009-12-11 15:38:41 [12498] [6] DEBUG: AT2[SMSC]: <-- OK
2009-12-11 15:38:41 [12498] [6] DEBUG: AT2[SMSC]: --> AT^M
2009-12-11 15:38:42 [12498] [6] DEBUG: AT2[SMSC]: <-- OK
2009-12-11 15:38:42 [12498] [6] DEBUG: AT2[SMSC]: --> AT&F^M
2009-12-11 15:38:42 [12498] [6] DEBUG: AT2[SMSC]: <-- OK
2009-12-11 15:38:42 [12498] [6] DEBUG: AT2[SMSC]: --> ATE0^M
2009-12-11 15:38:42 [12498] [6] DEBUG: AT2[SMSC]: <-- OK
2009-12-11 15:38:42 [12498] [6] DEBUG: AT2[SMSC]: --> AT+IFC=2,2^M
2009-12-11 15:38:42 [12498] [6] DEBUG: AT2[SMSC]: <-- ERROR*
2009-12-11 15:38:42 [12498] [6] ERROR: AT2[SMSC]: Generic error: ERROR
2009-12-11 15:38:42 [12498] [6] INFO: AT2[SMSC]: cannot enable hardware
handshake*
2009-12-11 15:38:42 [12498] [6] DEBUG: AT2[SMSC]: --> AT+CPIN?^M
2009-12-11 15:38:42 [12498] [6] DEBUG: AT2[SMSC]: <-- +CPIN: READY
2009-12-11 15:38:42 [12498] [6] DEBUG: AT2[SMSC]: <-- OK
2009-12-11 15:38:42 [12498] [6] DEBUG: AT2[SMSC]: --> AT+CMGF=0^M
2009-12-11 15:38:42 [12498] [6] DEBUG: AT2[SMSC]: <-- OK
2009-12-11 15:38:42 [12498] [6] DEBUG: AT2[SMSC]: --> AT+CSMS=?^M
2009-12-11 15:38:42 [12498] [6] DEBUG: AT2[SMSC]: <-- +CSMS: 128
2009-12-11 15:38:42 [12498] [6] DEBUG: AT2[SMSC]: <-- OK
2009-12-11 15:38:42 [12498] [6] DEBUG: AT2[SMSC]: -->
AT+CNMI=2,1,0,1,0;+CMGF=0;+CMEE=1^M
2009-12-11 15:38:42 [12498] [6] DEBUG: AT2[SMSC]: <-- OK
2009-12-11 15:38:42 [12498] [6] INFO: AT2[SMSC]: AT SMSC successfully
opened.

Reply via email to