<div dir="ltr"><div>It&#39;s also a patch ofcourse and I think that an extension that lists the uuid&#39;s for an extension would be usefull anyway.<br><br></div>Michel<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Wed, Oct 30, 2013 at 5:58 PM, Michel Brabants <span dir="ltr">&lt;<a href="mailto:michel.brabants@gmail.com" target="_blank">michel.brabants@gmail.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><div>I&#39;ve written a patch for freeswitch that allows you to execute a dialplan-command/api from the dialplan when the transfer succeeds ... It has been lying around for some time in my local branch waiting to be uploaded as a jira-patch ...<br>

<br></div>I think that this would solve you problem.<span class="HOEnZb"><font color="#888888"><br><br></font></span></div><span class="HOEnZb"><font color="#888888">Michel<br></font></span></div><div class="HOEnZb"><div class="h5">
<div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Oct 30, 2013 at 4:12 PM, 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">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    <div>Yes, that works fine, except in the
      case where the incoming call bounces off a receptionist.<br>
      <br>
      Receptionist takes call - UUID 1234 is mapped (via mod_db) to the
      receptionist&#39;s extension number.<br>
      Receptionist begins an attended transfer - new UUID is generated
      (6789) - this UUID is mapped to the tranfer target (extension
      101).<br>
      Receptionist completes transfer - new UUID (6789) is discarded and
      UUID 1234 is now the UUID of the call.<br>
      Eavesdropper wants to listen to whatever extension 101 is doing...
      no mapping for this.<br>
      <br>
      I have a patch for mod_dptools ready to submit that allows
      eavesdrop to lookup an extension number, I&#39;m just checking to see
      if I&#39;ve missed some other way to do it.<div><div><br>
      <br>
      <br>
      On 10/30/13, 2:01 AM, Steven Ayre wrote:<br>
    </div></div></div><div><div>
    <blockquote type="cite">
      <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" target="_blank">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" 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>
      <br>
      <fieldset></fieldset>
      <br>
      <pre>_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a>

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a>

Official FreeSWITCH Sites
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a>

FreeSWITCH-users mailing list
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a>
</pre>
    </blockquote>
    <br>
  </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>
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" 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>
<br></blockquote></div><br></div>
</div></div></blockquote></div><br></div>