[OpenSIPS-Users] Reset branch route

Callum Guy callum.guy at x-on.co.uk
Tue Oct 10 10:59:57 UTC 2023


Hi Bogdan,

Thanks for your response! I wasn't clear if named routes were supported for
branch/failure routes on 3.2 (I use them fine for reply routes) having
recently had issues with a failure route named 1_LB - perhaps that was due
to the leading integer?

Unfortunately I'm currently heavily invested in a production project so
there isn't much time for testing a non-critical patch. I will be upgrading
to 3.4 before the end of the year though and will certainly try to
implement then.

Similarly thank you for resolving #3216
<https://github.com/OpenSIPS/opensips/issues/3216> however I'll also have
to wait for the next major upgrade before disabling the probes!

I do wish I was more available for testing, my apologies.

Callum

On Tue, 10 Oct 2023 at 11:34, Bogdan-Andrei Iancu <bogdan at opensips.org>
wrote:

> 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 listUsers at lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>

-- 


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.








-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20231010/d19cd514/attachment-0001.html>


More information about the Users mailing list