[OpenSIPS-Devel] Drop request in local_route
Adam Overbeeke
Adam.Overbeeke at genesys.com
Thu May 6 13:04:50 EST 2021
Thanks Bogdan,
Thanks for the clarification on local_route. Can you think of any way to achieve blocking all requests being transmitted?
Thanks,
Adam
From: Bogdan-Andrei Iancu <bogdan at opensips.org>
Date: Thursday, May 6, 2021 at 3:02 AM
To: OpenSIPS devel mailling list <devel at lists.opensips.org>, Adam Overbeeke <Adam.Overbeeke at genesys.com>
Subject: Re: [OpenSIPS-Devel] Drop request in local_route
Hi Adam,
The drop() works only in branch and onreply routes, not in local route. I don't think there is a a way to properly discard an internally generated request via local route.
Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
https://www.opensips-solutions.com<https://www.opensips-solutions.com>
OpenSIPS Bootcamp 2021 online
https://opensips.org/training/OpenSIPS_eBootcamp_2021/<https://opensips.org/training/OpenSIPS_eBootcamp_2021>
On 5/6/21 6:26 AM, Adam Overbeeke wrote:
I am trying to stop a SIP request from being sent out when issuing a command like `opensipsctl fifo profile_end_dlgs …`
When I trigger this fifo command I can see my logs print from `local_route`. I tried to use the drop() function but the requests were still sent out to sides. How can I use the TM module to intercept the message and drop it?
Thanks
Adam
_______________________________________________
Devel mailing list
Devel at lists.opensips.org<mailto:Devel at lists.opensips.org>
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel<http://lists.opensips.org/cgi-bin/mailman/listinfo/devel>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20210506/45ac6679/attachment-0001.html>
More information about the Devel
mailing list