July 2017
Intermediate to advanced
434 pages
12h 59m
English
Let's first have a look at the IVR that answers extension 5000 of the demo configuration. In /usr/local/freeswitch/conf/dialplan/default.xml dialplan it is defined as follows:
<extension name="ivr_demo">
<condition field="destination_number" expression="^5000$">
<action application="answer"/>
<action application="sleep" data="2000"/>
<action application="ivr" data="demo_ivr"/>
</condition>
</extension>
This is easily one of the most exercised single snippets of FreeSWITCH configuration, because is so easy to use for testing purposes after a fresh installation. The relevant line is <action application="ivr" data="demo_ivr"/>, which will execute the "ivr" dialplan application, giving the string "demo_ivr" as argument.
Read now
Unlock full access