11 lines
477 B
XML
11 lines
477 B
XML
|
|
<!-- Only Truly consider it secure if its TLS and SRTP -->
|
||
|
|
<context name="features">
|
||
|
|
<extension name="is_secure" continue="true">
|
||
|
|
<condition field="${sip_via_protocol}" expression="tls"/>
|
||
|
|
<condition field="${sip_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>
|
||
|
|
</context>
|