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 <[email protected]>
> 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
> [email protected]
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users