add toll free termination to the default sample dialplan.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1546 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2006-06-06 02:52:26 +00:00
parent 5337872ce8
commit d16e0faea7
1 changed files with 11 additions and 5 deletions

View File

@ -262,11 +262,17 @@
<!-- *NOTE* The special context name 'any' will match any context -->
<context name="default">
<extension name="devconf">
<condition field="destination_number" expression="^888$">
<action application="bridge" data="exosip/888@66.250.68.194"/>
</condition>
</extension>
<extension name="tollfree">
<condition field="destination_number" expression="^(18[0{2}8{2}7{2}6{2}].*)$">
<action application="bridge" data="exosip/$1-freeswitch@voip.trxtel.com"/>
</condition>
</extension>
<extension name="devconf">
<condition field="destination_number" expression="^888$">
<action application="bridge" data="exosip/888@66.250.68.194"/>
</condition>
</extension>
<!-- if the destination is an exact match on the extension name
you do not need any regex in the condition -->