fix FSCORE-211

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10196 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Brian West 2008-10-29 23:14:22 +00:00
parent a34d780d13
commit 30f3ec3b4e
3 changed files with 6 additions and 6 deletions

View File

@ -1,6 +1,6 @@
<include> <include>
<extension name="local.provider.com"> <extension name="local.example.com">
<condition field="${toll_allow}" expression="local"/> <condition field="${toll_allow}" expression="local"/>
<condition field="destination_number" expression="^(\d{7})$"> <condition field="destination_number" expression="^(\d{7})$">
<action application="set" data="effective_caller_id_number=${outbound_caller_id_number}"/> <action application="set" data="effective_caller_id_number=${outbound_caller_id_number}"/>
@ -9,7 +9,7 @@
</condition> </condition>
</extension> </extension>
<extension name="domestic.provider.com"> <extension name="domestic.example.com">
<condition field="${toll_allow}" expression="domestic"/> <condition field="${toll_allow}" expression="domestic"/>
<condition field="destination_number" expression="^(\d{11})$"> <condition field="destination_number" expression="^(\d{11})$">
<action application="set" data="effective_caller_id_number=${outbound_caller_id_number}"/> <action application="set" data="effective_caller_id_number=${outbound_caller_id_number}"/>
@ -18,7 +18,7 @@
</condition> </condition>
</extension> </extension>
<extension name="international.provider.com"> <extension name="international.example.com">
<condition field="${toll_allow}" expression="international"/> <condition field="${toll_allow}" expression="international"/>
<condition field="destination_number" expression="^(011\d{10+})$"> <condition field="destination_number" expression="^(011\d{10+})$">
<action application="set" data="effective_caller_id_number=${outbound_caller_id_number}"/> <action application="set" data="effective_caller_id_number=${outbound_caller_id_number}"/>

View File

@ -120,13 +120,13 @@
Setting up your default sip provider is easy. Setting up your default sip provider is easy.
Below are some values that should work in most cases. Below are some values that should work in most cases.
These are for conf/directory/default/provider.com.xml These are for conf/directory/default/example.com.xml
--> -->
<X-PRE-PROCESS cmd="set" data="default_provider=provider.com"/> <X-PRE-PROCESS cmd="set" data="default_provider=example.com"/>
<X-PRE-PROCESS cmd="set" data="default_provider_username=joeuser"/> <X-PRE-PROCESS cmd="set" data="default_provider_username=joeuser"/>
<X-PRE-PROCESS cmd="set" data="default_provider_password=password"/> <X-PRE-PROCESS cmd="set" data="default_provider_password=password"/>
<X-PRE-PROCESS cmd="set" data="default_provider_from_domain=provider.com"/> <X-PRE-PROCESS cmd="set" data="default_provider_from_domain=example.com"/>
<!-- true or false --> <!-- true or false -->
<X-PRE-PROCESS cmd="set" data="default_provider_register=false"/> <X-PRE-PROCESS cmd="set" data="default_provider_register=false"/>
<X-PRE-PROCESS cmd="set" data="default_provider_contact=5000"/> <X-PRE-PROCESS cmd="set" data="default_provider_contact=5000"/>