<div dir="ltr">So you are sharing your working extension for retrieving a call from VM?<div>Thanks for sharing!</div><div><br></div><div><div dir="ltr"><span style="font-family:Verdana,Arial,Helvetica,sans-serif"><span style="font-size:small">-Avi</span></span></div>
<br><br><div class="gmail_quote">On Fri, Mar 2, 2012 at 6:46 AM, Dean Coulter <span dir="ltr"><<a href="mailto:dean@dyversesolutions.com.au">dean@dyversesolutions.com.au</a>></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">
Thanks Avi,<br>
<br>
I have it working using the UUID. Just before the call diverts to
VM it inserts a hash. The user can then dial # to
retrieve(intercept) the call from the VM system. The VM loopback
hangsup at the time the call is intercepted. Note that in this
instance, any extension can retrieve the call by dialling # (this is
the main number which rings on all phones).<br>
<br>
<br>
<br>
<extension name="inbound_calls"><br>
<condition field="destination_number"
expression="^(200)$"><br>
<action application="set"
data="ringback=${au-ring}"/><br>
<action application="set"
data="call_timeout=25"/><br>
<action application="set"
data="hangup_after_bridge=true"/><br>
<action application="set"
data="continue_on_fail=true"/><br>
<action application="bridge"<br>
data="{ignore_early_media=true}sofia/internal/302%${domain_name},sofia/internal/301%${domain_name}"/><br>
<action application="answer"/><br>
<action application="sleep" data="1000"/><br>
<action application="hash"
data="insert/${domain_name}-retrieve_vm/global/${uuid}"/><br>
<action application="bridge"
data="loopback/app=voicemail:default ${domain_name} 301"/><br>
</condition><br>
</extension><br>
<br>
<br>
<br>
<br>
<br>
<extension name="retrieve-vm"><br>
<condition field="destination_number"
expression="^(\#)$"><br>
<action application="intercept"
data="${hash(select/${domain_name}-retrieve_vm/global/${uuid}"/><br>
<action application="answer"/><br>
<action application="sleep"
data="1000"/><br>
</condition><br>
</extension><br>
<br>
<br>
<pre cols="72">Regards,
Dean Coulter
Dyverse Solutions Pty Ltd
PO Box 10888
Adelaide Street
BRISBANE QLD 4000
Mob <a href="tel:%2B61%20%280%29%20448%20859%20977" value="+61448859977" target="_blank">+61 (0) 448 859 977</a>
ACN 112 999 452
<a href="http://www.dyversesolutions.com.au" target="_blank">http://www.dyversesolutions.com.au</a>
Caution
This message may contain privileged and confidential information intended only for the use of the addressee(s) named above. If you are not the intended recipient of this message you are hereby notified that any use, dissemination, distribution or reproduction of this message is prohibited. If you have received this message in error please notify the sender immediately.</pre>
<div><div class="h5">
<br>
On 02/03/12 10:40, Avi Marcus wrote:
<blockquote type="cite">
<div dir="ltr">Via ESL or api you could do <a href="http://wiki.freeswitch.org/wiki/Mod_commands#uuid_transfer" target="_blank">uuid_transfer</a> but
I'm not sure a) how you would know they were still in the VM
system and b) what button you'd decide they should push.
<div>
But you'd just use hash to store the UUID right before they
went to the VM system. Like the redial or intercept code in
the default config.</div>
<div><br>
</div>
<div>
<div dir="ltr"><span style="font-family:Verdana,Arial,Helvetica,sans-serif"><span style="font-size:small">-Avi</span></span></div>
<br>
<br>
<div class="gmail_quote">On Thu, Mar 1, 2012 at 8:59 AM, Dean
Coulter <span dir="ltr"><<a href="mailto:dean@dyversesolutions.com.au" target="_blank">dean@dyversesolutions.com.au</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
<br>
Does anyone know how to retrieve an active call from the
voicemail system? I have googled and checked the lists
but couldn't find anything.<br>
<br>
At a previous employer we had this feature so if you were
heading back to your desk to answer the phone and it had
gone to VM, you could retrieve the call if the calling
party was in the process of leaving a message. This was a
very useful feature as it saved time in listening to
messages and returning calls.<br>
<br>
Dean<br>
<br>
<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>
</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>
</div></div></div>
<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>
<br></blockquote></div><br></div></div>