Hi,

I have a Kannel setup which looks like the following:

bearerbox -> sqlbox -> smsbox

My configs are listed below:

Bearerbox:

group = core
admin-port = 13000
admin-password = bar
log-file = "bearerbox.log"
log-level = 0
access-log = "bearerbox-access.log"
smsbox-port = 13001
box-allow-ip = "127.0.0.1"
store-file = "kannel.store"

Sqlbox:

group = sqlbox
id = sqlbox-db
smsbox-id = "default-smsbox"
bearerbox-host = localhost
bearerbox-port = 13001
smsbox-port = 13005
smsbox-port-ssl = false
sql-log-table = sent_sms
sql-insert-table = send_sms
log-file = "kannel-sqlbox.log"
log-level = 0

# Example MYSQL Connection
group = mysql-connection
id = sqlbox-db
host = localhost
username = user
password = pass
database = cannel

Smsbox:

group = smsbox
smsbox-id = "default-smsbox"
bearerbox-host = localhost
bearerbox-port = 13005
sendsms-port = 13013
log-file = "smsbox.log"
log-level = 0
access-log = "smsbox-access.log"
reply-couldnotfetch = "Could not fetch the response"
reply-couldnotrepresent = "Could not represent the response"
reply-requestfailed = "Could not make request"
reply-emptymessage = "Response was an empty response"

sms-service:

group = sms-service
keyword = default
catch-all = true
get-url = 
"http://localhost:8088/receivesms/%k/%s/%S/%r/%a/%b/%t/%T/%p/%P/%q/%Q/%i/%I/%d/%R/%D/%A/%F/%n/%c/%m/%M/%C/%u/%B/%o/%O/%f";

Now I try to send some messages to my short code and although they get 
delivered to my Kannel from the telco, they all end up in the SMS Received 
Queue (my /status Kannel http interface reports: SMS: received 2 (13 queued), 
sent 0 (0 queued), store size 13)! I can't figure out the reason why Kannel 
would act such. Anyone got any ideas why it's not leaving Kannel to my defined 
service but is rather queued in the SMS received queue? 

I presume it has something to do with routing through to the sms service but I 
cannot see why that would be a problem as my sms-service is defined to accept 
all messages that hit Kannel.

many thanks
nii amon

Reply via email to