Hi,

You are correct in your understanding of kannel function. Kannel will urlencode 
the xml document and send it via GET. You can also use post-url and post-xml if 
you would like. However, you shouldn't leave your keyword empty. I suspect that 
you are trying to use:

keyword = default

Please read the latest CVS User's Guide for more.

BR,
Nikos
  ----- Original Message ----- 
  From: Josh Richesin 
  To: Kannel User 
  Sent: Thursday, February 19, 2009 4:23 AM
  Subject: XML Messages in Kannel


  Hello,

  I have an application on smart phones that send xml messages as text 
messages.  Can kannel pass this format on?  Basically what I want to happen is 
everything that is in the text message come in via my gsm modem and be 
redirected to a .net script.  This is what I have so far:

  # Default kannel configuration file
  group = core
  admin-port = 13000
  admin-password = 50006
  smsbox-port = 13001
  log-file = "/var/log/kannel/bearerbox.log"
  log-level = 1

  group = smsc
  smsc = at
  smsc-id = gsm_modem
  modemtype = auto
  device = /dev/ttyS0
  keepalive = 30
  max-error-count = 5
  sim-buffering = true  
  log-file = "/var/log/kannel/ttyS0.log"
  log-level = 1

  # MODEM CONFIGURATION
  group = modems
  id = generic
  name = "Generic Modem"
  detect-string = "MULTITECH"
  speed = 9600

  group = smsbox
  sendsms-port = 13131
  bearerbox-host = localhost
  bearerbox-port = 13001
  log-level = 1
  log-file = "/var/log/kannel/smsbox.log" 


  group = sendsms-user
  username = adm
  password = adm
  concatenation= true
  max-messages = 10

  group = sms-service
  keyword =
  catch-all = yes
  max-messages = 0
  get-url = "http://somedomain.com/cellhandler.aspx";
  [r...@kannel etc]# 


  If I understand this correctly, when I receive an sms message, it should send 
the contents of that message as an http get to 
http://somedomain.com/cellhandler.aspx.  Do I have this right?  Also, if the 
message happens to be xml, will it pass it?

  Thanks,
  Josh
  -- 
  Josh Richesin

Reply via email to