<div dir="ltr">Huzzarh!<br><br>Found solution, maybe someone else with equally strange needs can use it.. here goes:<div><br></div><div>originate &lt;supervisor dial str&gt; &amp;park</div><div><br></div><div>Then use:</div><div><div><br></div><div>uuid_transfer &lt;supervisor_chan_uuid&gt; &#39;eavesdrop:&lt;agent_chan_uuid&gt;&#39; inline</div></div><div><br></div><div>to start listening and use:</div><div><br></div><div>uuid_transfer &lt;supervisor_chan_uuid&gt; &#39;park&#39; inline</div><div><br></div><div>when done, if you use &quot;park_after_bridge&quot; it will keep supervisor channel open, even if agent disconnects..</div><div><br></div><div>Have a nice day...</div><div>/Allan</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jun 3, 2015 at 4:41 PM, Allan Kristensen <span dir="ltr">&lt;<a href="mailto:ak@hejdu.dk" target="_blank">ak@hejdu.dk</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra">Hello,</div><div class="gmail_extra"><br></div><div class="gmail_extra">Thank you for your answer. </div><div class="gmail_extra"><br></div><div class="gmail_extra">Unfortunately, I can&#39;t really use the &quot;*&quot; method, because I need to jump to a specific agent uuid and agents doesn&#39;t really have a local extension. I&#39;m doing everything from a web interface and using the splendid ESL to control freeswitch. (Actually I don&#39;t really have a dialplan, only for sending calls to an external sip connect)</div><div class="gmail_extra"><br></div><div class="gmail_extra">But the dialplan approach might be good to consider, combined with uuid_transfer.<br></div><div class="gmail_extra"><br></div><div class="gmail_extra">So basically originate supervisor to park application and then use the uuid_transfer to an inline dial plan, like this.</div><div class="gmail_extra"><br></div><div class="gmail_extra">With a parked channel to supervisor doing something like:</div><div class="gmail_extra">uuid_transfer &lt;supervisor_chan_uuid&gt; &#39;eavesdrop&#39; inline</div><div class="gmail_extra"><br></div><div class="gmail_extra">.. now I just need to figure out how to specifiy eavesdrop uuid when using the inline dialplan ;-)</div><span class="HOEnZb"><font color="#888888"><div class="gmail_extra"><br></div><div class="gmail_extra">/Allan</div></font></span><div><div class="h5"><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jun 3, 2015 at 3:54 PM, Tony Bourdeaux <span dir="ltr">&lt;<a href="mailto:tony@intelecenter.com" target="_blank">tony@intelecenter.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div style="font-family:verdana,sans-serif;color:rgb(32,18,77)">Allan-</div><div style="font-family:verdana,sans-serif;color:rgb(32,18,77)"><br></div><div style="font-family:verdana,sans-serif;color:rgb(32,18,77)">this example below allows you to call to an extension and when finished eavesdropping on one channel press * to move to another- the extension will ask again what extension to monitor (you can uncomment the lines if you want to read back to the caller what extension they entered):</div><div style="font-family:verdana,sans-serif;color:rgb(32,18,77)"><br></div><div style="font-family:verdana,sans-serif;color:rgb(32,18,77)"><div>&lt;extension name=&quot;custom-eavesdrop&quot;&gt;</div><div>  &lt;condition field=&quot;destination_number&quot; expression=&quot;^\*8(\d{4})$&quot;&gt;</div><div>    &lt;action application=&quot;answer&quot;/&gt;</div><div>    &lt;!-- &lt;action application=&quot;playback&quot; data=&quot;$${base_dir}/sounds/en/us/callie/ivr/8000/ivr-you_entered.wav&quot;/&gt; --&gt;</div><div>    &lt;!-- spell out called number, like &quot;one-two-three-four-five&quot; --&gt;</div><div>    &lt;!-- &lt;action application=&quot;say&quot; data=&quot;en name_spelled iterated $1&quot;/&gt; --&gt;</div><div>    &lt;action application=&quot;set&quot; data=&quot;eavesdrop_enable_dtmf=true&quot;/&gt;</div><div>    &lt;action application=&quot;eavesdrop&quot; data=&quot;${hash(select/${domain_name}-spymap/$1$2)}&quot;/&gt;</div><div>    </div><div>    &lt;!--&lt;action application=&quot;sleep&quot; data=&quot;500&quot;/&gt;--&gt;</div><div>    &lt;action application=&quot;play_and_get_digits&quot; data=&quot;4 4 3 5000 # $${base_dir}/sounds/en/us/callie/ivr/8000/ivr-enter_ext.wav $${base_dir}/sounds/en/us/callie/ivr/8000/ivr-invalid_extension_try_again.wav my_digits \d+&quot;/&gt;</div><div>    &lt;action application=&#39;transfer&#39; data=&#39;*8${my_digits} XML default&#39;/&gt;</div><div>    &lt;action application=&quot;say&quot; data=&quot;en name_spelled iterated $1&quot;/&gt;</div><div>    &lt;action application=&quot;playback&quot; data=&quot;$${base_dir}/sounds/en/us/callie/voicemail/8000/vm-not_available.wav&quot;/&gt;</div><div>  &lt;/condition&gt;</div><div>&lt;/extension&gt;</div></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div>On Wed, Jun 3, 2015 at 6:21 AM, Allan Kristensen <span dir="ltr">&lt;<a href="mailto:ak@hejdu.dk" target="_blank">ak@hejdu.dk</a>&gt;</span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr">Hello All,<div><br></div><div>Can anyone tell me if it&#39;s possible to eavesdrop from an existing channel instead of using &quot;originate &lt;dialstr&gt; &amp;eavesdrop(uuid)&quot; method?<br><br></div><div>Let&#39;s say I have 20 agents talking to our clients and as I supervisor I want to listen to these calls and perhaps coach agents by activating the &quot;speak with uuid&quot; feature available in eavesdrop.</div><div><br></div><div>Today I need to make a new call (originate) if I want to start eavesdropping, so supervisor has to disconnect phone and make another call to jump to next agent (using the &quot;*&quot; DTMF is not possible and I also want to control this using ESL).</div><div><br></div><div>What i&#39;m doing today using the ESL:</div><div><br></div><div>&gt; originate &lt;agent dial string&gt; &amp;park</div><div>&gt; originate &lt;client dial string&gt; &amp;park<br></div><div>&gt; uuid_bridge &lt;agent_chan_uuid&gt; &lt;client_chan_uuid&gt;</div><div><br></div><div>...&quot;Agent and client talks&quot;...</div><div><br></div><div>Now supervisor/coach wants to give agents some tips:</div><div><br></div><div>&gt; originate &lt;supervisor dial string&gt; &amp;eavesdrop(&lt;agent_chan_uuid&gt;)</div><div><br></div><div>&quot;Supervisor can now listen and talk to agent by pressing the &quot;2&quot; DTMF</div><div><br></div><div>If supervisor needs to help another agent, he/she now needs to disconnect call and do another originate, which is quite tedious.</div><div>If it was somehow possible, I rather do this:<br></div><div><br></div><div>&gt; originate &lt;supervisor dial str&gt; &amp;park</div><div>&gt; &quot;send api cmd to api that eavesdrop &lt;client_chan_uuid&gt; from &lt;supervisor_chan_uuid&gt;&quot; </div><div><br></div><div>...and when done, quickly move to another client by issusing another command without disconnecting the call, perhaps even use the same &lt;supervisor_chan_uuid&gt; to listen to a recorded call.</div><div><br></div><div>Does it makes sense? :)<br></div><div><br></div><div>What approach would you recommend ?</div><div><br></div><div>Thank you...</div><div><br></div><div>Best Regards,</div><div>  Allan</div></div>
<br></div></div>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">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="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">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 clear="all"><div><br></div>-- <br><div><div dir="ltr"><font size="3" face="Times New Roman">

