<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto">Thanks for very interesting answer!<div>I’m initiating the eavesdrop with a command sent via php to the control port</div><div>Where do I put the parameter you’re saying?<br><br><div id="AppleMailSignature">Francesco Facco de Lagarda<div><br></div></div><div><br>On 8 May 2018, at 16:30, Shaun Stokes <<a href="mailto:shaun.stokes@itec-support.co.uk">shaun.stokes@itec-support.co.uk</a>> wrote:<br><br></div><blockquote type="cite"><div>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">



<p>We use a LUA script for Eavesdrop and never had this issue.<br>
</p>
<p><br>
</p>
<p>Looking at the FS documentation, you can use ​w1@ext to speak with the callee or w2@ext to speak with the caller.<br>
</p>
<p><br>
</p>
<p>Here are the DTMF signals during eavesdrop<br>
</p>
<div>2 to speak with the uuid<br>
</div>
<div>1 to speak with the other half</div>
<div>3 to engage a three way</div>
<div>0 to restore eavesdrop.</div>
<div>* to next channel.<br>
</div>
<p><br>
</p>
<p>Is it possible you pressed any DTMF key during the call? If not, you could p<span style="font-size: 12pt;">erhaps you could try w0@ext ?</span></p>
<p><br>
</p>
<div style="color: rgb(33, 33, 33);">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> FreeSWITCH-users <<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org">freeswitch-users-bounces@lists.freeswitch.org</a>> on behalf of Francesco Facco de Lagarda <<a href="mailto:francesco@delagarda.com">francesco@delagarda.com</a>><br>
<b>Sent:</b> 08 May 2018 13:46<br>
<b>To:</b> 'FreeSWITCH Users Help'<br>
<b>Subject:</b> [Freeswitch-users] eavesdrop</font>
<div> </div>
</div>
<div>
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US">I need to enable client to eavesdrop on certain calls. The fs is in a penitentiary institute and certain types of criminals (i..e mafia related) must be listened.</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US">I am trying to implement eavesdropping like so:</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US">api originate {sip_secure_media=true}user/$ext &eavesdrop($uid)</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US">(where, I hope, $ext and $uid are self-explicatory)</span></p>
<p class="MsoNormal"><span lang="EN-US">Is there ANY way to mute the microphone of the eavesdropper? It’s a bit of a give-away if the criminal can hear the background noise</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US">Thanks </span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US">Francesco</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
</div>
<br clear="both">
______________________________________________________________________<br>
This message has been checked for all known viruses by MessageLabs Virus Scanning Service.<br>
______________________________________________________________________<br>
</div>
</div>
<br clear="both">
______________________________________________________________________<br>
This message has been checked for all known viruses by  MessageLabs Virus Scanning Service.<br>
______________________________________________________________________<br>


</div></blockquote><blockquote type="cite"><div><span>_________________________________________________________________________</span><br><span>Professional FreeSWITCH Consulting Services:</span><br><span><a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a></span><br><span><a href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a></span><br><span></span><br><span>Official FreeSWITCH Sites</span><br><span><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></span><br><span><a href="http://confluence.freeswitch.org">http://confluence.freeswitch.org</a></span><br><span><a href="http://www.cluecon.com">http://www.cluecon.com</a></span><br><span></span><br><span>FreeSWITCH-users mailing list</span><br><span><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a></span><br><span><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a></span><br><span>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a></span><br><span><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></span></div></blockquote></div></body></html>