Hi,

I have one single channel configured with the operator to receive incoming
SMS traffic. I need to separate out the traffic from the same channel based
on the receiver number. Currently, I have one single sms-service defined in
the configuration (delivering whole traffic to one destination). This group
is receiving traffic for receiver 123 and 12345. There is no keyword
segregation in the traffic.

group = sms-service
keyword = default
get-url =
http://xxx.xxx.xxx.xxx/receive-sms.php?sender=%p&text=%r&key=%k&receiver=%P
accepted-smsc = vodafone
catch-all = true

I want kannel to separate out traffic sent to receiver 123 from all
incoming traffic and send that to another get-url. Will using
"allowed-receiver-prefix-regex"
solve the problem? Is the below config the right one (both working
together)?

group = sms-service
keyword = default
get-url =
http://xxx.xxx.xxx.xxx/receive-sms.php?sender=%p&text=%r&key=%k&receiver=%P
accepted-smsc = vodafone
catch-all = true
group = sms-service
allow-receiver-prefix-regex=^123$
keyword = default
get-url =
http://aaa.bbb.ccc.ddd/receive-sms.php?sender=%p&text=%r&key=%k&receiver=%P
accepted-smsc = vodafone
catch-all = true

Thanks for the help!

Hamza

Reply via email to