Hi Ricky,
Ricky Wibowo wrote:
By the way,
sorry if i'm wrong, your configuration seems that if any incoming
messages, it will be send again to the sender (MO)...
group = smsc
smsc = smpp
smsc-id = SMSC-1
group = smsc
smsc = smpp
smsc-id = SMSC-2
Above you set up 2 smsc that talk smpp.
group = sms-service
keyword = default
get-url =
"http://localhost:8080/cgi-bin/sendsms?smsc=SMSC-2&?username=test2&password=test2&sender=%p&text=%a&recipient=%P"
accepted-smsc = SMSC-1
group = sms-service
keyword = default
get-url =
"http://localhost:8080/cgi-bin/sendsms?smsc=SMSC-1&username=test2&password=test2&sender=%p&text=%a&recipient=%P"
accepted-smsc = SMSC-2
Here you set up 2 services with the magic keyword default that only
accept messages (all messages though) from 1 of the smsc. So incoming
messages from each of the smsc will go to a particular sms-service. From
there they call a sendsms - but notice the smsc=SMSC-x in the parameter
list. This routes the message back to the other smsc to be sent out over
smpp.
Is that clear? :)
Gareth
--
Gareth Reakes, Managing Director Parthenon Computing
+44-1865-811184 http://www.parthcomp.com