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@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@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@lists.kamailio.org http://lists.kamailio.org/cgi-bin/mailman/listinfo/users http://lists.openser-project.org/cgi-bin/mailman/listinfo/users