[OpenSIPS-Users] Exit route & continue

Bogdan-Andrei Iancu bogdan at opensips.org
Tue Aug 13 06:49:44 EDT 2019


return(0) == exit()

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:48 PM, Mark Farmer wrote:
> 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 
> <mailto: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 list
>>     Users at lists.opensips.org <mailto:Users at lists.opensips.org>
>>     http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>
> -- 
> Mark Farmer
> farmorg at gmail.com <mailto:farmorg at gmail.com>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20190813/5ad261fd/attachment.html>


More information about the Users mailing list