[Freeswitch-users] IVR Questions

Mark Crane mctch at yahoo.com
Thu Sep 25 10:30:56 PDT 2008


You seem to understand the basics around creating the IVR.

An easy way to make the recordings is to use FreeSWITCH. Add the following to your dialplan at /usr/local/freeswitch/conf/dialplan/default.xml. Then call extension 8335 or 8336 and say what you want for the recording and then end the call. There are two extensions so you can record more than one wav file without overwriting it. After you made a recording rename the wav file to something logical for your IVR. Then you are ready to use the wav file in the IVR.


  <extension name="8335">
  	<condition field="destination_number" expression="8335">
  	  <action application="answer"/>
      <!--default terminator is *. Keyword 'none' disables on-key termination /-->
      <action application="set" data="playback_terminators=#"/> 
      <action application="record" data="/usr/local/freeswitch/recordings/8335.wav 180 200"/>
  	</condition>
  </extension>
    
    <extension name="8336">
  	<condition field="destination_number" expression="8336">
  	<action application="answer"/>
      <!--default terminator is *. Keyword 'none' disables on-key termination /-->
      <action application="set" data="playback_terminators=#"/> 
      <action application="record" data="/usr/local/freeswitch/recordings/8336.wav 180 200"/>
  	</condition>
  </extension>



--- On Thu, 9/25/08, Jim Flowers <jflowers at ezo.net> wrote:

> From: Jim Flowers <jflowers at ezo.net>
> Subject: [Freeswitch-users] IVR Questions
> To: "FreeSwitch ML" <freeswitch-users at lists.freeswitch.org>
> Date: Thursday, September 25, 2008, 10:11 AM
> I'm ready to tackle creating a multi-level IVR.  From
> what I have seen in the
> wiki, what I have to do is to create a separate wav file
> for each prompt in
> some other software and then create an XML file to organize
> the logic around
> pointers to the wav files and terminating in the requited
> actions.
> 
> Am I missing something or is there any software that would
> simplify this
> effort that is worth investigating?
> 
> 
> -- 
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
> 
> 
> _______________________________________________
> 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


      




More information about the FreeSWITCH-users mailing list