Hi everybody,
        we have a kannel handling MT trafic through various SMPP providers.

We're offering to our customers different routing classes (fixed id, dynamic id, etc...), for each class we've one or more SMPP routes.

For each routing class we have a preferred smsc that should be used when available and one or more backup smscs

By now we're injecting messages into kannel through HTTP (via sendsms pseudo cgi) and we're specifying the smsc we'd like to use through the smsc variable. At the moment we're monitoring the availability of smscs externally and modifying the smsc variable accordingly before injecting messages into kannel.

As this external monitor is quite complicated and weak I was wondering if kannel could handle such a failover setup.

I'd like to specify the "routing class" when injecting the messages through http; kannel should determine by itself the smsc to be used starting checking the "availability" of the first one then the backup ones.

With "availability" I mean not only the status of the connection but also the eventual error code returned in response to submit_sm; this because one of our provider is returning an SMPP error 11 when they're temporarily not able to deliver messages to that destination.
(BTW, is that a standard way to handle temporary failures ?)

[...]
SMPP[0]: SMSC returned error code 0x0000000b (Invalid Destination Address) in response to submit_sm.
[...]

In this last case message should be retried on backup smscs in the same routing class

In addition I'd like to have the possibility to manually mark a gateway as unavailable if we detect some delays on that route.

Any ideas on how doing that ?

Tnx in advance for help

My best wishes for an happy 2008

Regards

Edoardo Serra
EXSORSA LLC


Reply via email to