docs read like you can filter on headers and body. So maybe is_present_hf("Sia") works for filtering xhttp replies.

Regards,
Bastian

On Tue, Oct 17, 2023 at 1:54 PM Benoit Panizzon via sr-users <sr-users@lists.kamailio.org> wrote:
Hi

Further trying to eliminate every possible cause of UDP drops...

We use Homer as HEP server in conjunction with the siptrace module.

So to prevent DQM traffic to be sent to Homer I added:

event_route[siptrace:msg] {
    if(is_method("KDMQ")) {
        drop();
    }
}

And had a closer look to the traffic sent to homer.

I noticed, also xhttp:requests, as far as I see the replies, not the
requests, get mirrored to homer.

xhttp is not a sip method I could match I guess.

The event_route[siptrace:msg] docs state only method can be filtered.
So I can not filter requests on the separate http port I listen on for
xhttp json-rpc requests.

How can I prevent xhttp traffic to be mirrored to homer by the siptrace
module?

Mit freundlichen Grüssen

-Benoît Panizzon-
--
I m p r o W a r e   A G    -    Leiter Commerce Kunden
______________________________________________________

Zurlindenstrasse 29             Tel  +41 61 826 93 00
CH-4133 Pratteln                Fax  +41 61 826 93 01
Schweiz                         Web  http://www.imp.ch
______________________________________________________
__________________________________________________________
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: