Example config for the new ivr application.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3531 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2006-12-04 12:41:03 +00:00
parent b616b6ec2a
commit da95d6ef8f

View File

@ -411,16 +411,40 @@
<configuration name="enum.conf" description="ENUM Module">
<settings>
<param name="default-root" value="e164.org"/>
<param name="default-root" value="e164.org"/>
</settings>
<routes>
<route service="E2U+SIP" regex="sip:(.*)" replace="sofia/test/$1"/>
<route service="E2U+IAX2" regex="iax2:(.*)" replace="iax/$1"/>
<route service="E2U+XMPP" regex="XMPP:(.*)" replace="dingaling/jingle/$1"/>
<route service="E2U+SIP" regex="sip:(.*)" replace="sofia/test/$1"/>
<route service="E2U+IAX2" regex="iax2:(.*)" replace="iax/$1"/>
<route service="E2U+XMPP" regex="XMPP:(.*)" replace="dingaling/jingle/$1"/>
</routes>
</configuration>
<configuration name="ivr.conf" description="IVR menus">
<menus>
<menu name="main" greet-long="/soundfiles/greet-long.wav" greet-short="/soundfiles/greet-short.wav" invalid-sound="/soundfiles/invalid.wav" exit-sound="/soundfiles/exit.wav" timeout ="15" max-failures="3">
<entry action="menu-exit" digits="*"/>
<entry action="menu-sub" digits="2" param="menu2"/>
<entry action="menu-exec-api" digits="3" param="api arg"/>
<entry action="menu-play-sound" digits="4" param="/soundfiles/4.wav"/>
<entry action="menu-back" digits="5"/>
<entry action="menu-call-transfer" digits="7" param="888"/>
<entry action="menu-sub" digits="8" param="menu8"/>>
</menu>
<menu name="menu8" greet-long="/soundfiles/greet-long.wav" greet-short="/soundfiles/greet-short.wav" invalid-sound="/soundfiles/invalid.wav" exit-sound="/soundfiles/exit.wav" timeout ="15" max-failures="3">
<entry action="menu-back" digits="#"/>
<entry action="menu-play-sound" digits="4" param="/soundfiles/4.wav"/>
<entry action="menu-top" digits="*"/>
</menu>
<menu name="menu2" greet-long="/soundfiles/greet-long.wav" greet-short="/soundfiles/greet-short.wav" invalid-sound="/soundfiles/invalid.wav" exit-sound="/soundfiles/exit.wav" timeout ="15" max-failures="3">
<entry action="menu-back" digits="#"/>
<entry action="menu-play-sound" digits="4" param="/soundfiles/4.wav"/>
<entry action="menu-top" digits="*"/>
</menu>
</menus>
</configuration>
</section>
<section name="dialplan" description="Regex/XML Dialplan">