Hi
The following is the configursational file that i am using. But while
running the bearerbox i get the following errors.

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 = modem
id = moto
name = "Motorola"
detect-string = "Motorola"
keepalive-cmd = "AT+CMGL"
init-string = "at+CNMI=2,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



------ERROR-------

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

Reply via email to