something like this routes everything coming in. max-messages will make sure the answer of that URL does not get sent back (assuming the answers will be pushed independently instead).
group = sms-service keyword = default url = "http://localhost/incoming.php?from=%q&to=%Q&text=%b&udh=%u&smsc=%f&coding=%c&dcs=%O&ts=%T" max-messages = 0 On 31.05.2012, at 13:44, Tone Irene Andersen wrote: > Hi. Thank you for reply. > > Could you show me how to setup kannel for this kind of forwarding? > > > Regards, > > Tone Irene Andersen > > From: Andreas Fink > Sent: Thursday, May 31, 2012 1:36 PM > To: Tone Irene Andersen > Subject: Re: Kannel configuration/keywords > > > > > > On 31.05.2012, at 13:30, Tone Irene Andersen wrote: > >> Hi.. >> I am about to start my own sms company. Ive been looking at kannel and some >> other sms gateways, i will only need one gateway that can act as the message >> processor since i have a smpp connection to a company. >> >> However ive been reading and reading about kannel. Its configuration and how >> to get config and such into mysql. The userguide is hard to read for some >> people since its so development focused. >> >> I have a few scenarios where i would like to have this in mysql. >> >> 1) Several keywords, on different virtual mobile numbers. This process to >> rewrite the config files, and then restart kannel would be a big problem. >> Would this be possible to add to mysql? And if so, how? >> 2) Callback on Two-way sms. DLR etc. I need this to be put into different >> get-url’s, and a way to handle that was to be able to put them into mysql. >> If this is possible? Please put me in the right direction. > > you can simply have kannel forward all your incoming data into a PHP script > which then looks up the database and forwards accordingly. > >> >> >> Thank you in advance for help. >> >> Mvh / Best Regards >> >> >> Tone Irene Andersen > > > > > > Andreas Fink > SMSRelay AG > ----------------------------------------------------- > Tel: +41-61-6666333 Fax: +41-61-6666331 > Mobile: +41 78 66 77 333 > Address: Clarastrasse 3, 4058 Basel, Switzerland > E-Mail: [email protected] > Homepage: http://www.smsrelay.com > ----------------------------------------------------- > ICQ: 8239353 MSN: [email protected] Skype: andreasfink > iChat: [email protected] Yahoo: finkconsulting AIM: smsrelay > Global.AQ SMS: +88234 7000 00 12 >
