Also if you don't want to get any responses back to the mobile remember to use 
in your sms-service:

max-messages = 0
concatenation = (true|false). Default is true.

BR,
Nikos
  ----- Original Message ----- 
  From: Rene Kluwen 
  To: 'brett skinner' ; [email protected] 
  Sent: Friday, July 02, 2010 6:08 PM
  Subject: RE: Processing reply messages/SMS messages sent from SMSC


  Afaik, Kannel only sends the whole message to the get-url. Not the distinct 
parts.

   

  == Rene

   

  From: [email protected] [mailto:[email protected]] On Behalf Of 
brett skinner
  Sent: vrijdag 2 juli 2010 15:29
  To: [email protected]
  Subject: Re: Processing reply messages/SMS messages sent from SMSC

   

  Hi

   

  Last thing, when receiving SMSes from the SMSC, is there a setting that will 
instruct Kannel to concatenate long messages into a single message before 
calling the URL. I tried using the combine-concatenated-mo = true option on 
core group but this didn't work. I can understand why it didn't work because 
technically it isn't a mobile originated. I did a search for concat and 
couldn't find anything else in the user-guide,

   

  Thanks for your assistance.

  On Fri, Jul 2, 2010 at 2:48 PM, Rene Kluwen <[email protected]> wrote:

  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&billing=%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: [email protected] [mailto:[email protected]] On Behalf Of 
brett skinner
  Sent: vrijdag 2 juli 2010 14:33
  To: [email protected]
  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