Hello Nick,
The AVP based solution maybe easy, clean and efficient.
I will come back to you with a short patch to allow multiple GW ID by
using multiple values for an AVP int route_to_gw() function.
Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com
On 17.02.2014 21:26, Nick Cameo wrote:
Hello Bogdan,
Defiantly there will be extra processing to iterate through a list
which is passed
as a parameter. The processing is done already using optimized queries
and indexes.
Even then the pros far outweigh the cons.
Do you find that using only AVPs for multi-ID routing will be a limitations ?
No limitations at all. I just don't know how to do it. And hope I do
not need to hack my
beautiful OpenSIPS script with additional flags and manage iteration
through the list manually?
If one can kindly provide an example as to which avp accepts a comma
separated ordered gwlist, and how `do_routing` and `use_next_gw in the
failure route` will process the assigned avp, that would be perfect!
It was either that or passing a method parameter.
Bogdan, I love you :)
N.
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users