[Freeswitch-users] How to play ivr on background?

M.Emran monemran at gmail.com
Mon Jun 4 14:13:51 MSD 2012


IVR means to play a native sound file i.e. "You have 10 minutes"

I tried to set ringback data on dialplan. i got some noise or some tone.
here is my settings.

<action application="set" data="continue_on_fail=true"/>
<action application="set" data="call_timeout=30"/>
<action application="set" data="session_in_hangup_hook=true"/>
<action application="set" data="bypass_media=false"/>
<action application="set" data="ignore_early_media=true"/>
<action application="ring_ready"/>
<action application="set" data="ringback=voicemail/vm-you_have.G729"/>

Am i doing any wrong ?

On Mon, Jun 4, 2012 at 5:54 AM, Michael Collins <msc at freeswitch.org> wrote:

> You're getting into a tricky area here. You want to ignore early media,
> yet you want your clients to hear original ring tone of the B leg after you
> play an "IVR". (I honestly don't know what you mean by "IVR" here, but I'm
> assuming you just mean some sort of recorded message.)
>
> As far as using "say" or anything else like that you need to read up on
> phrase macros. I recommend starting here:
>
> http://wiki.freeswitch.org/wiki/Speech_Phrase_Management#Phrases_Section_Primer
>
> Also, chapter 6 of the FS book has some good information on this subject.
> It recommends that you look at sounds.xml in conf/lang/en/vm/ to get an
> idea of some of the things you can do with phrase macros.
>
> -MC
>
>
> On Sun, Jun 3, 2012 at 2:17 PM, Mohammad Emran <monemran at gmail.com> wrote:
>
>> Thnkx for ur faster redponse.
>>
>> Yes.i wanna ignore early media.
>>
>> Actually my aim is to save time of playing ivr n when finished ivr
>> clients will hear original ringtone of leg-b.
>>
>> On the ringback, how i can call SAY command to announce minutes?
>>
>> It would helpfull if i get an example.
>>
>> Sent from my iPhone
>>
>> On Jun 4, 2012, at 3:08 AM, Michael Collins <msc at freeswitch.org> wrote:
>>
>> Are you ignoring early media from the target leg? If so you can just set
>> the ringback variable to be the announcement (like
>> ivr/ivr-please_hold_while_your_party_is_being_reached.wav) and then
>> whatever ringing/music/etc. that you want them to hear while the call is
>> being connected.
>>
>> You might want to use this !-separated list of sound files method to play
>> multiple sounds in the ringback:
>>
>> http://wiki.freeswitch.org/wiki/Mod_file_string
>>
>> -MC
>>
>> On Sun, Jun 3, 2012 at 2:00 PM, Mohammad Emran <monemran at gmail.com>wrote:
>>
>>> Hi
>>>
>>> I would like play minute announce ivr during  the process of call. Cause
>>> it will reduce connect time  on client side.
>>>
>>> Pls advise how to do that.
>>>
>>>
>
> _________________________________________________________________________
> 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
>
>


-- 
Regards
----------
M Emran
www.e-softbilling.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120604/412e80c2/attachment-0001.html 


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