[OpenSIPS-Users] identify branch by name in minor_branch_flag

xaled xaled at web.de
Fri May 19 20:32:38 EDT 2017


Hi,

 

did I get it right that it is only possible to identify minor branches by index?

 

Using index I cannot have first branch to be minor in some scenarios and not minor in other.  

It would be good to be able to identify multiple minor branches by names. Ether URI, or additional specific name parameter could be used for it.

 

Instead of:

modparam("tm", "minor_branch_flag", 1)

 

something like:

modparam("tm", "minor_branch_flag", “sip:alice at test.com”)

 

route[1]{

append_branch("sip:alice at test.com");

append_branch("sip:bob at test.com");

}

 

route[2]{

append_branch("sip:bob at test.com");

append_branch("sip:alice at test.com");

}

 

$T_branch_idx could be extended to $T_branch_name.

 

Thanks,

xaled

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20170520/689ea03e/attachment.html>


More information about the Users mailing list