[Freeswitch-users] How to run IVR application

Michael Collins msc at freeswitch.org
Tue Nov 24 19:55:31 PST 2009


On Tue, Nov 24, 2009 at 6:03 PM, Lei Tang <lei.tlfly at gmail.com> wrote:

> you can do this in follow steps:
> 1.edit default.xml diaplan config file in your fs config
> directory(FS/conf/dialplan/default.xml), and section
>      <extension name="ivr_demo2">
>       <condition field="destination_number" expression="^\*114$">
>         <action application="lua" data="../ivr/test.lua"/>
>       </condition>
>      </extension>
> 2. edit your ivr script, your can refer to
> http://wiki.freeswitch.org/wiki/Mod_lua for how to write ivr script in
> lua.
> 3. connect your sip phone to fs, and dial 114, this will launch your ivr
> application
>
>

You can also do IVRs with static XML. I recommend you try out the demo IVR
by dialing 5000. Now go look at the two main files that we used to build
that IVR:

conf/autoload_configs/ivr.conf.xml (menu structure)
conf/lang/en/demo/demo-ivr.xml (phrase macros)

it's overwhelming at first, however once you get the hang of it you'll
appreciate how powerful it is. The wiki and the sample XML config files have
lots of information so be sure to read as much as you can and try things.
You can't break anything. :)

-MC
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20091124/3e78aadb/attachment-0002.html 


More information about the FreeSWITCH-users mailing list