This may or not work, but maybe call it from a different route? I.e.: call another route and execute it there?

Regards,

David Villasmil
email: david.villasmil.work@gmail.com



On Wed, 24 Jul 2024 at 08:08, Alex Balashov via sr-users <sr-users@lists.kamailio.org> wrote:
It's not a great fit. I would recommend pulling that info from the RPC interface instead, also using HTTP.

> On Jul 24, 2024, at 2:46 AM, Christian Berger via sr-users <sr-users@lists.kamailio.org> wrote:
>
> Hi,
>
> we want to execute ds_select from an xhttp:request event route. The idea is to be able to get all active targets of a dispatcher set so our monitoring can check that via http which would be convenient for us.
>
> So are there any reasons why ds_select wouldn't work in an xhttp:request even route?
>
> Regards
>  Christian Berger
>
> --
>
> Christian Berger - berger@sipgate.de
> Telefon: +49 (0)211-63 55 55-0
> Telefax: +49 (0)211-63 55 55-22
>
> sipgate GmbH - Gladbacher Str. 74 - 40219 Düsseldorf
> HRB Düsseldorf 39841 - Geschäftsführer: Thilo Salmon, Tim Mois
> Steuernummer: 106/5724/7147, Umsatzsteuer-ID: DE219349391
>
> www.sipgate.de - www.sipgate.co.uk
> __________________________________________________________
> Kamailio - Users Mailing List - Non Commercial Discussions
> To unsubscribe send an email to sr-users-leave@lists.kamailio.org
> Important: keep the mailing list in the recipients, do not reply only to the sender!
> Edit mailing list options or unsubscribe:

--
Alex Balashov
Principal Consultant
Evariste Systems LLC
Web: https://evaristesys.com
Tel: +1-706-510-6800

__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
To unsubscribe send an email to sr-users-leave@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the sender!
Edit mailing list options or unsubscribe: