adding neat example of how to override the RURI on an outbound sip request to a registered user

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7591 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Brian West 2008-02-11 22:21:36 +00:00
parent f4bbd19232
commit 280a01339c

View File

@ -164,6 +164,26 @@
</condition> </condition>
</extension> </extension>
<!--
This is an example of how to overide the RURI on an outgoing invite to a registered contact.
-->
<!--
<extension name="ruri">
<condition field="destination_number" expression="^ruri$">
<action application="bridge" data="sofia/${ruri_profile}/${ruri_user}${regex(${sofia_contact(${ruri_contact})}|^[^\@]+(.*)|%1)}"/>
</condition>
</extension>
<extension name="7004">
<condition field="destination_number" expression="^7004$">
<action application="set" data="ruri_profile=default"/>
<action application="set" data="ruri_user=2000"/>
<action application="set" data="ruri_contact=1001@$${domain}"/>
<action application="execute_extension" data="ruri"/>
</condition>
</extension>
-->
<!-- <!--
start a dynamic conference with the settings of the "default" conference profile in conference.conf.xml start a dynamic conference with the settings of the "default" conference profile in conference.conf.xml
--> -->