[Freeswitch-users] How to play ivr on background?
Mohammad Emran
monemran at gmail.com
Tue Jun 5 00:12:57 MSD 2012
It works...great!
Freeswitch rocks!!!!
It seems sound file played faster.is there any variable to play file slowly???
Sent from my iPad
On Jun 5, 2012, at 1:27 AM, Michael Collins <msc at freeswitch.org> wrote:
> Try setting ringback variable before executing the ring_ready app.
> -MC
>
> On Mon, Jun 4, 2012 at 3:13 AM, M.Emran <monemran at gmail.com> wrote:
>
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120605/e6d4bfb8/attachment-0001.html
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list