<div dir="ltr">Hi all,<div><br></div><div>I&#39;m trying out the option to have FS play trusted MiTM for ZRTP.</div><div>I just compiled Master from Git and tried calling the 9787 extension from my softphone with ZRTP.</div>
<div><br></div><div>I see in the dialplan that the script appears to get executed, however I don&#39;t hear anything at all and after a little while the call hangs up.</div><div>It&#39;s not a codec issue because calling the IVR works fine.</div>
<div><br></div><div>So, what else do I need to do to allow ZRTP enrollment?</div><div><br></div><div>I see in the wiki that I need to set <span style="background-color:rgb(249,249,249);color:rgb(0,0,0);font-family:monospace,Courier;font-size:13px;line-height:1.3em">&lt;action application=&quot;set&quot; data=&quot;zrtp_enrollment=true&quot;/&gt;</span></div>
<div>So how do I set this globally so that FS always negotiates ZRTP with enabled clients? Or do I need to set that up in the dialplan?</div><div><br></div><div><div>98529894-b6c9-11e3-9ebf-efdbe42c5e9a Dialplan: sofia/internal/<a href="mailto:1000@my.domain.com">1000@my.domain.com</a> Regex (PASS) [zrtp_enrollement] destination_number(9787) =~ /^9787$/ break=on-false</div>
<div>98529894-b6c9-11e3-9ebf-efdbe42c5e9a Dialplan: sofia/internal/<a href="mailto:1000@my.domain.com">1000@my.domain.com</a> Action lua(zrtp_agent.lua)</div><div>98529894-b6c9-11e3-9ebf-efdbe42c5e9a 2014-03-28 22:37:51.375885 [DEBUG] switch_core_state_machine.c:214 (sofia/internal/<a href="mailto:1000@my.domain.com">1000@my.domain.com</a>) State Change CS_ROUTING -&gt; CS_EXECUTE</div>
<div>98529894-b6c9-11e3-9ebf-efdbe42c5e9a 2014-03-28 22:37:51.375885 [DEBUG] switch_core_session.c:1385 Send signal sofia/internal/<a href="mailto:1000@my.domain.com">1000@my.domain.com</a> [BREAK]</div><div>98529894-b6c9-11e3-9ebf-efdbe42c5e9a 2014-03-28 22:37:51.375885 [DEBUG] switch_core_state_machine.c:523 (sofia/internal/<a href="mailto:1000@my.domain.com">1000@my.domain.com</a>) State ROUTING going to sleep</div>
<div>98529894-b6c9-11e3-9ebf-efdbe42c5e9a 2014-03-28 22:37:51.375885 [DEBUG] switch_core_state_machine.c:467 (sofia/internal/<a href="mailto:1000@my.domain.com">1000@my.domain.com</a>) Running State Change CS_EXECUTE</div>
<div>98529894-b6c9-11e3-9ebf-efdbe42c5e9a 2014-03-28 22:37:51.375885 [DEBUG] switch_core_state_machine.c:530 (sofia/internal/<a href="mailto:1000@my.domain.com">1000@my.domain.com</a>) State EXECUTE</div><div>98529894-b6c9-11e3-9ebf-efdbe42c5e9a 2014-03-28 22:37:51.375885 [DEBUG] mod_sofia.c:178 sofia/internal/<a href="mailto:1000@my.domain.com">1000@my.domain.com</a> SOFIA EXECUTE</div>
<div>98529894-b6c9-11e3-9ebf-efdbe42c5e9a 2014-03-28 22:37:51.375885 [DEBUG] switch_core_state_machine.c:256 sofia/internal/<a href="mailto:1000@my.domain.com">1000@my.domain.com</a> Standard EXECUTE</div><div>98529894-b6c9-11e3-9ebf-efdbe42c5e9a EXECUTE sofia/internal/<a href="mailto:1000@my.domain.com">1000@my.domain.com</a> hash(insert/my.domain.com-spymap/1000/98529894-b6c9-11e3-9ebf-efdbe42c5e9a)</div>
<div>98529894-b6c9-11e3-9ebf-efdbe42c5e9a EXECUTE sofia/internal/<a href="mailto:1000@my.domain.com">1000@my.domain.com</a> hash(insert/my.domain.com-last_dial/1000/9787)</div><div>98529894-b6c9-11e3-9ebf-efdbe42c5e9a EXECUTE sofia/internal/<a href="mailto:1000@my.domain.com">1000@my.domain.com</a> hash(insert/my.domain.com-last_dial/global/98529894-b6c9-11e3-9ebf-efdbe42c5e9a)</div>
<div>98529894-b6c9-11e3-9ebf-efdbe42c5e9a EXECUTE sofia/internal/<a href="mailto:1000@my.domain.com">1000@my.domain.com</a> export(RFC2822_DATE=Fri, 28 Mar 2014 22:37:51 +0000)</div><div>98529894-b6c9-11e3-9ebf-efdbe42c5e9a 2014-03-28 22:37:51.375885 [DEBUG] switch_channel.c:1245 EXPORT (export_vars) [RFC2822_DATE]=[Fri, 28 Mar 2014 22:37:51 +0000]</div>
<div>98529894-b6c9-11e3-9ebf-efdbe42c5e9a EXECUTE sofia/internal/<a href="mailto:1000@my.domain.com">1000@my.domain.com</a> lua(zrtp_agent.lua)</div><div>98529894-b6c9-11e3-9ebf-efdbe42c5e9a 2014-03-28 22:37:51.471868 [DEBUG] switch_core_media.c:343 Found audio zrtp-hash; setting r_sdp_audio_zrtp_hash=1.10 d873ef12ce3143ba4ee41295c1b3199f49a89a78249ef454b3333a784d77acfd</div>
<div>98529894-b6c9-11e3-9ebf-efdbe42c5e9a 2014-03-28 22:37:51.471868 [DEBUG] switch_core_media.c:3389 Audio Codec Compare [opus:111:48000:20:0]/[opus:116:48000:20:0]</div></div><div><br></div><div>Thanks,</div><div><br></div>
<div>Peter</div></div>