Hello kannel community.

I have a configuration of kannel and opensmppbox which acts as SMPP adaptation
layer between SMSC and client ESME. This is because ESME is quite old and there
is SMPP version incompatibility between both sides. ESME is using SMPPv3.3 
communication scheme with two connections: one connection as receiver and one 
as transmitter.

Scheme is as below


|          T |------->|                 
|  ESME   |         | openSMPPbox |<->| bearerbox |<----->|  SMSC |
|          R |------->|


As general this is a working solution and messages pass both directions, the 
problem which I observed in a while was some messages received by bearerbox but 
not delivered to ESME.

Each connection to opensmppbox is presented as separate instance to bearerbox 
and we have one receiver and one transmitter instance.
Two openSMPPbox instances are represented as two smsboxes to bearerbox and 
kannel tries to load-balancing between these two instances (one receiver and 
one transmitter). Because transmitter instance could not deliver messages to 
ESME they stayed buffered in opensmppbox transmitter thread queue.

I am using SVN snapshot version from 27 September.

My first question is about configuration, do I miss something? I tested few 
days and could not find solution.

If there is no problem with configuration is it possible this to be a bug, 
because there is no point to queue messages to a transmitter thread.

Here is my configuration:

kannel.conf
=============================================================
group = core
admin-port = 13000
admin-password = xxxxx
log-file = "/var/log/kannel/bearerbox.log"
log-level = 0
access-log = "/var/log/kannel/bearerbox_access.log"
# Smsbox related
smsbox-port = 13001
box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1"
sms-resend-retry = 2

# SMSC SMPP
group = smsc
smsc = smpp
smsc-id = coms
host = xxxxxxxxxx
port = xxxx
interface-version=34
enquire-link-interval = 298
connect-allow-ip = 127.0.0.1
transceiver-mode = yes
smsc-username = xxxxxx
smsc-password = xxxxx
system-type = xxx
source-addr-ton = 2
source-addr-npi = 1
dest-addr-ton = 1
dest-addr-npi = 1

# SMSBOX SETUP
group = smsbox
smsbox-id = "fakesmsc"
bearerbox-host = localhost
log-file = "/var/log/kannel/smsbox.log"
log-level = 1
access-log = "/var/log/kannel/smsbox_access.log"

# SMS routing setup
group = smsbox-route
smsbox-id = sms4chat
smsc-id = "coms"
==============================================================

openSMPPbox.conf
==============================================================
group = core
dlr-storage = internal

# openSMPP box configuration
group = opensmppbox
bearerbox-host = 127.0.0.1
bearerbox-port = 13001
timeout = 86400
our-system-id = VSMSC
opensmppbox-id = smppbox1
opensmppbox-port = 13003
log-file = /var/log/kannel/opensmppbox.log
log-level = 0
route-to-smsc = coms
smpp-logins = /etc/kannel/SMPPclients.conf
==============================================================

SMPPclients.conf
==============================================================
xxxxxx       xxxxx  sms4chat 127.0.0.1
==============================================================


Regards,
Velin.


-------------------------------------
Mail.bg: Безплатен e-mail адрес. Най-добрите характеристики на българския пазар 
- 10 GB пощенска кутия, 20 MB прикрепен файл, безплатен POP3, мобилна версия, 
SMS известяване и други.

Reply via email to