Am 10.06.2014 20:43, schrieb Faizan Mirza:
Hello,

I was using kannel 1.4.3 it was working fine, now when i updated from
svn it is working fine but giving me error regarding ports of SMPP..

Error: Configuration file can only have port or receive-port. Usage of
both in one group is deprecated!

how do i add both port and receive-port to receive delivery report..

correct, we have DEPRECATED the support of both 'bind_transmitter' and 'bind_receiver' session in ONE logical Kannel 'group = smsc' context. Reasons are of technical nature, since the abstracted SMSCConn struct context and it's logic isn't able to cleanly abstract BOTH states of the sessions, that's why we migrate from the approach of having both sessions configurable in one group to seperate groups.

Hence, you go from:

  # bind_transmitter AND bind_receiver
  group = smsc
  smsc = smpp
  ...
  port = XXXX
  receive-port = XXX
  ...

to:

  # bind_transmitter
  group = smsc
  smsc = smpp
  ...
  port = XXXX
  ...

  # bind_receiver
  group = smsc
  smsc = smpp
  ...
  receive-port = XXX
  ...

Which means formally: The configuration of 1.5.0 (and before) will "BREAK" for 1.5.1, which we're about to release ASAP. This will be also noted in the NEWS section as "compatibility breaker".

Stipe

--
-------------------------------------------------------------------
Kölner Landstrasse 419
40589 Düsseldorf, NRW, Germany

tolj.org system architecture      Kannel Software Foundation (KSF)
http://www.tolj.org/              http://www.kannel.org/

mailto:st_{at}_tolj.org           mailto:stolj_{at}_kannel.org
-------------------------------------------------------------------

Reply via email to