mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-09 21:14:02 +00:00
changed US.conf to use ${default_gateway} so it can be user specific and the default context to not transfer if the numbering plan isn't set.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6207 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
<action application="set" data="hangup_after_bridge=true"/>
|
||||
<action application="enum" data="1$1"/>
|
||||
<action application="bridge" data="${enum_auto_route}"/>
|
||||
<action application="bridge" data="sofia/gateway/$${default_gateway}/011$1"/>
|
||||
<action application="bridge" data="sofia/gateway/${default_gateway}/011$1"/>
|
||||
</condition>
|
||||
</extension>
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
<action application="set" data="hangup_after_bridge=true"/>
|
||||
<action application="enum" data="1$1"/>
|
||||
<action application="bridge" data="${enum_auto_route}"/>
|
||||
<action application="bridge" data="sofia/gateway/$${default_gateway}/1$1"/>
|
||||
<action application="bridge" data="sofia/gateway/${default_gateway}/1$1"/>
|
||||
</condition>
|
||||
</extension>
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
<action application="set" data="hangup_after_bridge=true"/>
|
||||
<action application="enum" data="1$1"/>
|
||||
<action application="bridge" data="${enum_auto_route}"/>
|
||||
<action application="bridge" data="sofia/gateway/$${default_gateway}/1${default_area_code}$1"/>
|
||||
<action application="bridge" data="sofia/gateway/${default_gateway}/1${default_area_code}$1"/>
|
||||
</condition>
|
||||
</extension>
|
||||
|
||||
@@ -53,7 +53,7 @@
|
||||
-->
|
||||
<extension name="FCC_Services">
|
||||
<condition field="^([4689]11)$">
|
||||
<action application="bridge" data="sofia/gateway/$${default_gateway}/$1"/>
|
||||
<action application="bridge" data="sofia/gateway/${default_gateway}/$1"/>
|
||||
</condition>
|
||||
</extension>
|
||||
</context>
|
||||
|
||||
@@ -96,6 +96,7 @@
|
||||
|
||||
<extension name="Localized_Dialplan">
|
||||
<condition field="${numbering_plan}" expression="^[[:alnum:]]+$"/>
|
||||
<condition field="${default_gateway}" expression="[[:alnum:]]"/>
|
||||
<condition field="destination_number" expression="^([[:alnum:]]+)$">
|
||||
<action application="transfer" data="$1 XML ${numbering_plan}-Numbering-Plan"/>
|
||||
</condition>
|
||||
|
||||
Reference in New Issue
Block a user