]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
adding example of how to detect when inband is needed
authorBrian West <brian@freeswitch.org>
Mon, 19 Jan 2009 17:39:47 +0000 (17:39 +0000)
committerBrian West <brian@freeswitch.org>
Mon, 19 Jan 2009 17:39:47 +0000 (17:39 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11285 d0543943-73ff-0310-b7d9-9358b9ac24b2

conf/dialplan/default.xml

index ba065c40f1fc517f4387afe04c8e03ad2c9113cc..98881528869720e8bbe5f02dfd7650a667f65760 100644 (file)
       <condition field="${call_debug}" expression="^true$" break="never">
        <action application="info"/>
       </condition>
+      <!--
+         This is an example of how to auto detect if telephone-event is missing and activate inband detection 
+      -->
+      <!--
+      <condition field="${switch_r_sdp}" expression="a=rtpmap:(\d+)\stelephone-event/8000" break="never">
+       <action application="set" data="rtp_payload_number=$1"/>
+       <anti-action application="start_dtmf"/>
+      </condition>
+      -->
       <condition field="${sip_has_crypto}" expression="^(AES_CM_128_HMAC_SHA1_32|AES_CM_128_HMAC_SHA1_80)$" break="never">
        <action application="set" data="sip_secure_media=true"/>
        <!-- Offer SRTP on outbound legs if we have it on inbound. -->