[SR-Users] Doubs about using append_branch ...

Alex Balashov abalashov at evaristesys.com
Mon Jul 26 09:24:51 CEST 2010


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()).


-- 
Alex Balashov - Principal
Evariste Systems LLC
1170 Peachtree Street
12th Floor, Suite 1200
Atlanta, GA 30309
Tel: +1-678-954-0670
Fax: +1-404-961-1892
Web: http://www.evaristesys.com/



More information about the sr-users mailing list