Κωνσταντίνος Λιαδάκης wrote:
Hello again,

I am posting once more to this mailing list about rthe routing problem i am facing. I am using v 1.4.1 stable and have trouble routing messages in a multiple smsc environment.

After trying all possible combinations with denied smsc, i now try something different.

I set the allowed-smsc  in each smsc group.

When i try to send i get the following:

Not routable. Do not try again.

I suppose that kannel does not receive the <to> or <from> (confused which one to use when using text/xml) parameter although i can see it getting parsed in the console window.

ANY Kannel expert can shed some light on this. I am very frustrated and have being trying tio make this work for months. I have read all forums, searched the internet, read user guide, and posted to mailing list.

DOES THIS MEAN I HAVE TO GIVE UP KANNEL??????

ok, let me scratch the basics of Kannel routing:

a msg that is passed from smsbox to bearerbox has a 'smsc-id' field. This you can set via the 'smsc' parameter of the sendsms HTTP interace, ie.

  http://<your ip>:13013/cgi-bin/sendsms?....&smsc=A&....

means you "flag" this MT with the smsc-id=A.

This is yet not a hard routing decission for bearerbox. Bearerbox routes in 2 stages:

1. create a list of all smsc-ids that I'm allowed to route this MT to.
2. select the prefered one of list 1. or a random if non is prefered.

Now, if you have several smsc groups WITHOUT any allowed-smsc-id or denied-smsc-id config directives, then ALL routes are in list 1., ergo: the MT is allowed to be send to all SMSC connections.

Obviously you want specific routing. So you need to make bearerbox "aware" of that, means you need to allow only specific smsc-id flags to be routed to the specific smsc connections, ie.

  group = smsc
  ...
  smsc-id = A
  allowed-smsc-id = "A;C"

  group = smsc
  ...
  smsc-id = B
  allowed-smsc-id = "B;C"

what does this mean?

Assume you have 2 connections, smsc-id A and B.

When you inject MT with smsc=A then this is ONLY routed via A, and with smsc=B this is ONLY routed via B.

The "virtual" smsc-id C can be used to "group" connections. Hence a MT with smsc=C is allowed to route to BOTH real connections.

This is a simple way in accelerate the sendsms's 'smsc' parameter on the bearebox level.

Stipe

-------------------------------------------------------------------
Kölner Landstrasse 419
40589 Düsseldorf, NRW, Germany

tolj.org system architecture      Kannel Software Foundation (KSF)
http://www.tolj.org/              http://www.kannel.org/

mailto:st_{at}_tolj.org           mailto:stolj_{at}_kannel.org
-------------------------------------------------------------------

Reply via email to