[Kamailio-Users] question about $branch(name) PV

Daniel-Constantin Mierla miconda at gmail.com
Wed Jul 15 15:28:49 CEST 2009



On 15.07.2009 15:24 Uhr, Alex Balashov wrote:
> Main branch is handled as well. Every call is a "branch" even without 
> forking.

this is tm branch terminology, but the $branch uses the core destination 
set structures, which are filled when new branches are added. It is a 
bit confusing and not consistent, but it is the way was built in the 
first place - main branch spreads across couple of fields in sip_msg 
structure while additional ones are stored in an array of dedicated 
structure in core, until tm creates the transaction and builds its branches.

Cheers,
Daniel
>
> -- 
> Sent from mobile device
>
> On Jul 15, 2009, at 9:17 AM, Klaus Darilion 
> <klaus.mailinglists at pernau.at> wrote:
>
>> Hi!
>>
>> Does $branch(name) also handle the "main branch" ($ru, $du) as a 
>> branch, or will it handle only the additional branches?
>>
>> thanks
>> klaus
>>
>> _______________________________________________
>> Kamailio (OpenSER) - Users mailing list
>> Users at lists.kamailio.org
>> http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
>> http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
>
> _______________________________________________
> Kamailio (OpenSER) - Users mailing list
> Users at lists.kamailio.org
> http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
> http://lists.openser-project.org/cgi-bin/mailman/listinfo/users

-- 
Daniel-Constantin Mierla
http://www.asipto.com/





More information about the sr-users mailing list