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");
}
}
}__________________________________________________________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?
Kamailio - Users Mailing List - Non Commercial Discussions
* sr-users@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the sender!
Edit mailing list options or unsubscribe:
* https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users