Nope. Sqlbox is not part of kannel main tree. No special code has been
written in kannel for sqlbox compatibility. You will have to change sources
for that, however you will branch off, making future updates difficult.
UG, is pretty clear. If you cannot distinguish traffic based on SMSc or
shortcode, you are out of luck.
BR,
Nikos
----- Original Message -----
From: "Miroslav Sulc" <[email protected]>
To: "Nikos Balkanas" <[email protected]>
Cc: <[email protected]>
Sent: Tuesday, December 07, 2010 2:35 AM
Subject: Re: routing dlrs to original boxes
hi,
that i understand, but my situation is that there will be only one smsc
for both sqlboxes. each sqlbox will run over different database. so if
sqlbox1 sends message via bearerbox, i need the dlr to come back to
sqlbox1 to update message status in that database. the same applies for
sqlbox2.
looking at dlr record, it has boxc field which seems is designated for
storing id of box from which the original message arrived. my
understanding was that if i send message from sqlbox1 to bearerbox and
configure somehow bearerbox to store originating box id in boxc field,
then when bearerbox would receive dlr from smsc, it would look at dlr,
would see that boxc contains sqlbox1 so would route it to sqlbox1. but i
am probably wrong.
miroslav
Dne 7.12.2010 00:42, Nikos Balkanas napsal(a):
Hi,
Your question was about routing between 2 sqlboxes. For the purposes
of this discussion, you should consider each sqlbox as another smsbox.
Therefore sqlbox-id should be the smsbox-id in your smsbox-route rule.
You can try to push from each sqlbox to a different SMSc. This way all
dlrs arriving from a given SMSc can be safely routed back to the
correct sqlbox.
BR,
Nikos
----- Original Message ----- From: "Miroslav Sulc"
<[email protected]>
To: "Nikos Balkanas" <[email protected]>
Cc: <[email protected]>
Sent: Tuesday, December 07, 2010 12:24 AM
Subject: Re: routing dlrs to original boxes
i did several times, but i must miss something. according to ug, there
are these settings:
smsbox-id - this is the id i want to route to, so if i understand
correctly, i would have to use for each box separate rule and name the
box here
smsc-id - id of smsc, in my case i have only one smsc, so i have no
other option than to use the only name of the smsc or do not specify
this at all
shortcode - this is for receiver numbers, but i can have the same
receiver numbers using different smsboxes (like the same user sending
messages both through sqlbox and smsbox), so this cannot help me at all
if receiver number is the same as destination number of message, then it
seems to me it is not possible to route the messages the way i need. am
i right?
miroslav
Dne 6.12.2010 22:24, Nikos Balkanas napsal(a):
Hi,
Please read UG about smsbox-route.
BR,
Nikos
----- Original Message ----- From: "Miroslav Sulc"
<[email protected]>
To: <[email protected]>
Sent: Monday, December 06, 2010 12:44 PM
Subject: routing dlrs to original boxes
hello,
is it possible to route dlrs always to the box where the original
message came from? i would like to run bearerbox with two sqlboxes,
each
running over different database. and to update status of the
messages in
the databases, i need to receive the dlrs at the same database from
which the original message came. i read the documentation several
times
and googled too, but i did not find how to do this.
thanks for any help.
miroslav