[sr-dev] siptrace error

Sergey Safarov s.safarov at gmail.com
Thu May 12 16:59:31 CEST 2022


According RFC webrtc clients should use ws: as transport.

>From my point of veiw we need overwrite transport on kamailio side, when
client try use wss transport.

On Wed, May 11, 2022, 10:40 PM Luis Azedo <luis.azedo at factorlusitano.com>
wrote:

>
> 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
>
> }
> _______________________________________________
> Kamailio (SER) - Development Mailing List
> sr-dev at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20220512/6cad1afc/attachment.htm>


More information about the sr-dev mailing list