[OpenSIPS-Users] Route group inside of drouting

Andrew Pogrebennyk andrew.pogrebennyk at portaone.com
Mon Jun 13 15:42:05 CEST 2011


On 13.06.2011 16:40, Kent Pirlo wrote:
> 212555, gwlist = 3,5,1
> 
> now.. lets say gw "3" actually needs to try multiple ips for that 
> carrier before going on to gw "5", is this possible while using 
> drouting or do i need to scrap the drouting module to do something 
> complex like this..

It is possible and described in the module documentation:

Also the module allows the usage of groups in the destination lists. A 
group of destinations is delimited by semi-colon char. inside the whole 
destination list ( like: 2,4;5,78,23;4;7;2 ). The destinations from 
within a group may be act differently (like load-balancing, random 
selection, etc), depending of the “sort_order” parameter - more about 
this is available under the “do_routing()” function section.

http://www.opensips.org/html/docs/modules/1.6.x/drouting.html#id294582

-- 
Sincerely,
Andrew Pogrebennyk




More information about the Users mailing list