Hello,

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.

Regards,

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
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to