<div dir="ltr">Use mod_db to store the current call&#39;s uuid and then again to look it up.</div><div class="gmail_extra"><br><br><div class="gmail_quote">On 29 October 2013 15:54, Jeremy Childs <span dir="ltr">&lt;<a href="mailto:jeremyc@ssimicro.com" target="_blank">jeremyc@ssimicro.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I&#39;m trying to create a &quot;works-anywhere&quot; eavesdrop extension. I&#39;ve got<br>
the demo application that uses the hash/spymap functionality working<br>
     correctly, but you would need the caller-id of the incoming call in<br>
order to eavesdrop on incoming calls. This could be fixed by capturing<br>
the destination number instead of the caller-id number for incoming<br>
calls (and I&#39;ve done this, it works fine).<br>
<br>
However, this breaks in the case where an attended transfer has happened<br>
(the UUID of the call that gets connected &quot;belonged&quot; to the receptionist).<br>
<br>
The most robust thing I can think of is to do a live lookup of the call<br>
UUID using the &quot;final&quot; extension number. Is there any way to do this<br>
lookup from the dialplan?<br>
<br>
To be clear, what I&#39;d like to do is this:<br>
<br>
Incoming call is picked up by receptionist (ext 100). Receptionist<br>
transfers call to extension 101. The Boss (extension 200), dials *88101<br>
which looks up the UUID of extension 101&#39;s current call, provides this<br>
UUID to the eavesdrop extension, and the eavesdrop proceeds.<br>
<br>
There doesn&#39;t appear to be any way to do this from the dialplan, however<br>
-- am I missing something?<br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.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://wiki.freeswitch.org" target="_blank">http://wiki.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">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>