I'm currently connecting to two SMS-Cs at two different operators. What you have to do is to define a group = smsc for each SMS-C you want to connect to (I'm using one group = smsbox).
In your case it might go something like this:
group = smsc
smsc-id = operator1
allowed-smsc-id = operator1
smsc = smpp
interface-version = 34
.
.
.
group = smsc smsc-id = operator2 allowed-smsc-id = operator2 smsc = smpp interface-version = 34 . . .
Then you have to set up group = sendsms-user since you would like to push the message from one SMS-C to the other, so:
group = sendsms-user
username = foo1
password = bar1
forced-smsc = operator1
.
.
.
group = sendsms-user username = foo2 password = bar2 forced-smsc = operator2 . . .
If you don't want a subscriber at operator1 receive a reply when he/she sends a message, make sure you set max-messages=0 at the group = sms-service setting:
group = sms-service
keyword = default
name = service1
accepted-smsc = operator1
url = "http://yourhost/yourapp"
max-messages = 0
.
.
.
group = sms-service keyword = default name = service2 accepted-smsc = operator2 url = "http://yourhost/yourapp" max-messages = 0 . . .
Make you app catch the message from an SMS-C and then push it using http://yourhost:sendsms-port/cgi-bin/sendsms?username=sendsms_username_of_other_smsc&password=sendsms_password_of_other_smsc&to=dest_msisdn&text=yaddayaddayadda.
Hope this helps, --Reza
Oscar Flores wrote:
Hi kannel users,
In my company we have a project to interconnect different SMSCs and We want to use the kannel gateway to do this.
The idea is to connect SMSCs from different mobile operators, let's suppose two operators, kannel will be connected to both SMSCs using SMPP 3.4. And when subs from operator1 sends messages to subs from operator2 kannel will receive the messages from SMSC1 and send them to SMSC2 and in the other way too.
We have reviewed the documentation and did some test but we weren't able to make this work. Would you like to give us some help, How we do have to make the configuration, do we need one smsbox for each operator?
Many Thanks and Best Regards
Oscar Flores
