<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Hello,</p>
    <p>for request_route, drop or exit do the same. <br>
    </p>
    <p>Also, both drop and exit stop execution of config file, so makes
      no sense to use one after the other. Drop is different that exit
      in branch_route, onreply_route and onsend_route, telling the core
      not to send the message out. But in request route, an explicit
      t_relay() or forward() has to be used to send the request out,
      without it, kamailio is not doing it.</p>
    <p>Cheers,<br>
      Daniel<br>
    </p>
    <div class="moz-cite-prefix">On 31.03.19 21:36, SamyGo wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAJUJwtja70h8-t=ie5qNYHYES9==9+BnaV8jo6Jy3-aWVZfYjg@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="auto">Hi,
        <div dir="auto">Can you please elaborate about the part where
          you said "drop rest of the packets".</div>
        <div dir="auto"><br>
        </div>
        <div dir="auto">If an OPTIONs is incoming you can send reply and
          then exit; a drop is like silently discarding a packet as far
          as I know.</div>
        <div dir="auto"> </div>
        <div dir="auto">Do you meant to discard any further packets in
          same dialog or transaction to be matched and discarded/dropped
          ? </div>
        <div dir="auto"><br>
        </div>
        <div dir="auto">Regards,</div>
        <div dir="auto">Sammy</div>
      </div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr" class="gmail_attr">On Sun, Mar 31, 2019, 5:54 AM
          PICCORO McKAY Lenz, <<a
            href="mailto:mckaygerhard@gmail.com" moz-do-not-send="true">mckaygerhard@gmail.com</a>>
          wrote:<br>
        </div>
        <blockquote class="gmail_quote" style="margin:0 0 0
          .8ex;border-left:1px #ccc solid;padding-left:1ex">
          <div dir="ltr">
            <div dir="ltr">h have this for a custom rule agains
              spoecific messages:<br>
              <br>
                      sl_send_reply("200", "OK");<br>
                 drop();<br>
                      exit;<br>
              <br>
            </div>
            <div>my question are if that rules are correct: <br>
              <br>
              i want to drop but send firts to client a ok response.. <br>
            </div>
            <div>i mean client receive "all are ok dont worry" and then
              drop the rest packets..<br>
              <br>
            </div>
            <div>that's correct?<br>
              <br clear="all">
            </div>
            <div dir="ltr">
              <div>
                <div class="m_3114128965954954403gmail_signature"
                  dir="ltr"><font color="#888888">Lenz McKAY Gerardo
                    (PICCORO)</font>
                  <div><font color="#888888"><a
                        href="http://qgqlochekone.blogspot.com"
                        target="_blank" rel="noreferrer"
                        moz-do-not-send="true">http://qgqlochekone.blogspot.com</a></font></div>
                </div>
              </div>
            </div>
          </div>
          _______________________________________________<br>
          Kamailio (SER) - Users Mailing List<br>
          <a href="mailto:sr-users@lists.kamailio.org" target="_blank"
            rel="noreferrer" moz-do-not-send="true">sr-users@lists.kamailio.org</a><br>
          <a
            href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users"
            rel="noreferrer noreferrer" target="_blank"
            moz-do-not-send="true">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
        </blockquote>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
Kamailio (SER) - Users Mailing List
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a>
<a class="moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
    </blockquote>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla -- <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/miconda">www.twitter.com/miconda</a> -- <a class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda">www.linkedin.com/in/miconda</a>
Kamailio World Conference - May 6-8, 2019 -- <a class="moz-txt-link-abbreviated" href="http://www.kamailioworld.com">www.kamailioworld.com</a></pre>
  </body>
</html>