Hi,
In my opinion you don't need to make 3 users to send sms. Add smsc-id
directive on your smsc-group. And when you send SMS via HTTP command.
just add smsc=your-smsc-id. Please refer to HTTP command in the user
guide.

Regards,


Willy
On Wed, 2008-05-21 at 15:35 +0200, PoPo wrote:
> Hi!
> 
> I have Kannel / SMSbox with 3 routes (=3 smsc) and 3 users for each 
> route (forced-smsc).
> But when I send message from http request with various specified user, 
> password and smsid I recieve SMS from unique route.
> 
> When I keep unique SMPP server on my configuration, I recieve SMS with 
> good route.
> 
> Here is my configuration files :
> 
> kannel.conf
> > group = core
> > admin-port = 13000
> > admin-password = xxx
> > status-password = xxx
> > admin-deny-ip = "*.*.*.*"
> > admin-allow-ip = "127.0.0.1"
> > access-log = "/var/log/kannel/access.log"
> > log-file = "/var/log/kannel/core.log"
> > log-level = 2 # Warnings
> > smsbox-port = 13001
> > box-deny-ip = "*.*.*.*"
> > box-allow-ip = "127.0.0.1"
> > udp-deny-ip = "*.*.*.*"
> > udp-allow-ip = "127.0.0.1"
> >
> > include="/etc/kannel/smsbox.conf"
> >
> > # Dynamic sender id
> > include="/etc/kannel/smpp_dyn1.conf"
> > # Fixed sender id
> > include="/etc/kannel/smpp_fix1.conf"
> > # Dynamic sender id (backup)
> > # same as smpp_fix1.conf
> >
> > include="/etc/kannel/sendsms-user.conf"
> 
> smsbox.conf
> > group = smsbox
> > sendsms-port = 13013
> > log-file = "/var/log/kannel/smsbox1.log"
> > log-level = 2
> > access-log = "/var/log/kannel/smsbox1_access.log"
> 
> smpp_dyn1.conf
> > group = smsc
> > smsc-id = dyn1
> > smsc = smpp
> > log-file = "/var/log/kannel/dyn1.log"
> > log-level = 2
> > host = xxx
> > port = 2346
> > receive-port = 2346
> > smsc-username = xxx
> > smsc-password = xxx
> > system-type = VMA
> > service-type= 43
> > source-addr-ton = 0
> > source-addr-npi = 1
> > dest-addr-ton = 1
> > dest-addr-npi = 1
> 
> smpp_fix1.conf
> > group = smsc
> > smsc = smpp
> > smsc-id = fix1
> > host = xxx
> > port = 2775
> > receive-port = 2775
> > enquire-link-interval = 60
> > smsc-username = "xxx"
> > smsc-password = "xxx"
> > reconnect-delay = 60
> > source-addr-ton = 1
> > source-addr-npi = 1
> > dest-addr-npi = 1
> > system-type = smpp
> > alt-charset="iso-8859-1"
> > log-level = 0
> > log-file = "/var/log/kannel/smsc_42it_fixed.log"
> 
> sendsms-user.conf
> > group = sendsms-user
> > username = dyn1
> > password = xxx
> > forced-smsc = dyn1
> >
> > group = sendsms-user
> > username = dyn2
> > password = xxx
> > forced-smsc = dyn2
> 
> Can you help me please ?
> 
> Thanks for all.
> Cyril G.
> 
> ie : sorry for my bad english !
> 
-- 
[sangprabv]
http://www.sangprabv.web.id


Reply via email to