Thanks for the clarification Liviu.

Mark.


On Thu, 27 Feb 2020 at 14:20, Liviu Chircu <[email protected]> wrote:

> On 27.02.2020 16:17, Mark Farmer wrote:
> > If I use do_routing() in an if statement like this:
> >
> > if (is_from_gw("2") && do_routing("3")) {
> >     set flag(EXT_TPTY);
> >     ...
> > }
> >
> > Do I need to call do_routing() again before actually routing the call?
>
> Hi, Mark!
>
> Unless you specify the "C" flag, do_routing() will overwrite your R-URI
> by default.  So you can t_relay() right after the 1st call!
>
> Regards,
>
> --
> Liviu Chircu
> www.twitter.com/liviuchircu | www.opensips-solutions.com
>
> OpenSIPS Summit, Amsterdam, May 2020
>    www.opensips.org/events
> OpenSIPS Bootcamp, Miami, March 2020
>    www.opensips.org/training
>
>

-- 
Mark Farmer
[email protected]
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to