Hi all,
I'm setting up Itegno GSM Modem + Kannel + Playsms
I think it runs ok, because I can send sms, and the status is updated ok in 
playsms. But, seems like I misconfigure something because I cannot receive 
sms.

This is my kannel.conf:
# CORE
group = core
admin-port = 13000
admin-password = pwd
status-password = pwd
log-file = "/var/log/kannel/kannel.log"
log-level = 2
access-log = "/var/log/kannel/access.log"
smsbox-port = 13001
store-file = "/var/log/kannel/kannel.store"


# SMSC Fake
#group = smsc
#smsc = fake
#host = localhost
#port = 13013

group = smsc
smsc = at
smsc-id = astridosms
modemtype = auto
device = /dev/ttyUSB0
speed = 115200
sms-center = 0816124

group = modems
id = WAVECOM
name = wavecom
detect-string = WAVECOM
#detec-string2 =

# SMSBOX SETUP
group = smsbox
bearerbox-host = localhost
sendsms-port = 13131
sendsms-chars = "0123456789+"
log-file = "/var/log/kannel/smsbox.log"
log-level = 1
access-log = "/var/log/kannel/access.log"


# SEND-SMS USERS
group = sendsms-user
username = playsms
password = pwd


# SMS SERVICE 'Default'
# there should be default always
group = sms-service
keyword = default
exec = /usr/local/bin/kannel_incoming %t %q %a


This is what show s in the log when itegno receives sms:
AT2[mylinux]: <-- +CMT: ,21
AT2[mylinux]: <-- 059126181642040C9126181601973200006020211184258202CF35
AT2[mylinux]: Numeric sender (international) <+628161107923>
AT2[mylinux]: User data length read as (2)
AT2[mylinux]: Udh decoding done len=2 udhi=0 udhlen=0 udh=''
AT2[mylinux]: --> AT+CNMA^M
 send_msg: sending msg to box: <127.0.0.1>
 boxc_sender: sent message to <127.0.0.1>
AT2[mylinux]: <-- OK
boxc_receiver: sms received
send_msg: sending msg to box: <127.0.0.1>
boxc_receiver: got ack
Dumping 1 messages and 0 acks to store
AT2[mylinux]: TP-Validity-Period: 24.0 hours
AT2[mylinux]: --> AT+CMGS=45^M
AT2[mylinux]: <-- >
AT2[mylinux]: send command status: 1
AT2[mylinux]: --> 
0011000C912618160197320000A723BC621B4ECF83E465383B0F32CBDF6DD0BC2CB7A7C765105CFEB6A7C965B90F
AT2[mylinux]: --> ^Z
AT2[mylinux]: <-- >
AT2[mylinux]: <-- ERROR
AT2[mylinux]: Error occurs: ERROR (error number not known to us. ask google 
and add it.)
AT2[mylinux]: send command status: -1
AT2[mylinux]: --> AT+CMGS=45^M
AT2[mylinux]: <-- >
AT2[mylinux]: send command status: 1
AT2[mylinux]: --> 
0011000C912618160197320000A723BC621B4ECF83E465383B0F32CBDF6DD0BC2CB7A7C765105CFEB6A7C965B90F
AT2[mylinux]: --> ^Z
AT2[mylinux]: <-- >
AT2[mylinux]: <-- ERROR
AT2[mylinux]: Error occurs: ERROR (error number not known to us. ask google 
and add it.)
AT2[mylinux]: send command status: -1
AT2[mylinux]: --> AT+CMGS=45^M
AT2[mylinux]: <-- >
AT2[mylinux]: send command status: 1
AT2[mylinux]: --> 
0011000C912618160197320000A723BC621B4ECF83E465383B0F32CBDF6DD0BC2CB7A7C765105CFEB6A7C965B90F
AT2[mylinux]: --> ^Z
AT2[mylinux]: <-- >
AT2[mylinux]: <-- ERROR
AT2[mylinux]: Error occurs: ERROR (error number not known to us. ask google 
and add it.)
AT2[mylinux]: send command status: -1
Dumping 0 messages and 0 acks to store
boxc_receiver: heartbeat with load value 0 received

Thank you,
-- 
Fajar Priyanto | Reg'd Linux User #327841 | Linux tutorial 
http://linux2.arinet.org
11:36:55 up 2:55, 2.6.15-1.1830_FC4 GNU/Linux 
Let's use OpenOffice. http://www.openoffice.org

Reply via email to