]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
fun stuff
authorBrian West <brian@freeswitch.org>
Sat, 11 Oct 2008 03:03:46 +0000 (03:03 +0000)
committerBrian West <brian@freeswitch.org>
Sat, 11 Oct 2008 03:03:46 +0000 (03:03 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9955 d0543943-73ff-0310-b7d9-9358b9ac24b2

conf/dialplan/default.xml
conf/directory/default/brian.xml

index d44bb28e2898fc8eb65099047c04eb842d0d0d64..7a9933449a211bc928bc8ddfebae4a442f80dfed 100644 (file)
        <anti-action application="db" data="insert/${domain_name}-call_return/${dialed_extension}/${caller_id_number}"/>
        <anti-action application="db" data="insert/${domain_name}-last_dial_ext/${dialed_extension}/${uuid}"/>
        <anti-action application="set" data="called_party_callgroup=${user_data(${dialed_extension}@${domain_name} var callgroup)}"/>
+       <anti-action application="export" data="nolocal:sip_secure_media=${user_data(${dialed_extension}@${domain_name} var sip_secure_media)}"/>
        <anti-action application="db" data="insert/${domain_name}-last_dial/${called_party_callgroup}/${uuid}"/>
        <anti-action application="bridge" data="user/${dialed_extension}@${domain_name}"/>
        <anti-action application="answer"/>
index ab47e4622559d46b8f10de2d5ca6717d9f06fa8f..c9306fe3526026745616c7762e0cc99cebb3820f 100644 (file)
@@ -60,7 +60,8 @@
       <variable name="effective_caller_id_number" value="1000"/>
       <!-- Don't write a CDR if this is false valid values are: true, false, a_leg and b_leg -->
       <variable name="process_cdr" value="true"/>
-
+      <!-- sip_secure_media will offer mandatory SRTP on invite AES_CM_128_HMAC_SHA1_32, AES_CM_128_HMAC_SHA1_80 or true-->
+      <variable name="sip_secure_media" value="true"/>
       <!-- limit the max number of outgoing calls for this user -->
       <!--<variable name="max_calls" value="2"/>-->