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 <[email protected] <mailto:[email protected]>> 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
    [email protected] <mailto:[email protected]>
    http://lists.opensips.org/cgi-bin/mailman/listinfo/users



--
Mark Farmer
[email protected] <mailto:[email protected]>

_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to