[OpenSIPS-Users] rl_check in failure route

Bogdan-Andrei Iancu bogdan at opensips.org
Mon Mar 12 10:34:21 EDT 2018

Hi William,

There was a documentation issue, you can use rl_check() from failure route:

Best regards,

Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
OpenSIPS Summit 2018

On 03/04/2018 01:52 PM, William Luke wrote:
> Hi there,
> Hoping for some guidance.
> We have multiple carriers we place calls out to the PSTN over, and 
> some have CPS limits which we check using rl_check and then choose a 
> different carrier if we’re over the limit.
> This all works great.
> Sometimes calls fail with reasons that would mean we want to retry 
> using a different carrier, so we need to handle this in the failure route.
> However the documentation states that rl_check can only be used in the 
> request route, so I’m not sure how we can check for limits when a call 
> has failed and a new carrier is being selected.
> We’ve a route that handles carrier selection and does the checking, 
> and I’ve tried routing to that inside the failure route and it all 
> appears to work, but I’m guessing something is going to break so 
> wanted to know if there was a way to do what I’m looking to do?
> Many thanks,
> William
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20180312/98dd6bc1/attachment.html>

More information about the Users mailing list