[sr-dev] siptrace error

Luis Azedo luis.azedo at factorlusitano.com
Wed May 11 21:39:21 CEST 2022


Hi,

has anyone seen this error before ? running from master

thanks

116(469) ERROR: <core> [main.c:1231]: parse_phostport(): bad protocol in wss:
192.168.1.197:61609
116(469) ERROR: siptrace [siptrace.c:2545]: pv_get_siptrace(): invalid
src_addr: wss:
192.168.1.197:61609
116(469) ERROR: <core> [main.c:1231]: parse_phostport(): bad protocol in wss:
10.10.4.159:5065
116(469) ERROR: siptrace [siptrace.c:2554]: pv_get_siptrace(): invalid
dst_addr: wss:
10.10.4.159:5065

snippet of config

modparam("siptrace", "trace_mode", 1)
modparam("siptrace", "trace_init_mode", 1)

event_route[siptrace:msg]
{

    if ($sel(cfg_get.kazoo.trace_ignored_methods) != $null) {
        if($rm =~ $sel(cfg_get.kazoo.trace_ignored_methods)) {
            xlog("L_DEBUG", "dropping trace for method $rm\n");
            drop();
        }
    }

    if ($sel(cfg_get.kazoo.trace_ignored_ports) != $null) {
        if($Rp =~ $sel(cfg_get.kazoo.trace_ignored_ports)) {
            xlog("L_INFO", "dropping trace for port $Rp\n");
            drop();
        }
    }

    #!ifdef KZ_TRACE_IGNORE_INTERNAL
    if ($siptrace(src_hostip) =~ "127\\.0\\.0\\.1") drop();
    if ($siptrace(dst_hostip) =~ "127\\.0\\.0\\.1") drop();
    #!endif

}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20220511/aa3b9be6/attachment.htm>


More information about the sr-dev mailing list