Thanks for an answer, but while calling eavesdrop I'm giving as a parameter existing call-leg ID (answered one)<div>But I'll try with originate one command, thanks.<span></span><br><br>четверг, 9 июля 2015 г. пользователь Steven Szeto написал:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-US" link="#0563C1" vlink="#954F72">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Igor,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">You need a call leg to perform the eavesdrop. The <channel-uuid> is the channel of an active call that is to be eavesdropped upon.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">These examples work from the fs_cli command window. You will have to modify the commands with extensions and the correct uuid:<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Step 1: establish a 2 party call:<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">two party call:<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">originate sofia/internal/<a href="javascript:_e(%7B%7D,'cvml','5401@10.47.41.109');" target="_blank">5401@10.47.41.109</a> &bridge(sofia/internal/<a href="javascript:_e(%7B%7D,'cvml','5901@10.47.41.109');" target="_blank">5901@10.47.41.109</a>)<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Step 2: invoke eavesdrop with the desired behavior:<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">whisper/coach:<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">originate sofia/internal/<a href="javascript:_e(%7B%7D,'cvml','5902@10.47.41.109');" target="_blank">5902@10.47.41.109</a> 'queue_dtmf:w2@500,eavesdrop:a28739d0-00f0-4a59-8c82-7a5a74ab6861' inline<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">originate sofia/internal/<a href="javascript:_e(%7B%7D,'cvml','4901@10.47.32.159');" target="_blank">4901@10.47.32.159</a> 'queue_dtmf:w2@500,eavesdrop:35b70871-78d4-4587-a186-5c0457482515' inline<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">silent monitor:<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">originate sofia/internal/<a href="javascript:_e(%7B%7D,'cvml','5401@10.47.41.109');" target="_blank">5401@10.47.41.109</a> 'eavesdrop:a28739d0-00f0-4a59-8c82-7a5a74ab6861' inline<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">originate sofia/internal/<a href="javascript:_e(%7B%7D,'cvml','5002@10.47.32.159');" target="_blank">5002@10.47.32.159</a> 'queue_dtmf:w0@500,eavesdrop:abefa174-12dc-4ccb-956e-67c51475c414' inline<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> <a href="javascript:_e(%7B%7D,'cvml','freeswitch-users-bounces@lists.freeswitch.org');" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a> [mailto:<a href="javascript:_e(%7B%7D,'cvml','freeswitch-users-bounces@lists.freeswitch.org');" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a>]
<b>On Behalf Of </b>Igor Olhovskiy<br>
<b>Sent:</b> Thursday, July 09, 2015 7:48 AM<br>
<b>To:</b> FreeSWITCH Users Help<br>
<b>Subject:</b> [Freeswitch-users] Eavesdrop a call.<u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">Hi!<u></u><u></u></p>
<div>
<p class="MsoNormal"><span style="color:black">I'm using Freeswitch 1.4.20 (git b95362f 2015-07-03 16:42:15Z 64bit)) (stable one)</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="color:black">and trying to get eavesdropping. But no luck.</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="color:black">Main scheme:</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="color:black">DID - > extension (210). 210 answers</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="color:black">eavesdropping from extension 110.</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="color:black">While giving a command </span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><b><span style="color:black">eavesdrop <channel-uuid> </span></b><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="color:black">I've got log full of messages </span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><i><span style="color:black">2015-07-09 13:29:00.325667 [ERR] switch_core_io.c:1531 Write Buffer 0 bytes Failed!</span></i><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="color:black">and silence on 110 extension</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="color:black">While giving a command </span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><b><span style="color:black">userspy 210@${domain_name}</span></b><span style="color:black"> or
<b>userspy <channel-uuid></b></span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="color:black">I've got music-on-hold on 110, no errors on log.</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="color:black">In both cases used <channel-uuid> of extension 210 (answered one)</span><u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Is this a bug or I'm doing something wrong?<u></u><u></u></p>
</div>
<p class="MsoNormal">-- <u></u><u></u></p>
<div>
<div>
<p class="MsoNormal">Best regards,<u></u><u></u></p>
<div>
<p class="MsoNormal">Igor<u></u><u></u></p>
</div>
</div>
</div>
</div>
</div>
</div>
<p><font face="Helv,Arial" size="1"></font></p>
<hr>
NOTE: This e-mail (including any attachments) is for the sole use of the intended recipient(s) and may contain information that is confidential and/or protected by legal privilege. Any unauthorized review, use, copy, disclosure or distribution of this e-mail
is strictly prohibited. If you are not the intended recipient, please notify Mitel immediately and destroy all copies of this e-mail. Mitel does not accept any liability for breach of security, error or virus that may result from the transmission of this message.
<p></p>
</div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="javascript:;" onclick="_e(event, 'cvml', 'consulting@freeswitch.org')">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="javascript:;" onclick="_e(event, 'cvml', 'FreeSWITCH-users@lists.freeswitch.org')">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br><br>-- <br><div dir="ltr">Best regards,<div>Igor</div></div><br>