more tweaks

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6580 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Brian West 2007-12-08 19:31:53 +00:00
parent 5e692c82b4
commit cdcb818a8f
2 changed files with 11 additions and 15 deletions

View File

@ -6,7 +6,7 @@
</settings>
<routes>
<route service="E2U+SIP" regex="sip:(.*)" replace="sofia/$${sip_profile}/$1"/>
<route service="E2U+SIP" regex="sip:(.*)" replace="sofia/${use_profile}/$1"/>
<route service="E2U+IAX2" regex="iax2:(.*)" replace="iax/$1"/>
<route service="E2U+XMPP" regex="XMPP:(.*)" replace="dingaling/$${xmpp_server_profile}/$1"/>
</routes>

View File

@ -183,7 +183,7 @@
<action application="fifo" data="default out nowait"/>
</condition>
</extension>
<!--
<extension name="Localized_Dialplan">
<condition field="${numbering_plan}" expression="^[[:alnum:]]+$"/>
<condition field="${default_gateway}" expression="[[:alnum:]]"/>
@ -191,19 +191,15 @@
<action application="transfer" data="$1 XML ${numbering_plan}-Numbering-Plan"/>
</condition>
</extension>
<!--
this is a "catchall" extension that will match anything that's
unmatched thus far.... uncomment and reloadxml to activate it
-->
<!--
<extension name="catchall">
<condition>
<action application="set" data="effective_caller_id_name=another noob"/>
<action application="bridge" data="sofia/$${domain}/888@conference.freeswitch.org"/>
</condition>
</extension>
-->
<!-- Catchall ENUM -->
<extension name="enum">
<condition field="destination_number" expression="^(.*)$">
<action application="enum" data="$1"/>
<action application="bridge" data="${enum_auto_route}"/>
</condition>
</extension>
</context>
</include>