[Freeswitch-users] Play wav before bridge in IVR, possible?

Michael Collins msc at freeswitch.org
Fri May 18 01:03:59 MSD 2012


Ah very interesting. I have never tried that. I will lab it up and confirm,
and if it really does work like this then I will update the wiki and make a
note in chapter 6 of my copy of the FS book. (If we ever do a 2e of the
bridge book I'lll have a stack of new items to put into it. My copy his
marked up all over the place. :)

Thanks Nikolay,
MC

On Thu, May 17, 2012 at 1:57 PM, Nikolay Rogoshchenkov
<nickolayr at gmail.com>wrote:

> Looks like it works with that config:
>
> [...]
>       <entry action="menu-exec-app" digits="3" param="playback
> /root/ivr_support_prompt.wav"/>
>       <entry action="menu-exec-app" digits="3" param="transfer 1234567 XML
> public"/>
>       <entry action="menu-exec-app" digits="0" param="transfer 0099 XML
> public"/>
>       <entry action="menu-exec-app" digits="/^(1[0-9][0-9])$/"
> param="transfer $1 XML someserver"/>
>       <entry action="menu-top" digits="9"/>    <!-- Repeat this menu -->
>     </menu>
> </include>
>
> --
> Nikolay
>
>
>
> On Thu, May 17, 2012 at 4:48 PM, Nikolay Rogoshchenkov <
> nickolayr at gmail.com> wrote:
>
>> But if I would like to bridge/transfer to external number via gateway?
>>
>> may be I can you something like this?
>> [...]
>> <entry action="menu-exec-app" digits="3" param="play-file
>> ivr/ivr-please.wav"/>
>> <entry action="menu-exec-app" digits="3" param="transfer 1234567 XML
>> public"/>
>> [...]
>> --
>> Nikolay
>>
>>
>>
>> On Thu, May 17, 2012 at 4:44 PM, Michael Collins <msc at freeswitch.org>wrote:
>>
>>> You could transfer to a new extension and have that extension execute
>>> the playback and then do the bridge. That is simple, clean, and extensible.
>>>
>>> -MC
>>>
>>>
>>> On Thu, May 17, 2012 at 1:08 PM, Nikolay Rogoshchenkov <
>>> nickolayr at gmail.com> wrote:
>>>
>>>> Hello,
>>>>
>>>> This is part of IVR config, and I would like to play announcement
>>>> before bridge to 123 at 12.3.4.56, is it possible to do?
>>>>
>>>> ===============================================
>>>> [...]
>>>>       <entry action="menu-exec-app" digits="4" param="transfer 110 XML
>>>> cisco_cme"/>.
>>>>       <entry action="menu-exec-app" digits="4" param="transfer 115 XML
>>>> cisco_cme"/>
>>>>       <entry action="menu-exec-app" digits="3" param="bridge
>>>> sofia/internal/123%12.3.4.56"/>
>>>>       <entry action="menu-exec-app" digits="0" param="transfer 0099 XML
>>>> public"/>
>>>>       <entry action="menu-top" digits="9"/>    <!-- Repeat this menu -->
>>>>     </menu>
>>>> </include>
>>>> ===============================================
>>>>
>>>> Thank you.
>>>> --
>>>> Nikolay
>>>>
>>>>
>>>>
>>>>
>>>> _________________________________________________________________________
>>>> 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
>>>>
>>>> Join Us At ClueCon - Aug 7-9, 2012
>>>>
>>>> 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
>>>>
>>>>
>>>
>>> _________________________________________________________________________
>>> 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
>>>
>>> Join Us At ClueCon - Aug 7-9, 2012
>>>
>>> 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
>>>
>>>
>>
>
> _________________________________________________________________________
> 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
>
> Join Us At ClueCon - Aug 7-9, 2012
>
> 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/20120517/73fa365a/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list