Hi,
You can only have 1 smsbox group in the same configuration file. You don't
need to have smsboxes defined to use smsbox-route. Smsboxes announce
themselves and their ids upon connecting to bearerbox, and from that point
on bearerbox can use smsbox-route.
BR,
Nikos
----- Original Message -----
From: "JimSG" <[email protected]>
To: <[email protected]>
Sent: Sunday, August 15, 2010 7:27 PM
Subject: routing incomming sms, one connection and one port
Hello,
Im my company we have been using kannel for over two years with the
configuration below one smsc group 15 sendsms-user groups and one service
group, and it has been working fine.
group = smsc
smsc = smpp
smsc-id = tigo
host = XX.XX.XX.XX
port = 3741
transceiver-mode= true
smsc-username = lapren
smsc-password = lapren1
system-type = NULL
allowed-smsc-id-regex = "tigo"
enquire-link-interval=30
reconnect-delay=15
throughput = 70
group = sendsms-user
username = sendsmstigo_2407
password = kaiser
default-smsc = tigo
default-sender = 2407
user-allow-ip = "*.*.*.*"
concatenation = true
group = sendsms-user
username = sendsmstigo_12407
password = kaiser
default-smsc = tigo
default-sender = 12407
user-allow-ip = "*.*.*.*"
concatenation = true
group = wap-push-user
wap-push-user = wappush
ppg-username = ppguser
ppg-password = ppgpasswdxx
allow-ip = "*.*.*.*"
group = sms-service
keyword = default
omit-empty = true
get-url =
http://127.0.0.1:8088/sec/router/router.php?Content=%a&DA=%P&SOA=%p&smscId=%i
accepted-smsc = tigo
Lately our service is growing and the outgoing sms speed is been a issue.
Our provider Celtel tell us that we can have simultaneous connections to
the
ip and port that they gave us. So started reading the guide and did the
next
configuration:
#---------------------------------------------------------------#
# CONEXION 2 LAPRENSA #
#---------------------------------------------------------------#
group = smsc
smsc = smpp
smsc-id = prensa
host = 10.239.12.69
port = 3741
smsc-username = lapren
smsc-password = lapren1
system-type = NULL
denied-smsc-id = comun;diez;promolog-file =
"/var/log/connector/smsc_prensa.log"
log-level = 1
transceiver-mode = true
enquire-link-interval=30
reconnect-delay=15
throughput = 40
#---------------------------------------------------------------#
# CONEXION 1 TIGO #
#---------------------------------------------------------------#
group = smsc
smsc = smpp
smsc-id = comun
host = 10.239.12.69
port = 3741
smsc-username = lapren
smsc-password = lapren1
system-type = NULL
denied-smsc-id = prensa;promo;diez
log-file = "/var/log/connector/smsc_tigo.log"
log-level = 1
transceiver-mode = true
enquire-link-interval=30
reconnect-delay=15
throughput = 40
#---------------------------------------------------------------#
# CONEXION 3 DIEZ #
#---------------------------------------------------------------#
group = smsc
smsc = smpp
smsc-id = diez
host = 10.239.12.69
port = 3741
smsc-username = lapren
smsc-password = lapren1
system-type = NULL
denied-smsc-id = comun;prensa;promo
log-file = "/var/log/connector/smsc_diez.log"
log-level = 1
transceiver-mode = true
enquire-link-interval=30
reconnect-delay=15
throughput = 40
#---------------------------------------------------------------#
# CONEXION 4 PROMO #
#---------------------------------------------------------------#
group = smsc
smsc = smpp
smsc-id = promo
host = 10.239.12.69
port = 3741
transceiver-mode= true
smsc-username = lapren
smsc-password = lapren1
system-type = NULL
denied-smsc-id = comun;diez;prensa
log-file = "/var/log/connector/smsc_promo.log"
log-level = 1
enquire-link-interval=30
reconnect-delay=15
throughput = 40
#---------------------------------------------------------------#
# SMS PUSH #
#---------------------------------------------------------------#
group = sendsms-user
username = sendsmstigo_2407
password = kaiser
forced-smsc = prensa
default-sender = 2407
user-allow-ip = "*.*.*.*"
#max-messages = 0
concatenation = true
group = sendsms-user
username = sendsmstigo_12407
password = kaiser
forced-smsc = prensa
default-sender = 12407
user-allow-ip = "*.*.*.*"
#max-messages = 0
concatenation = true
group = sendsms-user
username = sendsmstigo_0365
password = kaiser
forced-smsc = comun
default-sender = 0365
user-allow-ip = "*.*.*.*"
#max-messages = 0
concatenation = true
#more sendsms-user groups...
#-----------------------------------
group = wap-push-user
wap-push-user = wappush
ppg-username = ppguser
ppg-password = ppgpasswdxx
allow-ip = "*.*.*.*"
group = sms-service
keyword = default
omit-empty = true
catch-all = true
get-url =
http://127.0.0.1:8088/sec/router/router.php?Content=%a&DA=%P&SOA=%p&smscId=%i
accepted-smsc = prensa;comun;diez;promo
With this configuration the outgoing sms go through the correct smsc i
have
no problem there, but the incoming sms enter randomly i cant get them to
enter through the correct smsc.
I tried using on each smsc:
reroute-receiver=
prensa,2407;diez,3439;promo,3410;tigo,0365,8687,3376,6396,6292,6677,8899,9400
Did not work. I tried using smsbox-route (configuration below) but the
bearerbox would not start it gave and error that i cannot use smsc-id nor
shortcode with smsbox-route, i'm a little stuck. All the post that i read
are for routing different providers, different modems, etc. but not with
the
same connection. I would appreciate any help. Thanks.
group = smsbox
smsbox-id = boxprensa
bearerbox-host = localhost
sendsms-port = 13013
reply-requestfailed = "Gracias por su mensaje!"
group = smsbox
smsbox-id = boxdiez
bearerbox-host = localhost
sendsms-port = 13013
reply-requestfailed = "Gracias por su mensaje!"
group = smsbox
smsbox-id = boxpromo
bearerbox-host = localhost
sendsms-port = 13013
reply-requestfailed = "Gracias por su mensaje!"
group = smsbox
smsbox-id =boxcomun
bearerbox-host = localhost
sendsms-port = 13013
reply-requestfailed = "Gracias por su mensaje!"
group = smsbox-route
smsbox-id = boxprensa
smsc-id = prensa
shortcode = "2407;12407"
group = smsbox-route
smsbox-id = boxdiez
smsc-id = diez
shortcode = "3439,13439"
group = smsbox-route
smsbox-id = boxpromo
smsc-id = promo
shortcode = "3410"
group = smsbox-route
smsbox-id = boxcomun
smsc-id = comun
shortcode = "0365;8687;3376;6396;6292;6677;3031;3121;5588;8899;9400"
--
View this message in context:
http://old.nabble.com/routing-incomming-sms%2C-one-connection-and-one-port-tp29429532p29429532.html
Sent from the Kannel - User mailing list archive at Nabble.com.