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 <bog...@opensips.org>
*Date: *Thursday, May 6, 2021 at 3:02 AM
*To: *OpenSIPS devel mailling list <devel@lists.opensips.org>, Adam Overbeeke <adam.overbe...@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@lists.opensips.org  <mailto:Devel@lists.opensips.org>

    http://lists.opensips.org/cgi-bin/mailman/listinfo/devel  
<http://lists.opensips.org/cgi-bin/mailman/listinfo/devel>


_______________________________________________
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel

Reply via email to