[OpenSIPS-Users] DR and failover

Mike Tesliuk mike at ultra.net.br
Fri Nov 15 17:47:07 CET 2013


on failure route you should use the function use_next_gw

 if (use_next_gw()) {
                route(4);
        }


you have a tutorial on opensips website

http://www.opensips.org/Documentation/Tutorials#toc2




2013/11/15 Nick Cameo <symack at gmail.com>

> Hello Everyone,
>
> We use the DR module and LOVE IT! Quick question regarding failing
> over to the next gateway. Do we need to do anything in the failure
> route of our script? Or is it just as simple as entering the gateway
> in dr_rules.gwlist (ie, 1,2,3.....), and having the entry in
> dr_gatways?
>
> Kind Regards,
>
> Nick.
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20131115/5705aa19/attachment.htm>


More information about the Users mailing list