<div dir="ltr">Ahh, I was nearly there, I was using return(0); Changing to return(-1) solved it but should they not have the same result?<div><br></div><div>Mark.</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 13 Aug 2019 at 11:42, Bogdan-Andrei Iancu <<a href="mailto:bogdan@opensips.org">bogdan@opensips.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF">
    <tt>use "return" :)<br>
      <br>
      Regards,<br>
    </tt>
    <pre class="gmail-m_3249134766801285289moz-signature" cols="72">Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
  <a class="gmail-m_3249134766801285289moz-txt-link-freetext" href="https://www.opensips-solutions.com" target="_blank">https://www.opensips-solutions.com</a>
OpenSIPS Summit 2019
  <a class="gmail-m_3249134766801285289moz-txt-link-freetext" href="https://www.opensips.org/events/Summit-2019Amsterdam/" target="_blank">https://www.opensips.org/events/Summit-2019Amsterdam/</a>
</pre>
    <div class="gmail-m_3249134766801285289moz-cite-prefix">On 08/13/2019 01:40 PM, Mark Farmer
      wrote:<br>
    </div>
    <blockquote type="cite">
      <div dir="ltr">Good morning all
        <div><br>
        </div>
        <div>I suspect I'm missing something basic here.</div>
        <div>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?</div>
        <div><br>
        </div>
        <div>Many thanks</div>
        <div>Mark</div>
        <div><br>
        </div>
      </div>
      <br>
      <fieldset class="gmail-m_3249134766801285289mimeAttachmentHeader"></fieldset>
      <br>
      <pre>_______________________________________________
Users mailing list
<a class="gmail-m_3249134766801285289moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a class="gmail-m_3249134766801285289moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
    </blockquote>
    <br>
  </div>

</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature">Mark Farmer<br><a href="mailto:farmorg@gmail.com" target="_blank">farmorg@gmail.com</a></div>