Hi,
Can you please elaborate about the part where you said "drop rest of the packets".

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.
 
Do you meant to discard any further packets in same dialog or transaction to be matched and discarded/dropped ? 

Regards,
Sammy

On Sun, Mar 31, 2019, 5:54 AM PICCORO McKAY Lenz, <mckaygerhard@gmail.com> wrote:
h have this for a custom rule agains spoecific messages:

        sl_send_reply("200", "OK");
   drop();
        exit;

my question are if that rules are correct:

i want to drop but send firts to client a ok response..
i mean client receive "all are ok dont worry" and then drop the rest packets..

that's correct?

Lenz McKAY Gerardo (PICCORO)
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users