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
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to