On Wed, 26 Feb 2003 15:16:30 +0100
Wojciech D╠browski <[EMAIL PROTECTED]> wrote:

> Hi all,
> 
> I've got a problem with understanding of sms-service mechanizm.
> I configured kannel and it replies for SMS with keyword by sending SMS with
> text for example:
> 
> group = sms-service
> keyword = count
> text = "1+1=2"
> max-messages = 2
> 
> My question is:
> How to fetch parametr from incoming SMS to any *.php3 script,
> and how to answer the SMS sender with dynamically generated content?
> How to format such an SMS? It should be done by http get, post or something?
> 
> Regards Wojtek
> 
> 
You just configure get-uri, like this

group = sms-service
keyword = count
accept-x-kannel-headers = true
get-url = "http://my.webapp/info/count?from=%p&val1=%s&val2=%r";
omit-empty = true
forced-smsc = my_smsc

-- 
 
Best regards,
Yury Mikhienko.
IT engineer, ZAO "Mobicom-Kavkaz"

Reply via email to