[OpenSIPS-Users] WSS not sending bye

Pat M miagi_son at proton.me
Tue Jun 13 16:56:55 UTC 2023


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20230613/3f743a76/attachment-0001.html>


More information about the Users mailing list