Follow-up : Proposal for Real-time Routing in opensmppbox and bearerbox

Mick Burns <[email protected]>
Newsgroups gmane.comp.mobile.kannel.user,gmane.comp.mobile.kannel.devel
Message-ID <CAJ=JNBa2Spam=za55K4xauPUx6P5JwB65=PZ-9MG1q52PuqTxg@mail.gmail.com>
Dear Kannel friends,

I would like to revive the nice thread (*) started by Kelvin Porter
back in July in respect to adding new routing capabilities to
bearerbox and opensmppbox.  This functionality is of great importance
for me and I would like to actively help in testing it out.
I am x-posting this on the users and dev lists like the original thread.

Now, I don't quite understand why it should hook with dlr code, please
note that I am not a proficient coder at all.
Perhaps Kelvin is just pointing out existing routines that can be used
as an example or starting point to implement the concept.

In short, I would like to avoid having to use (for fined-grain
control) smsbox-route statements for each of the customers provisioned
DNs.  Instead, for each message received by an upstream SMPP,
bearerbox does a lookup into a RDBMS (mysql/pgsql) for each message
and the reply to the query contains the smsbox-id to route the message
to.
Otherwise, currently all messages goes to a single smsbox which
delivers the message to an HTTP-based service via the sms-service
stanzas.

Example of the smsbox-route statements to avoid with this new feature:
group = smsbox-route
smsbox-id = osmppbox1
shortcode = "+18885551212;+18665551212;2222"


I quickly put together a block diagram of what I am thinking:
http://pastebin.com/raw.php?i=BSYC88UZ

I really wonder how other carriers/aggregators implements "carrier-grade"
routing between bearerbox's upstream smpp connections and downstream
towards either smppbox(es) or smsboxes depending on where the message
should normally route to.  It also adds agility to the routing on a
global basis and in a dynamic manner (no need to stop/start services).

Thank you
Mick B.

(*) Link to original thread from Mr. Porter:
http://www.kannel.org/pipermail/users/2013-July/019991.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.