Hi,

Please read UG about SMSc (SMPP) configuration and allowed-smsc-id, preferred-smsc-id and denied-smsc-id. Also specify in your sendsms URL &smsc=<smsc-id>.

BR,
Nikos
----- Original Message ----- From: "Iskren Stoyanov" <[email protected]>
To: <[email protected]>
Sent: Friday, September 24, 2010 1:22 AM
Subject: Multle SMSC


Hello,

I'm using Kannel 1.4.3 for MT. My Kannel is connected to two SMPP servers.
From what I have understood from the documentation bearbox chooses
random a SMSC and thats what always happens.

I tried to to set SMSC in the request URL - didn't worked. SMSC is
chosen randomly.
Tried to add different users with forced-smsc and again SMSC is chosen randomly.

When send through user with forced-smsc and set smsc in the url I get
in the log file:
INFO: send-sms request smsc id ignored, as smsc id forced to testsmsc
But testsmsc is not used to send the message.

How can I force the SMSC to be used?

Here is my config:

group = core
admin-port = 13000
admin-password =
admin-deny-ip = "*.*.*.*"
admin-allow-ip = "127.0.0.1"
smsbox-port = 13001
log-file = "/var/log/kannel/bearerbox.log"
log-level = 3
box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1"
dlr-storage = mysql

#--- mysql connection
group = mysql-connection
id = mydlr
host = localhost
username = kannel
password = PASS
database = kannel
max-connections = 1

# ---- DLR table structure ----
group = dlr-db
id = mydlr
table = dlr
field-smsc = smsc
field-timestamp = timestamp
field-destination = destination
field-source = source
field-service = service
field-url = url
field-mask = mask
field-status = status
field-boxc-id = boxc_id

group = smsc
smsc = smpp
smsc-id = testsmsc
host = 127.0.0.1
port = 8888
receive-port = 8888
smsc-username = "bulsmst"
smsc-password = "testC"
system-type = null
service-type = "sms"
interface-version = 34

group = smsc
smsc = smpp
smsc-id = routesms
host = host.com
port = 4444
receive-port = 4444
smsc-username = "user"
smsc-password = "PASS"
system-type = null
max-pending-submits = 20
enquire-link-interval = 60
denied-prefix = "35989"

group = smsbox
bearerbox-host = 127.0.0.1
sendsms-port = 7048
global-sender = "bulsms"
#log-level = 3
log-file = "/var/log/kannel/smsbox.log"

group = sendsms-user
username = bulware
password = PASS
forced-smsc = testsmsc
max-messages = 3
concatenation = true

group = sendsms-user
username = routesms
password = PASS
forced-smsc = routesms
max-messages = 3
concatenation = true

--
Regards,
Iskren Stoyanov
Bulware Technologies Ltd.



Reply via email to