mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-03-13 12:40:17 +00:00
adding some stuff to defaults for zrtp
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13891 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
d44d407614
commit
2b8f736f6d
@ -588,6 +588,14 @@
|
||||
</condition>
|
||||
</extension>
|
||||
|
||||
<!-- install zrtp_agent.lua into scripts (ZRTP == 9787) -->
|
||||
<extension name="tone_stream">
|
||||
<condition field="destination_number" expression="^9787$">
|
||||
<action application="answer"/>
|
||||
<action application="lua" data="zrtp_agent.lua"/>
|
||||
</condition>
|
||||
</extension>
|
||||
|
||||
<!--
|
||||
You will no longer hear the bong tone. The wav file is playing stating the call is secure.
|
||||
The file will not play unless you have both TLS and SRTP active.
|
||||
@ -599,9 +607,10 @@
|
||||
<action application="answer"/>
|
||||
<action application="execute_extension" data="is_secure XML features"/>
|
||||
<action application="playback" data="$${hold_music}"/>
|
||||
<!-- This really should be an IVR for zrtp enrollment but this is just a demo-->
|
||||
<anti-action application="set" data="zrtp_enrollment=true"/>
|
||||
<anti-action application="set" data="zrtp_secure_media=true"/>
|
||||
<anti-action application="answer"/>
|
||||
<anti-action application="playback" data="silence_stream://2000"/>
|
||||
<anti-action application="execute_extension" data="is_zrtp_secure XML features"/>
|
||||
<anti-action application="playback" data="$${hold_music}"/>
|
||||
</condition>
|
||||
</extension>
|
||||
|
@ -37,6 +37,14 @@
|
||||
</condition>
|
||||
</extension>
|
||||
|
||||
<extension name="is_zrtp_secure">
|
||||
<condition field="${zrtp_secure_media_confirmed}" expression="^true$">
|
||||
<action application="sleep" data="1000"/>
|
||||
<action application="playback" data="misc/call_secured.wav"/>
|
||||
<anti-action application="eval" data="not_secure"/>
|
||||
</condition>
|
||||
</extension>
|
||||
|
||||
<extension name="is_secure">
|
||||
<!-- Only Truly consider it secure if its TLS and SRTP -->
|
||||
<condition field="${sip_via_protocol}" expression="tls"/>
|
||||
|
Loading…
x
Reference in New Issue
Block a user