Hello guys,

Ok i got this with (WITHINDLG):

        if ($du == "") {
            if (!handle_ruri_alias()) {
                xlog("L_ERR", "[$ci][$rm]: bad alias <$ru>");
                sl_send_reply("400", "Bad Request");
                exit;
            } else {
                $var(tmp) = $(du{s.replace,sip:,}{re.subst,/;.*//});
                xlog("L_ERR", "[$ci][$rm]: Packet is going to <$var(tmp)>");
                if(tcp_get_conid("$var(tmp)", "$var(conid)")) {
                    xlog("connection id is: $var(conid)\n");
                }
            }
        }



Regards,

David Villasmil
phone: +34669448337


On Tue, May 4, 2021 at 2:16 PM David Villasmil <david.villasmil.work@gmail.com> wrote:
Hello guys,

I don't have a lot of experience with webrtc (websocket).
I'm trying to get $conid when i receive an INVITE via UDP which is GOING to a ws, how do i do that?

Regards,

David Villasmil
phone: +34669448337