[OpenSIPS-Devel] Drop request in local_route
Bogdan-Andrei Iancu
bogdan at opensips.org
Thu May 6 07:01:47 EST 2021
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
OpenSIPS Bootcamp 2021 online
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
> 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/4b163a51/attachment.html>
More information about the Devel
mailing list