Hi!

First of all, Happy New Year to all!!!  :)

I want to have 2 sms-services, one should work for some SMSC connections, and the other one for other connections.

The thing is that they shouldn't be redirected to one or other sms-service based on keyword, since there is no specific keyword, they should just be based on the SMSC connection.

According to what I believe and have seen on some thread, "keyword = default" on smsc-service can be used only once, so there just can be only one default...

I can use accepted-smsc-regex for making each smsc-service match what I want, but how do I do with keyword since it's a mandatory parameter and only one defualt should be used??

Or this can not be handled by Kannel and I should do it by the programming side on my scripts?

What I want is something like this:


group           = sms-service
keyword         = default
catch-all       = true
omit-empty      = true
get-url = "http://myHost.tld/script.php?smsc_id=%i&short_code=%P&phone=%p&message=%a";
max-messages    = 0
accepted-smsc-regex=^aa-

group           = sms-service
keyword         = default
catch-all       = true
omit-empty      = true
get-url = "http://myOtherHost.tld/script.php?smsc_id=%i&short_code=%P&phone=%p&message=%a";
max-messages    = 0
accepted-smsc-regex=^bb-


Thanks in advance,

Juan



Reply via email to