Hi!

As I understand the docs and the example files, with the following in
kannel.conf,

  group = sms-service
  keyword = first
  catch-all = true
  get-url = 
"http://127.0.0.1/sms_inbox.php?message=%a&message_date=%t&phone=%P&from=%p"; 
  max-messages = 0
  
  group = sms-service
  keyword = default
  catch-all = true
  text = "No service specified"
  
if I send in a message with "first" at the start, its details should be passed
to sms_inbox.php. If I send a message without the word "first" at the start, a
response should be sent, with "No service specified" as the text. 

I'm not seeing this. What I'm seeing in the bearerbox logs is messages received
but nothing being acted on, whether or not the word "first" is involved.

What I want to have happen is, when we receive an SMS over SMPP, an external
URL is called with the contents of that SMS as its arguments, and no response
is sent. (There's an external program that has most of the intelligence of our
setup, and we want that to send any responses.) 

I would think that 

  group = sms-service
  keyword = default
  catch-all = true
  get-url = 
"http://127.0.0.1/sms_inbox.php?message=%a&message_date=%t&phone=%P&from=%p"; 
  max-messages = 0

would be an appropriate config for that, but evidently not. 

Any pointers as to what I'm doing wrong?

Best regards, 

        - Aidan 
-- 
Like the early Christians, Marx expected the millennium very soon; like
their successors, his have been disappointed--once more, the world has shown
itself recalcitrant to a tidy formula embodying the hopes of some section of
mankind. (Russell)

Reply via email to