[OpenSIPS-Users] Exit route & continue

Mark Farmer farmorg at gmail.com
Tue Aug 13 06:48:43 EDT 2019


Ahh, I was nearly there, I was using return(0); Changing to return(-1)
solved it but should they not have the same result?

Mark.


On Tue, 13 Aug 2019 at 11:42, Bogdan-Andrei Iancu <bogdan at opensips.org>
wrote:

> use "return" :)
>
> Regards,
>
> Bogdan-Andrei Iancu
>
> OpenSIPS Founder and Developer
>   https://www.opensips-solutions.com
> OpenSIPS Summit 2019
>   https://www.opensips.org/events/Summit-2019Amsterdam/
>
> On 08/13/2019 01:40 PM, Mark Farmer wrote:
>
> Good morning all
>
> I suspect I'm missing something basic here.
> I call a route that tests for certain $rU digits & routes to an Asterisk
> server for voicemail etc. The problem I have is that my calls are getting
> into a loop and being tested over & over again. How do I exit the route &
> continue from the point the route was called?
>
> Many thanks
> Mark
>
>
>
> _______________________________________________
> Users mailing listUsers at lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>

-- 
Mark Farmer
farmorg at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20190813/5d7cc0f6/attachment-0001.html>


More information about the Users mailing list