When isertng in send_sms set  the boxc_id filed value to  smsbox.

----- Original Message ----- 
  From: Andreas Bergman 
  To: users@kannel.org 
  Sent: Tuesday, May 17, 2011 12:26 PM
  Subject: SQLbox, dlr-url and smsbox-route


  Hi, 

  I know that this issue/problem has been discussed before, but i can't get a 
grip on if it is a feature or a bug.

  What i want to achieve:
  * Add msg to send_sms
  * The msg is sent
  * The SMPP module receives the status report
  * The report is sent to the smsbox and the dlr-url invoked.

  What is happening:* Add msg to send_sms
  * The msg is sent
  * The SMPP module receives the status report
  * The report is sent to the sqlbox and stored in sent_sms.

  My config looks like this:

  ===Core, smsbox, smsc (kannel.conf)===
  group = core
  admin-port = 13000
  admin-password = XXXX
  #status-password = XXXX
  #admin-deny-ip = ""
  #admin-allow-ip = ""
  smsbox-port = 13001
  #wapbox-port = 13002
  box-deny-ip = "*.*.*.*"
  box-allow-ip = "127.0.0.1"
  wdp-interface-name = "*"
  log-file = "/var/log/kannel/bearerbox.log"
  log-level = 0

  group = smsc
  smsc-id=beepsend
  smsc = smpp
  host = 
  port = 7337
  receive-port = 7337
  transceiver-mode=true
  smsc-username = ""
  smsc-password = 
  system-type = "VMA"
  msg-id-type = 0x01
  address-range = ""
  source-addr-npi=1
  source-addr-ton=5group = smsbox
  dest-addr-ton=1
  dest-addr-npi=1
  enquire-link-interval=60s

  group = smsbox
  smsbox-id = smsbox
  bearerbox-host = 127.0.0.1
  bearerbox-port = 13001
  log-file = "/var/log/kannel/smsbox.log"
  sendsms-port = 13013

  group = sendsms-user
  username = "abergman"
  password = "XXXX"

  group = smsbox-route
  smsbox-id = smsbox
  smsc-id =beepsend

  ====SQLBOX===
  group = sqlbox
  id=sqlbox
  smsbox-id = sqlbox
  bearerbox-host = localhost
  bearerbox-port = 13001
  smsbox-port = 13005
  sql-log-table = sent_sms
  sql-insert-table = send_sms
  log-file = "/var/log/kannel/sqlbox.log"
  log-level = 0

  group = mysql-connection
  id = sqlbox
  host = localhost
  username = root
  password = XXXX
  database = kannel
  max-connections = 1


  The flow looks like this 
  <smsbox> <---> <bearerbox> <---> <smsc>
  <sqlbox> <---->

  I'm using kannel 1.5 (devel) and the sqlbox shipped with it, no extra patches.

  Is this supposed to work? 

  br
  Andreas

Reply via email to