<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="moz-cite-prefix">On 24.04.2020 13:22, volga629 wrote:<br>
</div>
<blockquote type="cite"
cite="mid:75852689-9b39-65f3-d071-2bdb1523dccd@skillsearch.ca"><font
face="Cantarell">
if($var(tls-frompbx)==$var(usr_check_tls)) {<br>
$var(transport) = "tls";<br>
if(!codec_exists("opus")) {<br>
$var(codec_flag_frompbx_tls) =
"transcode-opus";<br>
}<br>
rtpengine_offer("replace-origin
replace-session-connection $var(codec_flag_frompbx_tls) RTP/SAVP
ICE=remove $var(dir)");<br>
}</font></blockquote>
<p><tt>Please add an "else" to this "if" block exactly as follows,
run it and provide the output:<br>
</tt></p>
<p><tt> if($var(tls-frompbx)==$var(usr_check_tls)) {<br>
$var(transport) = "tls";<br>
if(!codec_exists("opus")) {<br>
$var(codec_flag_frompbx_tls) =
"transcode-opus";<br>
}<br>
rtpengine_offer("replace-origin
replace-session-connection $var(codec_flag_frompbx_tls) RTP/SAVP
ICE=remove $var(dir)");<br>
} else {<br>
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");</tt><tt><br>
}</tt></p>
<p><tt>Also, what is the output of "opensips -V"?</tt></p>
<p><tt>Best regards,</tt></p>
<pre class="moz-signature" cols="72">--
Liviu Chircu
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/liviuchircu">www.twitter.com/liviuchircu</a> | <a class="moz-txt-link-abbreviated" href="http://www.opensips-solutions.com">www.opensips-solutions.com</a>
OpenSIPS Summit, Amsterdam, Fall 2020
<a class="moz-txt-link-abbreviated" href="http://www.opensips.org/events">www.opensips.org/events</a></pre>
</body>
</html>