Hi,

Take a look on the user guide, sendsms-user group. I'm using the forced-smsc 
property from this group, together with preferred-smsc-id property on smsc 
group to have the functionally you mentioned working.

If this is the best approach for this purpose, I'm not the most appropriated 
person to say. But, it works. =)

Regards,
Anderson



________________________________
De: Barry Murphy <[email protected]>
Para: Users <[email protected]>
Enviadas: Terça-feira, 25 de Maio de 2010 16:02:35
Assunto: choosing carrier to send from

Hi,

I have 3 carriers, one cheap and one expensive and 1 backup, I want to be
able to influence which carrier to use for which users, is this possible
with sqlbox?
I tried the following: insert into sqlbox_send_sms
(sender,receiver,msgdata,smsc_id) values
(6427412345,64274912345,"test","carrier2") but the carrier wasnt chosen

group=smsc
smsc=smpp
smsc-id=carrier1
interface-version=34
host=1.2.3.4
port=2711
system-id=username
smsc-password=password
system-type=VMA
transceiver-mode=true
source-addr-ton=1
source-addr-npi=1
dest-addr-ton=1
dest-addr-npi=1
keepalive = 15

group=smsc
smsc=smpp
smsc-id=carrier2
interface-version=34
host=1.2.3.5
port=7901
system-id=username
smsc-password=password
system-type=VMA
transceiver-mode=true
source-addr-ton=1
source-addr-npi=1
dest-addr-ton=1
dest-addr-npi=1
keepalive = 15
#msg-id-type=0x00

group=smsc
smsc=smpp
smsc-id=backup
interface-version=34
host=1.2.3.6
port=7000
system-id=username
smsc-password=password
system-type=VMA
transceiver-mode=true
source-addr-ton=1
source-addr-npi=1
dest-addr-ton=1
dest-addr-npi=1
keepalive = 15
#msg-id-type=0x00

From what I read on the forums, I may need to use preferred-smsc-id &
allowed-smsc-id however I cannot find much documentation on this.

Thanks in advance for your assistance.

Regards
Barry


      

Reply via email to