[OpenSIPS-Users] WSS not sending bye

mayamatakeshi mayamatakeshi at gmail.com
Wed Jun 14 21:08:53 UTC 2023


As Răzvan said,
please post the SIP logs/capture (the SIP messages).
Probably there is some issue with Record-Route headers.

On Thu, Jun 15, 2023 at 12:49 AM Pat M via Users <users at lists.opensips.org>
wrote:

> anyone have any advice what i can check?
> i am desperate now
>
>
>
>
> Sent with Proton Mail secure email.
>
> ------- Original Message -------
> On Wednesday, June 14th, 2023 at 10:05 AM, Pat M via Users <
> users at lists.opensips.org> wrote:
>
>
> > Hi Razvan
> >
> > I do not see anything in the logs of the client but here is the invite
> portion of the opensips
> > outbound calls have no problem it is only calls the webrtc client
> receives
> >
> >
> > route{
> > if(!has_totag() && is_method("INVITE")) {
> > if ($rU =~ '^[0-9]{11,}$') {
> > create_dialog();
> > topology_hiding("UC");
> >
> >
> >
> > $var(rtpengine_params) = $var(direction) + " replace-origin
> replace-session-connection";
> >
> > if ( has_body("application/sdp") )
> > rtpengine_manage("$var(rtpengine_params)");
> >
> > $du = "sip:" + xxxx:5060;
> > $ru = "sip:" + $rU + "@" + xxxx:5060;
> >
> > route(RELAY);
> > } else {
> > xlog("Not Outbound Call");
> > }
> > xlog("($$ct=$tU)\n");
> >
> > if (!mid_registrar_lookup("location")) {
> > t_reply(404, "Not Found");
> > exit;
> > }
> > create_dialog();
> > topology_hiding("U");
> > $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";
> > xlog("USING RTPENGINE!!!!!!!");
> > if ( has_body("application/sdp") )
> > rtpengine_manage("$var(rtpengine_params)");
> > t_relay();
> > exit;
> >
> > }
> >
> >
> >
> >
> >
> >
> > Sent with Proton Mail secure email.
> >
> >
> > ------- Original Message -------
> > On Wednesday, June 14th, 2023 at 8:53 AM, Răzvan Crainea
> razvan at opensips.org wrote:
> >
> >
> >
> > > Hi, Pat!
> > >
> > > You might be missing a Record-Route or something. Please post the SIP
> > > logs from your WebRTC client if you need further help.
> > >
> > > Best regards,
> > >
> > > Răzvan Crainea
> > > OpenSIPS Core Developer
> > > http://www.opensips-solutions.com
> > >
> > > On 6/13/23 19:56, Pat M via Users wrote:
> > >
> > > > Hi everyone
> > > >
> > > > Please help!!
> > > >
> > > > I have a mobile webrtc client that i am trying to use with opensips,
> it
> > > > all works fine except when you try hangup from the client it does
> > > > nothing, does not send any bye to opensips and therefore opensips
> does
> > > > not send a bye upstream
> > > > i am using mid_registrar
> > > >
> > > > but if i register it direct to an asterisk server it works fine
> > > >
> > > > my wss config is very normal including the tls section
> > > >
> > > > loadmodule "proto_wss.so"
> > > > modparam("proto_wss", "require_origin", yes)
> > > > modparam("proto_wss", "wss_max_msg_chunks", 16)
> > > > modparam("proto_wss", "wss_handshake_timeout", 300)
> > > >
> > > > modparam("tls_mgm", "ca_list", "[sip]/etc/letsencrypt/fullchain.pem")
> > > > modparam("tls_mgm", "certificate", "[sip]/etc/opensips/tls/cert.pem")
> > > > modparam("tls_mgm", "private_key", "[sip]/etc/opensips/tls/ckey.pem")
> > > > modparam("tls_mgm", "require_cert", "[sip]0")
> > > > modparam("tls_mgm", "verify_cert", "[sip]0")
> > > > modparam("tls_mgm", "tls_library", "wolfssl")
> > > >
> > > > modparam("tls_mgm", "client_domain", "sip1")
> > > > modparam("tls_mgm", "ca_list",
> "[sip1]/etc/letsencrypt/fullchain.pem")
> > > > modparam("tls_mgm", "certificate",
> "[sip1]/etc/opensips/tls/sip1.pem")
> > > > modparam("tls_mgm", "private_key",
> "[sip1]/etc/opensips/tls/sip1key.pem")
> > > > modparam("tls_mgm", "require_cert", "[sip1]0")
> > > > modparam("tls_mgm", "verify_cert", "[sip1]0")
> > > > modparam("tls_mgm", "match_ip_address", "[sip1]*")
> > > >
> > > > loadmodule "mid_registrar.so"
> > > > modparam("mid_registrar", "mode", 2) /* 1 = mirror / 1 = ct / 2 =
> AoR */
> > > > modparam("mid_registrar", "outgoing_expires", 180)
> > > > modparam("mid_registrar", "min_expires", 60)
> > > > modparam("mid_registrar", "max_expires", 180)
> > > > modparam("mid_registrar", "max_contacts", 16)
> > > > modparam("mid_registrar", "received_avp", "$avp(received)")
> > > > modparam("mid_registrar", "pn_pnsreg_interval", 140)
> > > >
> > > > mid_registrar_save("location", "p0v");
> > > >
> > > > Thanks Pat
> > > > Sent with Proton Mail https://proton.me/ secure email.
> > > >
> > > > _______________________________________________
> > > > Users mailing list
> > > > Users at lists.opensips.org
> > > > http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> > >
> > > _______________________________________________
> > > Users mailing list
> > > Users at lists.opensips.org
> > > http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> >
> >
> > _______________________________________________
> > Users mailing list
> > Users at lists.opensips.org
> > http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20230615/46f00405/attachment-0001.html>


More information about the Users mailing list