提交 30f3ec3b authored 作者: Brian West's avatar Brian West

fix FSCORE-211

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10196 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 a34d780d
<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 @@ ...@@ -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 @@ ...@@ -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}"/>
......
...@@ -120,13 +120,13 @@ ...@@ -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"/>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论