tweak actions to use CDATA

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7359 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Brian West 2008-01-25 19:49:21 +00:00
parent 848ed982e8
commit 490e4bdb5f
2 changed files with 3 additions and 9 deletions

View File

@ -119,10 +119,10 @@
</extension>
<extension name="extension-intercom">
<condition field="${sip_to_params}" expression="intercom\=true"/>
<!-- <condition field="${sip_to_params}" expression="intercom\=true"/> -->
<condition field="destination_number" expression="^8(10[01][0-9])$">
<action application="set" data="dialed_ext=$1"/>
<action application="export" data="sip_h_Call-Info=<sip:$${domain}>;answer-after=0"/>
<action application="export"><![CDATA[sip_h_Call-Info=<sip:$${domain}>;answer-after=0]]></action>
<action application="export" data="sip_auto_answer=true"/>
<action application="bridge" data="user/${dialed_ext}@$${domain}"/>
</condition>
@ -272,12 +272,6 @@
<X-PRE-PROCESS cmd="include" data="extensions/*.xml"/>
<extension name="overlap_dial">
<condition field="destination_number" expression="^(.*)$">
<action application="respond" data="484 asterisk sucks"/>
</condition>
</extension>
<extension name="enum">
<condition field="destination_number" expression="^(.*)$">
<action application="transfer" data="$1 enum"/>

View File

@ -46,7 +46,7 @@
<!--<param name="bind-params" value="transport=udp"/>-->
<!-- TLS: disabled by default, set to "true" to enable -->
<param name="tls" value="false"/>
<param name="tls" value="true"/>
<!-- additional bind parameters for TLS -->
<param name="tls-bind-params" value="transport=tls"/>
<!-- Port to listen on for TLS requests. (5061 will be used if unspecified) -->