Add the context features to the dialplan database.
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
<!-- 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>
|
||||
Reference in New Issue
Block a user