[prev in list] [next in list] [prev in thread] [next in thread] 

List:       serusers
Subject:    [SR-Users] How to filter out xhttp request in event_route[siptrace:msg]
From:       Benoit Panizzon via sr-users <sr-users () lists ! kamailio ! org>
Date:       2023-10-17 11:29:33
Message-ID: 20231017132933.3bb76f14 () go ! imp ! ch
[Download RAW message or body]

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:

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic