Discussion:
[SR-Users] LCR base on call rate
Satish Patel
2014-09-10 13:27:47 UTC
Permalink
I heard somewhere LCR can do routing based on call rate and call price, does it true? I haven't seen any config or doc which does call rate using LCR. It only does routing base on prefix scan.

Am I missing something here?

Sent from my iPhone
Juha Heinanen
2014-09-10 16:17:28 UTC
Permalink
Post by Satish Patel
I heard somewhere LCR can do routing based on call rate and call
price, does it true? I haven't seen any config or doc which does call
rate using LCR. It only does routing base on prefix scan.
for each prefix you can define gateways and give each a priority and
weight. if you can map your rates to gw priorities then lcr module may
work for you.

-- juha
Satish Patel
2014-09-10 20:09:29 UTC
Permalink
Thanks for replay, anyone did that before? Any example or sample script will help

Sent from my iPhone
Post by Juha Heinanen
Post by Satish Patel
I heard somewhere LCR can do routing based on call rate and call
price, does it true? I haven't seen any config or doc which does call
rate using LCR. It only does routing base on prefix scan.
for each prefix you can define gateways and give each a priority and
weight. if you can map your rates to gw priorities then lcr module may
work for you.
-- juha
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Juha Heinanen
2014-09-11 06:05:13 UTC
Permalink
Post by Satish Patel
Thanks for replay, anyone did that before? Any example or sample
script will help.
you just call load_gw() first and then make next_gw() calls until call
succeeds. this is explained in the README.

-- juha

Loading...