good morning!
Im having some trouble to understand this routing stuff on kannel. I know there
are a lot of reading stuff about this issue, but I could^n't find a solution
that would match my problem.
situation:
I can have multiple applications (based on different servers) which can send
request to the kannel:
server 1 ---------> SMSC1
SMSC2
server 2 ----------> Kannel -------->
SMSC3
server 3 ---------> SMSC4
I have 4 different SMSC connection to one provider (emi over VPN). I need to
have some kind of routing possibility to be able to do that:
- server 1 can only send through SMSC1
- server 2 can send to all SMSC
- server 3 can only send through SMSC3 and SMSC4
This means, before I send the request to the kannel, the applications on the
server check which SMSC they can use (defined on the server itself). example:
server 1 wants to send a request, so before sending request, the app checks if
kannel is ready and checks also the status.xml if the SMSC1 is ready. if both
are ok, the request will be made. i guess I need to add the cgi parameter
"smsc=SMSC1" to the request and also in the kannel.conf I need to define the
routing (allowed-smsc-id... ).
My 2 questions are:
1. how are the request (sendsms interface) look like, I mean for the server 1
its clear, just add "smsc=SMSC1" but for server3 and 2??? can I just add
"smsc=SMSC1;SMSC2;SMSC3;SMSC4"
2. how should the routing be done on kannel side??? so that if kannel get a
request from server 1 it wont send with SMSC2!!
I made up a table, but I think this is not going to worK:
group=smsc
smsc-id=SMSC1
allowed-smsc-id=SMSC1
group=smsc
smsc-id=SMSC2
allowed-smsc-id=SMSC1;SMSC2;SMSC3;SMSC4
group=smsc
smsc-id=SMSC3
allowed-smsc-id=SMSC3;SMSC4
group=smsc
smsc-id=SMSC4
allowed-smsc-id=SMSC1;SMSC2;SMSC3;SMSC4
Hope somebody can give me a hint!! thanks!
cheers
beatrice
--
Haiti-Nothilfe! Helfen Sie per SMS: Sende UIHAITI an die Nummer 81190.
Von 5 Euro je SMS (zzgl. SMS-Gebühr) gehen 4,83 Euro an UNICEF.