Hi,

Work with these two parameter in smsc group

denied-smsc-id
preferred-smsc-id

On Fri, Sep 24, 2010 at 12:22 AM, Iskren Stoyanov <isk...@bulware.bg> wrote:
> 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