On Saturday, March 8, 2003, at 09:54 PM, Bas A. Schulte wrote:
I'm giving smsbox routing a shot but I'm not very successful ;(
This is how my config looks like:
group = core smsbox-port = 13001
group = smsbox-route smsbox-id = smsbox-1
group = smsbox smsbox-id = smsbox-1 bearerbox-host = 127.0.0.1
group = smsbox smsbox-id = smsbox-2 bearerbox-host = 127.0.0.1
group = smsc smsc = emi2 smsc-id = some-smsc ...
group = sms-service get-url = "http://1.2.3.4/blah?msisdn=%q&msg=%a&smsc-id=%i" keyword = default catch-all = true accepted-smsc = some-smsc omit-empty = true max-messages = 0
In this example, I just want to route everything to smsbox-1. With this setup, nothing gets sent to smsbox-1. If I remove the routing stuff, and just have this:
group = core smsbox-port = 13001
group = smsbox bearerbox-host = 127.0.0.1
group = smsc smsc = emi2 smsc-id = some-smsc ...
group = sms-service get-url = "http://1.2.3.4/blah?msisdn=%q&msg=%a&smsc-id=%i" keyword = default catch-all = true accepted-smsc = some-smsc omit-empty = true max-messages = 0
Everything works fine again.
What am I doing wrong? WIth the smsbox routing in place, nothing really gets logged (both bearerbox and smsbox) except for EMI2 reception of the MO message.
To answer my own question: the above config doesn't work. You have to specify 'smsc-ids' in the 'smsbox-route' group. Probably 'shortcuts' will do to except that I can't find a specification for 'number-list' so I don't know how to specify that ;). I assume that inside an 'smsbox-route' group, you have to have either 'smsc-ids' or 'shortcuts' or otherwise nothing will be routed at all.
Can anyone 'in the know' confirm this?
This should probably be clarified in the docs ;)
