group = smsc
smsc = fake
smsc-id = smsc-0
port = 10000
connect-allow-ip = 127.0.0.1
denied-prefix = 007;008

-----Original Message-----
From: users-boun...@vm1.kannel.org [mailto:users-boun...@vm1.kannel.org] On
Behalf Of Eugene Prokopiev
Sent: Thursday, 13 September, 2012 07:08
To: us...@vm1.kannel.org
Subject: Outgoing SMS routing via different SMSC by destination number
prefix

Hi,

What is the right way to route outgoing SMS routing via different SMSC by
destination number prefix + default route for any unknown prefixes?
I tried to do it by this configuration:

group = core
admin-port = 13000
admin-password = admin
smsbox-port = 13001
dlr-storage = internal

group = smsbox
bearerbox-host = localhost
smsbox-id = smsbox-0
sendsms-port = 13013

group = smsc
smsc = fake
smsc-id = smsc-7
port = 10007
connect-allow-ip = 127.0.0.1
allowed-prefix = 007

group = smsc
smsc = fake
smsc-id = smsc-8
port = 10008
connect-allow-ip = 127.0.0.1
allowed-prefix = 008

group = smsc
smsc = fake
smsc-id = smsc-0
port = 10000
connect-allow-ip = 127.0.0.1

group = sendsms-user
username = ""
password = "

Messages with prefox 007 are routed via smsc-7 but sometimes are routed via
smsc-0. Why can it be? What is the best configuration for my use case?

--
Regards,
Eugene Prokopiev



Reply via email to