Hi community. I have a question regarding usage of core function - append_branch(). It's pretty clear for me, what is a purpose of it, but I have a few tricky questions regarding it.
First, how system behaves in case if I call append_branch() but don't make any changes on R-URI of a paternal branch - branch[0] ? What will happen when both branches reach t_relay() function? Will OpenSIPS application get that those branches have the same INVITE request, with completely similar destination URIs? And will it ignore branch[1] since of that? In case if not, will those INVITE requests from branch[0] and branch[1] have different "branch=" values in the top most Via header (showing to remote system that those two are different transactions) ? Second question is, what if I manually set destination URI just before calling append_branch(): $du = "sip:some.domain.com:5060" ; append_branch(); Will the second branch ( branch[1] ) inherit the same destination URI? Or will it set its own destination URI using R-URI it inherited from branch[0] ? Thanks for an answer in advance! -- -- BR, Donat Zenichev
_______________________________________________ Devel mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
