Never mind Daniel, just saw this in the 5.4 release notes (https://www.kamailio.org/wiki/features/new-in-5.4.x):

tm

  • add support for dropping messages in local-request event route

Thank you,

On Fri, 10 Jul 2020 at 15:14, Patrick Wakano <pwakano@gmail.com> wrote:
Hi Daniel,
Sorry coming back to this, but I downloaded the 5.3.5 version and a drop() from the tm:local-request doesn't work. Also changing $du does not affect the message relay....
Could you possibly check if the support you saw in master has indeed been released?

Thank you very much,
Patrick Wakano


On Wed, 8 Jul 2020 at 18:14, Patrick Wakano <pwakano@gmail.com> wrote:
Hi Daniel, 
I am still on 5.2. So maybe it's time to upgrade!
Thanks for the reply!

Cheers!
Patrick

On Wed, 8 Jul 2020, 17:37 Daniel-Constantin Mierla, <miconda@gmail.com> wrote:

Hello,

what is the kamailio version you use? The code master branch indicates that it should support handling the use of drop in event route for local requests.

Cheers,
Daniel

On 08.07.20 09:33, Patrick Wakano wrote:
Hello list,
Hope you all doing fine!

I have a case where I want to drop a local generated request but it looks like you can't drop the request from the tm:local-request route. I found this ticket https://github.com/kamailio/kamailio/issues/980, but I could not find somewhere in the docs or emails definitely saying that drop() is not supported from tm:local-request....
And in case we definitely can't drop the request in there, any ideas on how to avoid a local generated request of going out? I am specifically interested in dropping Registers from the uacreg module under certain situations, but I don't want to disable it or delete it from the DB....

Thank you,
Kind regards,
Patrick Wakano

_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
-- 
Daniel-Constantin Mierla -- www.asipto.com
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Funding: https://www.paypal.me/dcmierla