On 24.04.2020 13:22, volga629 wrote:
if($var(tls-frompbx)==$var(usr_check_tls)) {
$var(transport) = "tls";
if(!codec_exists("opus")) {
$var(codec_flag_frompbx_tls) = "transcode-opus";
}
rtpengine_offer("replace-origin
replace-session-connection $var(codec_flag_frompbx_tls) RTP/SAVP
ICE=remove $var(dir)");
}
Please add an "else" to this "if" block exactly as follows, run it and
provide the output:
if($var(tls-frompbx)==$var(usr_check_tls)) {
$var(transport) = "tls";
if(!codec_exists("opus")) {
$var(codec_flag_frompbx_tls) = "transcode-opus";
}
rtpengine_offer("replace-origin
replace-session-connection $var(codec_flag_frompbx_tls) RTP/SAVP
ICE=remove $var(dir)");
} else {
xlog("L_INFO", "DBG: TLS strings differ:
'$var(tls-frompbx)'/'$var(usr_check_tls)',
'$(var(tls-frompbx){s.len})'/'$(var(usr_check_tls){s.len})',
'$(var(tls-frompbx){s.md5})'/'$(var(usr_check_tls){s.md5})'\n");
}
Also, what is the output of "opensips -V"?
Best regards,
--
Liviu Chircu
www.twitter.com/liviuchircu | www.opensips-solutions.com
OpenSIPS Summit, Amsterdam, Fall 2020
www.opensips.org/events
_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users