</font><p style="margin:0in 0in 0pt"><a name="14db9de923eefcba_14db9ce5e36a8c9b_14db9b890adf1b92_UNIQUE_ID_SafeHtmlFilter__MailAutoSig"><span><font size="3" face="verdana, sans-serif">Tony
Bourdeaux</font></span></a></p><p style="margin:0in 0in 0pt"><a name="14db9de923eefcba_14db9ce5e36a8c9b_14db9b890adf1b92_UNIQUE_ID_SafeHtmlFilter__MailAutoSig"><span><font face="verdana, sans-serif" size="1" color="#0000ff"><b>Intelecenter, LLC</b></font></span></a></p><font size="3" face="verdana, sans-serif">

</font><p style="margin:0in 0in 0pt"><span><span><font face="verdana, sans-serif" size="1">ph: <a href="tel:805-428-3031" value="+18054283031" target="_blank">805-428-3031</a><span></span><span></span></font></span></span></p><font face="verdana, sans-serif" size="1">

</font><p style="margin:0in 0in 0pt"><span><span><font face="verdana, sans-serif" size="1">Skype: tony.bourdeaux</font></span></span></p><font size="3" face="Times New Roman">

</font><p style="margin:0in 0in 0pt"><span><span><font size="3" face="Calibri"> </font></span></span></p><font size="3" face="Times New Roman">

</font><p style="margin:0in 0in 0pt"><span><span><font size="3"><font face="Calibri">
 
 
  
  
  
  
  
  
  
  
  
  
  
  
 
 
 
</font></font><font size="3"><font face="Calibri">
 
</font></font></span></span></p><font size="3" face="Times New Roman">

</font><p style="margin:0in 0in 0pt"><span><span><font size="3" face="Calibri"> </font></span></span></p><font size="3" face="Times New Roman">

</font><p style="margin:0in 0in 0pt"><span><span><font size="3"><font face="Calibri">&quot;This message and any attachments are solely for the
intended recipient and may contain confidential or privileged information. If
you are not the intended recipient, any disclosure, copying, use, or
distribution of the information included in this message and any attachments is
prohibited. If you have received this communication in error, please notify me
by reply e-mail and immediately and permanently delete this message and any
attachments.&quot;</font></font></span></span></p><font size="3" face="Times New Roman">

</font><p style="margin:0in 0in 0pt"><span><span><font size="3" face="Calibri"> </font></span></span></p><font size="3" face="Times New Roman">

</font></div></div>
</div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">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="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">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></div></div></div></div>
</blockquote></div><br></div>