2009/9/16 Daniel-Constantin Mierla <[email protected]>: > > > On 16.09.2009 19:00 Uhr, Iñaki Baz Castillo wrote: >> >> 2009/9/16 Iñaki Baz Castillo <[email protected]>: >> >>> >>> As far as I understand 'next_gw()' sets $du. However, I do t_on_branch >>> before relaying the request and $du is <null>. How is possible? This >>> occurs for the first selected gw and for the others. >>> >> >> The only workaround I've found is printing $ru in branch_route. >> > > any update to r-uri should be visible in failure route via $ru. > > However, if internally is called append_branch(), then won't be visible in > the config. Not sure how is this done, but iirc, at some point I had to > patch lcr not do automatically append branch and let the script writer do > it. For the same reason that I needed to play a bit with $ru.
Yes, that seems to be the current LCR behaviour (adding a branch internally). -- Iñaki Baz Castillo <[email protected]> _______________________________________________ sr-dev mailing list [email protected] http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
