And do not forget to specify the smsc-id in the URL when calling
sendsms!
It seems obvoius, but routing doesn't work for me if missing the
smsc-id in the GET to sendsms
J
Rene Kluwen wrote:
Specify in the first group:
allowed-smsc-id = centre1
and in the second group:
allowed-smsc-id = centre2
Rene Kluwen
Chimit
Hello,
I have 2 sms centres. I need to
choose the smsc when I send the SMS using the cgi-bin/sendsms HTTP
command because in particular destinations, the first smsc is cheaper
than the second and vice versa.
I have created two smsc groups as
stated in the user guide:
group = smsc
smsc = smpp
smsc-id = centre1
host = 100.100.100.100
port = 4400
smsc-username = user1
smsc-password = pass1
system-type = VMA
source-addr-ton = 1
source-addr-npi = 1
group = smsc
smsc = smpp
smsc-id = centre2
host = 200.200.200.200
port = 4400
smsc-username = user2
smsc-password = pass2
system-type = VMA
source-addr-ton = 1
source-addr-npi = 1
allowed-smsc-id = centre1;centre2
Then when i call the HTTP command:
The smses are always being sent
via centre1, no matter what i specify as smsc. Is that the correct way
to specify an smsc? (&smsc=centre2) ?
Best Regards,
|