Hello Komil,
You are on the right path. 
Just uncomment the second SMSC group and ensure it has all the parameter given 
to you by the second network.
You can have as many smsc group in your config file as much as you have many 
networks to connect to.

A good practice is to break each smsc into a seperate file and put all the 
files in a folder and simply include that folder.

I hope this helps you.
Toyin Daniel


________________________________
 From: Komil Gulboev <[email protected]>
To: [email protected] 
Sent: Thursday, August 2, 2012 8:10 PM
Subject: Multiple SMSC integaration
 
Hi guys,

now I have connection via SMPP with one provider but need also connecting with 
another how can I do it?
For example if receive message from one provider should be send to subscriber 
with received providers settings.
Now I have this kind of settings:

group = core
#admin-port-ssl = true
admin-port = 13000
admin-password = xxx
status-password = xxx
log-file = "/var/log/kannel/kannel.log"
log-level = 0
access-log = "/var/log/kannel/access.log"
smsbox-port = 13001
#store-file = "/var/log/kannel/kannel.store"
dlr-storage = internal
sms-resend-retry = 1

#This is main settings which already working
group = smsc
smsc-id = babilon
smsc = smpp
host = xxx.xxx.xxx.xxx
port = 2775
receive-port = 2775
smsc-username = "xxx"
smsc-password = "xxxx"
source-addr-ton = 0
source-addr-npi = 0
dest-addr-ton = 1
dest-addr-npi = 1
system-type = VMA
throughput = 1000
reconnect-delay = 5
connection-timeout = 120
transceiver-mode = true
denied-smsc-id = tcell
allowed-smsc-id = babilon
preferred-smsc-id = babilon

#This section I`ll modify today but not sure for correcting and need attention 
from you
#group = smsc
#smsc-id = tcell
#smsc = smpp
#host =
#port =
#receive-port =
#smsc-username = "tcell"
#smsc-password = "tcell"
#source-addr-ton = 0
#source-addr-npi = 1
#dest-addr-ton = 1
#dest-addr-npi = 1
#reconnect-delay = 5
#system-type = VMA
#throughput = 1000
#connection-timeout = 120
#transceiver-mode = true
#denied-smsc-id = babilon
#allowed-smsc-id = tcell

group = smsbox
smsbox-id=babilone
bearerbox-host = localhost
sendsms-port = 13131
global-sender = 3333
log-file = /var/log/kannel/smsbox.log
log-level = 0
access-log = /var/log/kannel/access_smsbox.log

group = sendsms-user
username = "xxxxxxx"
password = "xxxxxxx"
user-deny-ip = "*.*.*.*"
user-allow-ip = "*.*.*.*"
concatenation = true
max-messages = 20
default-smsc = babilon

group = smsbox-route
smsbox-id = babilone
smsc-id = babilon

#group = sendsms-user
#username = "tcell"
#password = "tcell"
#concatenation = true
#max-messages = 20
#default-smsc = tcell

# SMS SERVICE 'default'
group = sms-service
keyword = default
omit-empty = true
max-messages = 0
get-url = 
"http://localhost/playsms/index.php?app=call&cat=gateway&plugin=kannel&access=geturl&t=%t&q=%q&a=%a&Q=%Q";
#get-url = 
"http://localhost/~playsms/plugin/gateway/kannel/geturl.php?t=%t&q=%q&a=%a";

Please pay attention to comment line (#) this my settings true or not?

Reply via email to