Created
March 6, 2014 17:30
-
-
Save northbear/9394970 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<document type="freeswitch/xml"> | |
<section name="configuration" description="Gerenal configuration"> | |
<configuration name="modules.conf" description="Loaded Modules"> | |
<load module="mod_sofia"/> | |
<load module="mod_dialplan_xml"/> | |
<load module="mod_console"/> | |
<load module="mod_commands"/> | |
</configuration> | |
<configuration name="sofia.conf" description="Sofia module config"> | |
<global_settings> | |
</global_settings> | |
<profiles> | |
<profile name="basic"> | |
<aliases></aliases> | |
<gateways></gateways> | |
<domains> | |
<domain name="all" alias="false" parse="false"/> | |
</domains> | |
<settings> | |
<!-- <param name="alias" value="sip:127.0.0.1:6060"/> --> | |
<param name="debug" value="1"/> | |
<param name="sip-ip" value="127.0.0.1"/> | |
<param name="sip-port" value="6060"/> | |
<!-- <param name="agressive-nat-detection" value="false"/> --> | |
<param name="stun-enabled" value="false"/> | |
<param name="disable-register" value="true"/> | |
<param name="context" value="public"/> | |
<param name="inbound-bypass-media" value="true"/> | |
</settings> | |
</profile> | |
</profiles> | |
<configuration name="console.conf" description="Log to console conf"> | |
</configuration> | |
</configuration> | |
</section> | |
<section name="dialplan" description="Regex/XML Dialplan"> | |
<context name="public"> | |
<extension name="redirect"> | |
<condition field="destination_number" expression="^(.+)$"> | |
<!-- <action application="log" data="Incoming call to $1 recieved..."/> --> | |
<action application="redirect" data="sip:$1@peer1.com,sip:$1@peer2.com,sip:$1@peer3.com,sip:$1@peer4.com"/> | |
</condition> | |
</extension> | |
</context> | |
</section> | |
</document> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment