Hi Callum,

In the old, old times, doing a t_on_branch(0) would have reset it. But when moving to named routes, this ability was somehow lost :(...The internal function still allows it, but the parameter fixup does not. The fix will be really small and quite, if you want to try it - it's just about adding the CMD_PARAM_OPT flag to the parameter in the internal definition of the function.

Would you be able to run a test if I'll get you a patch ?

Regards,

Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
  https://www.opensips-solutions.com
  https://www.siphub.com

On 10/10/23 12:50 PM, Callum Guy wrote:
Hi All,

I can't find a function to reset a branch route. Instead I'm just creating a new empty branch route which I set in the failure route but this seems superfluous.

Am I missing something or does it simply not exist?

Callum

Voting link <https://generalpracticeawards.com/supplier-voting-2023/> (it takes less than 20 seconds!)


*^0333 332 0000  | x-on.co.uk <https://www.x-on.co.uk>  | _**_^<https://www.linkedin.com/company/x-on> <https://www.facebook.com/XonTel> <https://twitter.com/xonuk> **^  | **^Practice Index Reviews <https://practiceindex.co.uk/gp/x-on> *

*Our new office address: 22 Riduna Park, Melton IP12 1QT.*

X-on is a trading name of X-on Health Ltd a limited company registered in England and Wales. Registered Office : Glebe Farm, Down Street, Dummer, Basingstoke, Hampshire, England RG25 2AD. Company Registration No. 2578478. The information in this e-mail is confidential and for use by the addressee(s) only. If you are not the intended recipient, please notify X-on immediately on +44(0)333 332 0000 and delete the message from your computer. If you are not a named addressee you must not use, disclose, disseminate, distribute, copy, print or reply to this email. Views or opinions expressed by an individual within this email may not necessarily reflect the views of X-on or its associated companies. Although X-on routinely screens for viruses, addressees should scan this email and any attachments for viruses. X-on makes no representation or warranty as to the absence of viruses in this email or any attachments.


_______________________________________________
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