[OpenSIPS-Devel] Drop request in local_route

Bogdan-Andrei Iancu bogdan at opensips.org
Thu May 13 05:57:50 EST 2021


Hi Adam,

I do not see a way of doing this with the current capabilities / code.

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 4:04 PM, Adam Overbeeke wrote:
>
> 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/20210513/de5da86f/attachment.html>


More information about the Devel mailing list