On 07/26/2010 03:19 AM, Raúl Alexis Betancor Santana wrote:
On Monday 26 July 2010 07:22:42 Alex Balashov wrote:
On 07/26/2010 02:14 AM, Raúl Alexis Betancor Santana wrote:
I don't undestand ... so ... execution continues in the next line, just after append_branch for BOTH branches, but wenever I call t_relay ... BOTH branches will pass through on_branch_route BEFORE been forwarded?
That's exactly correct.
But when branches are generated after a call to lookup (multiple AOR for example), on_branch_route is called after lookup and before t_relay? or JUST after lookup, so for the new branches execution BEGINS on on_branch_route ?
I would say it is called as part of t_relay(), prior to actually forwarding the request on the socket level, because it's anchored to TM callbacks (e.g. t_on_branch()).