[SR-Users] drop before exit and send ok reply first can be done?

SamyGo govoiper at gmail.com
Sun Mar 31 21:36:38 CEST 2019

Can you please elaborate about the part where you said "drop rest of the

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 ?


On Sun, Mar 31, 2019, 5:54 AM PICCORO McKAY Lenz, <mckaygerhard at gmail.com>

> 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)
> http://qgqlochekone.blogspot.com
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20190331/96e35e97/attachment.html>

More information about the sr-users mailing list