<div dir="ltr">As Răzvan said,<div>please post the SIP logs/capture (the SIP messages).</div><div>Probably there is some issue with Record-Route headers.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jun 15, 2023 at 12:49 AM Pat M via Users <<a href="mailto:users@lists.opensips.org">users@lists.opensips.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">anyone have any advice what i can check?<br>
i am desperate now<br>
<br>
<br>
<br>
<br>
Sent with Proton Mail secure email.<br>
<br>
------- Original Message -------<br>
On Wednesday, June 14th, 2023 at 10:05 AM, Pat M via Users <<a href="mailto:users@lists.opensips.org" target="_blank">users@lists.opensips.org</a>> wrote:<br>
<br>
<br>
> Hi Razvan<br>
> <br>
> I do not see anything in the logs of the client but here is the invite portion of the opensips<br>
> outbound calls have no problem it is only calls the webrtc client receives<br>
> <br>
> <br>
> route{<br>
> if(!has_totag() && is_method("INVITE")) {<br>
> if ($rU =~ '^[0-9]{11,}$') {<br>
> create_dialog();<br>
> topology_hiding("UC");<br>
> <br>
> <br>
> <br>
> $var(rtpengine_params) = $var(direction) + " replace-origin replace-session-connection";<br>
> <br>
> if ( has_body("application/sdp") )<br>
> rtpengine_manage("$var(rtpengine_params)");<br>
> <br>
> $du = "sip:" + xxxx:5060;<br>
> $ru = "sip:" + $rU + "@" + xxxx:5060;<br>
> <br>
> route(RELAY);<br>
> } else {<br>
> xlog("Not Outbound Call");<br>
> }<br>
> xlog("($$ct=$tU)\n");<br>
> <br>
> if (!mid_registrar_lookup("location")) {<br>
> t_reply(404, "Not Found");<br>
> exit;<br>
> }<br>
> create_dialog();<br>
> topology_hiding("U");<br>
> $var(rtpengine_params) = "trust-address replace-origin replace-session-connection rtcp-mux-offer ICE=force transcode-PCMU transcode-G722 SDES-off UDP/TLS/RTP/SAVPF";<br>
> xlog("USING RTPENGINE!!!!!!!");<br>
> if ( has_body("application/sdp") )<br>
> rtpengine_manage("$var(rtpengine_params)");<br>
> t_relay();<br>
> exit;<br>
> <br>
> }<br>
> <br>
> <br>
> <br>
> <br>
> <br>
> <br>
> Sent with Proton Mail secure email.<br>
> <br>
> <br>
> ------- Original Message -------<br>
> On Wednesday, June 14th, 2023 at 8:53 AM, Răzvan Crainea <a href="mailto:razvan@opensips.org" target="_blank">razvan@opensips.org</a> wrote:<br>
> <br>
> <br>
> <br>
> > Hi, Pat!<br>
> > <br>
> > You might be missing a Record-Route or something. Please post the SIP<br>
> > logs from your WebRTC client if you need further help.<br>
> > <br>
> > Best regards,<br>
> > <br>
> > Răzvan Crainea<br>
> > OpenSIPS Core Developer<br>
> > <a href="http://www.opensips-solutions.com" rel="noreferrer" target="_blank">http://www.opensips-solutions.com</a><br>
> > <br>
> > On 6/13/23 19:56, Pat M via Users wrote:<br>
> > <br>
> > > Hi everyone<br>
> > > <br>
> > > Please help!!<br>
> > > <br>
> > > I have a mobile webrtc client that i am trying to use with opensips, it<br>
> > > all works fine except when you try hangup from the client it does<br>
> > > nothing, does not send any bye to opensips and therefore opensips does<br>
> > > not send a bye upstream<br>
> > > i am using mid_registrar<br>
> > > <br>
> > > but if i register it direct to an asterisk server it works fine<br>
> > > <br>
> > > my wss config is very normal including the tls section<br>
> > > <br>
> > > loadmodule "proto_wss.so"<br>
> > > modparam("proto_wss", "require_origin", yes)<br>
> > > modparam("proto_wss", "wss_max_msg_chunks", 16)<br>
> > > modparam("proto_wss", "wss_handshake_timeout", 300)<br>
> > > <br>
> > > modparam("tls_mgm", "ca_list", "[sip]/etc/letsencrypt/fullchain.pem")<br>
> > > modparam("tls_mgm", "certificate", "[sip]/etc/opensips/tls/cert.pem")<br>
> > > modparam("tls_mgm", "private_key", "[sip]/etc/opensips/tls/ckey.pem")<br>
> > > modparam("tls_mgm", "require_cert", "[sip]0")<br>
> > > modparam("tls_mgm", "verify_cert", "[sip]0")<br>
> > > modparam("tls_mgm", "tls_library", "wolfssl")<br>
> > > <br>
> > > modparam("tls_mgm", "client_domain", "sip1")<br>
> > > modparam("tls_mgm", "ca_list", "[sip1]/etc/letsencrypt/fullchain.pem")<br>
> > > modparam("tls_mgm", "certificate", "[sip1]/etc/opensips/tls/sip1.pem")<br>
> > > modparam("tls_mgm", "private_key", "[sip1]/etc/opensips/tls/sip1key.pem")<br>
> > > modparam("tls_mgm", "require_cert", "[sip1]0")<br>
> > > modparam("tls_mgm", "verify_cert", "[sip1]0")<br>
> > > modparam("tls_mgm", "match_ip_address", "[sip1]*")<br>
> > > <br>
> > > loadmodule "mid_registrar.so"<br>
> > > modparam("mid_registrar", "mode", 2) /* 1 = mirror / 1 = ct / 2 = AoR */<br>
> > > modparam("mid_registrar", "outgoing_expires", 180)<br>
> > > modparam("mid_registrar", "min_expires", 60)<br>
> > > modparam("mid_registrar", "max_expires", 180)<br>
> > > modparam("mid_registrar", "max_contacts", 16)<br>
> > > modparam("mid_registrar", "received_avp", "$avp(received)")<br>
> > > modparam("mid_registrar", "pn_pnsreg_interval", 140)<br>
> > > <br>
> > > mid_registrar_save("location", "p0v");<br>
> > > <br>
> > > Thanks Pat<br>
> > > Sent with Proton Mail <a href="https://proton.me/" rel="noreferrer" target="_blank">https://proton.me/</a> secure email.<br>
> > > <br>
> > > _______________________________________________<br>
> > > Users mailing list<br>
> > > <a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
> > > <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
> > <br>
> > _______________________________________________<br>
> > Users mailing list<br>
> > <a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
> > <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
> <br>
> <br>
> _______________________________________________<br>
> Users mailing list<br>
> <a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
> <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote></div>