[OpenSIPS-Users] Reseting t_on_branch

Vlad Paiu vladpaiu at opensips.org
Tue Nov 15 14:02:41 CET 2011


Why don't you write your config properly, in the sense that you keep 
track of when you do need a branch_route or don't need it ?
Calling t_on_branch() for everything and then disabling it just for some 
cases is not the proper way to do it anyway.


Vlad Paiu
OpenSIPS Developer

On 11/15/2011 02:58 PM, Saúl Ibarra Corretgé wrote:
> Hi Ovidiu,
> On Nov 15, 2011, at 1:52 PM, Ovidiu Sas wrote:
>> Any branch can be dropped now using remove_branch(pv|int):
>> http://www.opensips.org/Resources/DocsCoreFcn17#toc121
> That doesn't exactly do what I want. I don't want to drop a branch, I just don't want a branch_route to be called anymore, but I do want the branch to continue.
> Right now, as a workaround, I created a dummy branch route which does nothing and did t_on_branch with this dummy branch, but it feels like a hack :-S
> Regards,
> --
> Saúl Ibarra Corretgé
> AG Projects
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users

More information about the Users mailing list