Also you can use the internal Kannel loadbalancing by giving the smsc's the
same smsc-id and put your modem as the first smsc.

 

From: users [mailto:[email protected]] On Behalf Of spameden
Sent: donderdag 20 juni 2013 11:25
To: Thomas Rasmussen
Cc: [email protected]
Subject: Re: Routing SMS' based on queue length on smsc

 

You can do this on the application level, parsing /status page or status.xml
to get what's up with the queue and load-balance in your app.

 

2013/6/20 Thomas Rasmussen <[email protected]>

Hello

I'm in the process of configuring a kannel setup and have run into a little
problem that I have not been able to solve by looking in the documentation,
so I hope that there are somebody out there that can help me.

The setup is a pretty simple kannel setup. I have one modem attached as SMSC
and I can send messages out via sendsms.  I also have a SMPP connection to
another provider that I have configured and this is also working fine. So
the basic setup is OK as far as I can see.

My problem is that I want to be able to route messages via my modem (or
modems) as long as these do not have a long queue of messages waiting to be
delivered. If there are ie. 10 messages in the queue, then I want to route
messages via the SMPP connection, and when the queue has dropped, then
revert back to the modem.

The reason for this is that the per-sms fee is about 5 times more expensive
on the SMPP than on the modems. So as long as the modems kan keep up, then I
want to use them.

I have succeeded in setting up kannel so SMPP will be used if the Modem
fails (using the guidelines documented here: http://goo.gl/VQXlh but this
only works when the modem smsc is failing, but I cannot seem to find a
setting that will "fail" a SMSC if there are ie. 10 messages in queue.

Is this infact possible by using Kannel, if so, how may I proceed?

My kannel setup is version 1.5.0 on standard Ubuntu 10.04 LTS.

Regards
Thomas Rasmussen

 

Reply via email to