freeswitch/tests/unit/conf/freeswitch.xml

79 lines
2.4 KiB
XML

<?xml version="1.0"?>
<document type="freeswitch/xml">
<X-PRE-PROCESS cmd="exec-set" data="test=echo 1234"/>
<X-PRE-PROCESS cmd="set" data="spawn_instead_of_system=true"/>
<X-PRE-PROCESS cmd="exec-set" data="shell_exec_set_test=ls / | grep usr"/>
<X-PRE-PROCESS cmd="set" data="spawn_instead_of_system=false"/>
<X-PRE-PROCESS cmd="set" data="default_password=$${test}"/>
<X-PRE-PROCESS cmd="set" data="rtp_timer_name=soft" />
<section name="configuration" description="Various Configuration">
<configuration name="modules.conf" description="Modules">
<modules>
<load module="mod_console"/>
<load module="mod_loopback"/>
<load module="mod_opus"/>
<load module="mod_spandsp"/>
<load module="mod_amr"/>
<load module="mod_amrwb"/>
<load module="mod_tone_stream"/>
<load module="mod_dptools"/>
<load module="mod_sndfile"/>
<load module="mod_dialplan_xml"/>
<load module="mod_sndfile"/>
<load module="mod_test"/>
</modules>
</configuration>
<configuration name="switch.conf" description="Core Configuration">
<default-ptimes>
</default-ptimes>
<settings>
<param name="colorize-console" value="false"/>
<param name="dialplan-timestamps" value="false"/>
<param name="loglevel" value="debug"/>
<param name="rtp-start-port" value="1234"/>
<param name="rtp-end-port" value="1234"/>
<param name="rtp-enable-zrtp" value="false"/>
</settings>
</configuration>
<configuration name="console.conf" description="Console Logger">
<mappings>
<map name="all" value="console,debug,info,notice,warning,err,crit,alert"/>
</mappings>
<settings>
<param name="colorize" value="true"/>
<param name="loglevel" value="debug"/>
</settings>
</configuration>
<configuration name="timezones.conf" description="Timezones">
<timezones>
<zone name="GMT" value="GMT0" />
</timezones>
</configuration>
<X-PRE-PROCESS cmd="include" data="vpx.conf.xml"/>
</section>
<section name="dialplan" description="Regex/XML Dialplan">
<context name="default">
<extension name="loopback">
<condition field="destination_number" expression="^loopback$">
<action application="bridge" data="null/+1234"/>
</condition>
</extension>
<extension name="sample">
<condition>
<action application="info"/>
</condition>
</extension>
</context>
</section>
</document>