Alex,

I am assuming that you are using a sendsms-user group to send the messages
out.
There are two things you need to do:

to your smsc group add 
allowed-smsc-id = 11111

to your send sms-user group add:
forced-smsc = 11111

your URL string would be:

http://your.url.addy:10013/cgi-bin/sendsms?user=11111&pass=XXXX&to=<number>&
text=<message>&from=<assigned+number>
you will need to do this for all accounts

There should be no reason to run different bearer boxes.

Hope this helps.

Hayden



> -----Original Message-----
> From: Alexander Lim [SMTP:[EMAIL PROTECTED]
> Sent: Friday, February 13, 2004 4:32 AM
> To:   [EMAIL PROTECTED]
> Subject:      kannel smpp co-exist problems
> 
> Hi all,
> 
> I am trying to configure 2 kannel (smpp) for 2 different projects. My 
> provider has set up an login account for me to connect to their smsc. I am
> 
> able to connect to the smsc with no problem. I has been assigned with 2 
> different numbers for those projects, 11111 and 22222. So I setup kannel
> and 
> smsbox configuration for both kannel1 (version 1.2.1) and kannel2 (version
> 
> 1.3.1). Everthing runs ok ...both kannel are up. However if I test and
> send 
> an sms to 11111 sometime kannel2 (22222) would get it and vice versa. I 
> suspect that maybe because my provider has setup the same account for both
> 
> project so there is a conflict or is it a bug in kannel?
> 
> I have also tried to combined the 2 project since the login account is the
> 
> same for both of them but I still no luck. There is no smsc mo group so I 
> can't denied-smsc-id for the mo. Anyone face similar problem or knows a
> way 
> to get around this or the proper way of going about it or even a patch to 
> kannel? Please advice....Below is a portion of kannel.conf
> 
> Thanks.
> 
> Alex
> 
> 
> 
> kannel.conf
> ========
> 
> #for Project 1
> 
> group = smsc
> smsc = smpp
> smsc-id = SMSC11111
> host = 111.111.111.111
> port = 9999
> smsc-username = "USER"
> smsc-password = pass
> system-type = " "
> source-addr-ton = 0
> source-addr-npi = 1
> dest-addr-ton = 1
> dest-addr-npi = 1
> interface-version = 34
> transceiver-mode = yes
> address-range = ""
> denied-smsc-id = SMSC22222;SMSC22222_2
> my-number = 11111
> 
> 
> group = smsc
> smsc = smpp
> smsc-id = SMSC11111_2
> host = 111.111.111.111
> port = 9999
> smsc-username = "USER"
> smsc-password = pass
> system-type = " "
> source-addr-ton = 0
> source-addr-npi = 1
> dest-addr-ton = 1
> dest-addr-npi = 1
> interface-version = 34
> transceiver-mode = yes
> address-range = ""
> denied-smsc-id = SMSC22222;SMSC22222_2
> my-number = 11111
> 
> #for Project 2
> 
> group = smsc
> smsc = smpp
> smsc-id = SMSC22222
> host = 111.111.111.111
> port = 9999
> smsc-username = "USER"
> smsc-password = pass
> system-type = " "
> source-addr-ton = 0
> source-addr-npi = 1
> dest-addr-ton = 1
> dest-addr-npi = 1
> interface-version = 34
> transceiver-mode = yes
> address-range = ""
> denied-smsc-id = SMSC11111;SMSC11111_2
> my-number = 22222
> 
> group = smsc
> smsc = smpp
> smsc-id = SMSC2222_2
> host = 111.111.111.111
> port = 9999
> smsc-username = "USER"
> smsc-password = pass
> system-type = " "
> source-addr-ton = 0
> source-addr-npi = 1
> dest-addr-ton = 1
> dest-addr-npi = 1
> interface-version = 34
> transceiver-mode = yes
> address-range = ""
> denied-smsc-id = SMSC11111;SMSC11111_2
> my-number = 22222
> 
> _________________________________________________________________
> Using a handphone prepaid card? Reload your credit online! 
> http://www.msn.com.my/reloadredir/default.asp
> 

Reply via email to