[OpenSIPS-Users] 1.8 drouting module - clarification
bogdan at opensips.org
Thu Nov 29 18:41:48 CET 2012
So way of sorting the destinations is now per rule or carrier (and not
The rule must contain a chain of gateways and carriers. The module will
execute serial forking for each address in chain (in which order the
destinations will be tried, depends on the definition order or depends
on the weights (weights selection must be enabled). The next address in
chain is used only if the previously has failed.
So either the you keep the given order (as per provisioning), either do
weight based re-ordering. By default the given order is kept, unless you
set the Weight flag in do_routing (
or the weight flag in carrier definition.
So, much shorter, you simply do do_routing("0"); in order to keep the
same behavior :).
OpenSIPS Founder and Developer
On 11/27/2012 05:57 PM, Pete Kelly wrote:
> In 1.7 I am using the drouting module, and calling do_routing like this:
> do_routing("0", "0");
> So the gateways will be loaded up strictly in the order they are
> specified in the gwlist column.
> However the numeric sort parameter has been removed in 1.8 and
> replaced with flags. How can I achieve this same sort order in 1.8?
> Users mailing list
> Users at lists.opensips.org
More information about the Users