Also you might want to look into the userguide, especially the section smsbox-route: http://www.kannel.org/download/kannel-userguide-snapshot/userguide.html#AEN3 761
== Rene -----Original Message----- From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Isaac Sanni-Thomas Sent: Friday, 21 October, 2011 01:23 To: Ni Amon Dsane Cc: users@kannel.org Subject: Re: SMS Receive Queue Nii, Set your sms-service to group = sms-service keyword-regex = .* catch-all = yes 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" accept-x-kannel-headers = true Restart kannel and confirm if the queue gets flushed. One other thing, have you confirmed if your application in the URL above catches all parameters passed. A test post/get with sample data could suffice. BR On 10/20/2011 07:56 PM, Ni Amon Dsane wrote: > 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