Hi Willy,

I have tried doing so using the sms-service;

# SMS SERVICE
group = sms-service
keyword = mchanjo
get-url = "http://localhost:3000/client?sender=%p&text=%k";
accept-x-kannel-headers = true
max-messages = 3
concatenation = true

In this case I am relying on get-url to extract the sender's msisdn. Upon
receipt of the keyword "mchanjo", I would like to start prompting the user
for their name, birthdate, gender etc...in a step wise manner.

When a user sends "mchanjo", I will respond using a question, for example,
"Reply with your name?". The user may text back "Willy". I would like to
retrieve and store this in the data base and prompt for the birthdate which
i will in turn also store in the database.

The challenge is to extract these responses effectively from smsbox.log.

Kindly advise.




Best Regards,
Ian Brayoni





On Mon, Jan 26, 2015 at 3:14 AM, Willy Mularto <sangpr...@gmail.com> wrote:

> Sure you can do. It is all done at application or script level not
> gateway.
> On 26 Jan 2015 05:14, "Ian Baraza Brayoni" <ibaraza...@gmail.com> wrote:
>
>> I would like to find out whether one can use a script to query a user
>> some data through kannel.
>>
>> *Usecase*
>>
>> Consider a scenario where I need to carry out a registration process via
>> sms. I need to query for the name, birthdate, gender and so forth.
>>
>> Suggestions highly appreciated.
>>
>> Best Regards,
>> Ian Brayoni
>>
>>
>>
>>
>>

Reply via email to