forked from Mirrors/freeswitch
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:
parent
f4bbd19232
commit
280a01339c
@ -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
|
||||||
-->
|
-->
|
||||||
|
Loading…
Reference in New Issue
Block a user