Small hint: You can also contribute making the documentation clearer ;=).

 

I use:

 

group = sms-service

keyword = default

catch-all = true

get-url =
http://www.mydomain.com/sms/process_mo.php?text=%a&from=%p&to=%P&time=%T&bil
ling=%B&smsc=%i

accepted-smsc = my_smsc

omit-empty = true

accept-x-kannel-headers = true

 

I guess there is more than one way to achieve what you want and one doesn't
necessarily needs to be better than the other one.

 

== Rene

 

 

From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf
Of brett skinner
Sent: vrijdag 2 juli 2010 14:33
To: users@kannel.org
Subject: Processing reply messages/SMS messages sent from SMSC

 

Hi

 

Firstly I would like to thank the group for all the help that I have
received. I really appreciate it. Secondly I have found usig Kannel to be a
very pleasant experience so thanks for all the hard work. I unfortunately
know absolutely nothing about C and I think my Java knowledge just won't cut
it so I won't be able to make any contributions in terms of code.

 

I would just like to double check something with the group because the user
guide wasn't clear regarding my scenario. I would like to be able to process
replies SMSs to messages that I have been sent. The SMSC has given us some
numbers to use as the origin (or sender) number. If the person replies to
the message it will go the SMSC who then forwards it to us. From the logs it
appears as they are forwarding the messages to us as deliver_sm PDUs. 

 

When I get the message I would like to be able to process it. I don't want
to answer the message or do anything else. From what I gather I need to
setup an sms-service group as follows:

 

group = sms-service

keyword-regex = .*

catch-all = yes

get-url = "http://localhost:xxxx/Replies.php?params";

omit-empty = true

 

I want all SMS messages to be handled in the same way regardless of their
origins or keywords etc. I am also not looking to do any shortcode magic or
any replies. This is why I setup the keyword-regex to * so that this occurs
for all messages. I don't want to send anything back to their handset, this
is why I have included omit-empty = true. I found without this option that
the handset would receive <Empty reply from service provider>.

 

Is this the preferred way to achieve what I am aiming for?

Is there anything that I should be aware of or any complications that might
arise?

 

Regards,

Reply via email to