Dear all
i install kannel using yum on centos 6.3 with following config file
but why the sms always send to queue? im try almost the way on this milist
but no luck :(
any body solve proble like this?

thank in advance

==========
# Default kannel configuration file
group = core
admin-port = 13000
admin-password = playsms
status-password = playsms
admin-deny-ip = "*.*.*.*"
admin-allow-ip = "127.0.0.1"
#smsbox-port = 13001
#wapbox-port = 13002
box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1"
wdp-interface-name = "*"
log-file = "/var/log/kannel/bearerbox.log"
log-level = 1
access-log = "/var/log/kannel/access.log"
smsbox-port = 13001
store-type = file
store-location = "/var/log/kannel/kannel.store"

#SMSC MODEM GSM
group = smsc
smsc = at
connect-allow-ip = 127.0.0.1
port = 13013
host = "localhost"
smsc-id = wavecom
modemtype = wavecom
device = /dev/ttyUSB0
speed = 115200
sms-center = "+6281100000"
#my-number = "+6285325139834"

group = modems
id = WAVECOM
name = WAVECOM
detect-string = WAVECOM
init-string = "AT+CNMI=2,1,0,0,0;+CMEE=1"

#SMSBOX SETUP
group = smsbox
bearerbox-host = 127.0.0.1
bearerbox-port = 13001
sendsms-port = 13131
sendsms-chars = "0123456789+"
global-sender = +6281100000
log-file = "/var/log/kannel/smsbox.log"
log-level = 0
access-log = "/var/log/kannel/access.log"

#SEND-SMS USERS
group = sendsms-user
username = playsms
password = playsms
user-allow-ip = "*.*.*.*"

#group = smsbox-route
#smsbox-id = WAVECOM
#smsc-id = WAVECOM

#SMS SERVICE
group = sms-service
keyword = default
accept-x-kannel-headers = true
#accepted-smsc = Huawei
#accepted-smsc = at2
max-messages = 0
assume-plain-text = true
catch-all = true
get-url = "
http://localhost/playsms/index.php?app=call&cat=gateway&plugin=kannel&access=geturl&t=%t&q=%q&a=%a
"
=============
and here is the log
========
2014-09-22 13:11:26 PID541fbd8e30b66 - L2 sendsmsd # start processing
queue_code:
acbf1860825e5fa5bedef1c896dd8e7d sms_count:1 uid:1 gpid:0 sender_id:000
2014-09-22 13:11:26 PID541fbd8e30b66 - L2 sendsmsd # sending
queue_code:acbf1860825e5fa5bedef1c896dd8e7d smslog_id:28 to:+6281328431066
sms_count:1 counter:1
2014-09-22 13:11:26 PID541fbd8e30b66 - L3 sendsms # dest number before
manipulation: '+6281328431066'
2014-09-22 13:11:26 PID541fbd8e30b66 - L3 sendsms # dest number after
manipulation '+6281328431066'
2014-09-22 13:11:26 PID541fbd8e30b66 - L3 msgtemplate # to:+6281328431066
msg:lgd replacedby:lgd
2014-09-22 13:11:26 PID541fbd8e30b66 - L2 sendsms_process # start
2014-09-22 13:11:26 PID541fbd8e30b66 - L2 simplerate getbyprefix # rate not
found p_dst:+6281328431066
2014-09-22 13:11:26 PID541fbd8e30b66 - L2 simplerate cansend # check
username:admin sms_to:+6281328431066 credit:100.00 maxrate:0
2014-09-22 13:11:26 PID541fbd8e30b66 - L2 simplerate cansend # allowed
username:admin sms_to:+6281328431066 credit:100.00 maxrate:0
2014-09-22 13:11:26 PID541fbd8e30b66 - L2 sendsms # saving smslog_id:28 u:1
g:0 gw:kannel s:000 d:+6281328431066 type:text unicode:0 status:0
2014-09-22 13:11:26 PID541fbd8e30b66 - L2 sendsms_process # saved
smslog_id:28 id:28
2014-09-22 13:11:26 PID541fbd8e30b66 - L3 sendsms # final smslog_id:28
message:lgd @admin len:10
2014-09-22 13:11:26 PID541fbd8e30b66 - L3 kannel outgoing # start
smslog_id:28 uid:1 to:+6281328431066
2014-09-22 13:11:26 PID541fbd8e30b66 - L3 kannel outgoing # unicode
autodetected
2014-09-22 13:11:26 PID541fbd8e30b66 - L3 kannel outgoing #
http://127.0.0.1:13131/cgi-bin/sendsms?username=playsms&password=playsms&from=000&to=%2B6281328431066&dlr-mask=31&dlr-url=http%3A%2F%2F192.168.1.84%2Fplaysms%2Findex.php%3Fapp%3Dcall%26cat%3Dgateway%26plugin%3Dkannel%26access%3Ddlr%26type%3D%25d%26smslog_id%3D28%26uid%3D1&charset=UTF-8&coding=2&account=admin&text=lgd+%40admin&smsc=default
2014-09-22 13:11:26 PID541fbd8e30b66 - L3 kannel outgoing # smslog_id:28
response:3: Queued for later delivery
2014-09-22 13:11:26 PID541fbd8e30b66 - L3 dlr # isdlrd:0 smslog_id:28
p_status:0 uid:1
2014-09-22 13:11:26 PID541fbd8e30b66 - L3 kannel outgoing # end
smslog_id:28 p_status:0
2014-09-22 13:11:26 PID541fbd8e30b66 - L2 simplerate deduct # enter
smslog_id:28
2014-09-22 13:11:26 PID541fbd8e30b66 - L2 simplerate getbyprefix # rate not
found p_dst:+6281328431066
2014-09-22 13:11:26 PID541fbd8e30b66 - L2 simplerate deduct # deduct
smslog_id:28 msglen:10 count:1 rate:0 charge:0 credit:100.00 remaining:100
2014-09-22 13:11:26 PID541fbd8e30b66 - L2 simplerate setusercredit # saving
uid:1 remaining:100
2014-09-22 13:11:26 PID541fbd8e30b66 - L2 sendsms_process # end
2014-09-22 13:11:26 PID541fbd8e30b66 - L2 sendsmsd # result
queue_code:acbf1860825e5fa5bedef1c896dd8e7d to:+6281328431066 flag:1
smslog_id:28
2014-09-22 13:11:26 PID541fbd8e30b66 - L2 sendsmsd # finish processing
queue_code:acbf1860825e5fa5bedef1c896dd8e7d uid:1 sender_id:000 sms_count:1

Reply via email to