[SR-Users] geting $conid on outbound INVITE
David Villasmil
david.villasmil.work at gmail.com
Tue May 4 15:48:44 CEST 2021
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
email: david.villasmil.work at gmail.com
phone: +34669448337
On Tue, May 4, 2021 at 2:16 PM David Villasmil <
david.villasmil.work at 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
> email: david.villasmil.work at gmail.com
> phone: +34669448337
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20210504/18407c1a/attachment.htm>
More information about the sr-users
mailing list