[Freeswitch-users] Retrieve active call from voicemail
Dean Coulter
dean at dyversesolutions.com.au
Fri Mar 2 07:46:49 MSK 2012
Thanks Avi,
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).
<extension name="inbound_calls">
<condition field="destination_number" expression="^(200)$">
<action application="set" data="ringback=${au-ring}"/>
<action application="set" data="call_timeout=25"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="set" data="continue_on_fail=true"/>
<action application="bridge"
data="{ignore_early_media=true}sofia/internal/302%${domain_name},sofia/internal/301%${domain_name}"/>
<action application="answer"/>
<action application="sleep" data="1000"/>
<action application="hash"
data="insert/${domain_name}-retrieve_vm/global/${uuid}"/>
<action application="bridge" data="loopback/app=voicemail:default
${domain_name} 301"/>
</condition>
</extension>
<extension name="retrieve-vm">
<condition field="destination_number" expression="^(\#)$">
<action application="intercept"
data="${hash(select/${domain_name}-retrieve_vm/global/${uuid}"/>
<action application="answer"/>
<action application="sleep" data="1000"/>
</condition>
</extension>
Regards,
Dean Coulter
Dyverse Solutions Pty Ltd
PO Box 10888
Adelaide Street
BRISBANE QLD 4000
Mob +61 (0) 448 859 977
ACN 112 999 452
http://www.dyversesolutions.com.au
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.
On 02/03/12 10:40, Avi Marcus wrote:
> Via ESL or api you could do uuid_transfer
> <http://wiki.freeswitch.org/wiki/Mod_commands#uuid_transfer> 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.
> 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.
>
> -Avi
>
>
> On Thu, Mar 1, 2012 at 8:59 AM, Dean Coulter
> <dean at dyversesolutions.com.au <mailto:dean at dyversesolutions.com.au>>
> wrote:
>
> Hi,
>
>
> 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.
>
> 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.
>
> Dean
>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org <mailto:consulting at freeswitch.org>
> http://www.freeswitchsolutions.com
>
>
>
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> <mailto:FreeSWITCH-users at lists.freeswitch.org>
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
>
>
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120302/e0a71f3f/attachment-0001.html
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list