Message: 3
Date: Sat, 29 Jun 2013 15:05:08 +0200
From: "Rene Kluwen" <[email protected]>
To: "'Massimo Costa'" <[email protected]>, <[email protected]>
Subject: RE: opensmppbox multiple connection
Message-ID: <00b301ce74c9$4822ece0$d868c6a0$@[email protected]>
Content-Type: text/plain; charset="us-ascii"
I am not sure what you are looking for.
But if you use mysql dlr-storage, you can restart opensmppbox without any
loosing any dlr's.
Also, it is possible to connect more than one opensmppbox to the same
bearerbox.
And you can restart one opensmppbox independent of the others.
== Rene
-----Original Message-----
From: users [mailto:[email protected]] On Behalf Of Massimo Costa
Sent: dinsdag 25 juni 2013 10:35
To: [email protected]
Subject: Re: opensmppbox multiple connection
Hi guys,
Can someone help me with those questions?
> I am new from the Kannel, I have installed it, and it is amazing; but
> I have some question:
> Is it possible to make that opensmppbox will activate more than one
> connection, for each customer, without loosing the dlr? or to give the
> chance to the customers to have a tx connection and an rx connection?
>
> Thank you very much indeed
>
> Regards
> Massimo Costa
Rene,
thanks for your answer. Following my test config:
*opensmppbox.conf*
group = core
dlr-storage = mysql
group = opensmppbox
bearerbox-host = localhost
bearerbox-port = 13014
opensmppbox-id = x10
opensmppbox-port = 24000
log-file = "/home/smppbox10.log"
log-level = 0
our-system-id = x101
smpp-logins = "/home/etc/smppclients10.conf"
#database configuration
group = mysql-connection
id = mydlr
host = 127.0.0.1
username = sbox
password = ************
database = opensmppbox
max-connections = 3
#database dlr
group = dlr-db
id = mydlr
table = k_dlr_ssmpp
field-smsc = smsc
field-timestamp = ts
field-source = sd
field-destination = dt
field-service = serv
field-url = url
field-mask = mask
field-status = status
field-boxc-id = boxc_id
*smppclients10.conf*
client01 ***** test1 172.16.0.3;
client02 ***** test2 172.16.0.4;
client03 ***** test3 172.16.0.5;
-----------------------
I have tried to make some connections with an smpp client (a different
Kannel instance used only for tests) using as username "client01" and I
have checked that I can start only one Tx or Tx/Rx connection per time.
I tried to do the bind with a second client connection, but opensmppbox
has closed the first one.
I have no problem if I try to connect as "client02", but since it has a
different system-type, it does not receive the delivery for the SMS sent
with "client01".
My opensmppbox configuration allow me only one concurrent connection
like username/system-type., but what I need is to allow to each client
to start 4 concurrent bind, 2 Tx and 2 Rx and on the 2 Rx bind to be
able to receive the sms delivery sent from the 2 Tx bind.
In your opinion is it possible to do it chancing few parameters on
opensmppbox? Is it supported? Is there some different way to work around?
Thank You in advance.
Massimo Costa