mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-05 19:23:49 +00:00
Create 045_call_recording_on_demand.xml
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
|
||||
<context name="{v_context}">
|
||||
<extension name="bind_digit_action" number="" continue="true" app_uuid="7e007a4d-886b-4cdf-81f4-da9eb4689f1c" enabled="false" order="85">
|
||||
<condition field="${sip_authorized}" expression="true" break="never">
|
||||
<action application="set" data="bind_target=both" inline="true"/>
|
||||
<!-- set to peer to prevent manipulate of call by caller -->
|
||||
<anti-action application="set" data="bind_target=peer" inline="true"/>
|
||||
</condition>
|
||||
<condition>
|
||||
<action application="bind_digit_action" data="local,*2,exec:record_session,$${recordings_dir}/${domain_name}/archive/${strftime(%Y)}/${strftime(%b)}/${strftime(%d)}/${uuid}.${record_ext},${bind_target}"/>
|
||||
<action application="digit_action_set_realm" data="local"/>
|
||||
</condition>
|
||||
</extension>
|
||||
</context>
|
||||
Reference in New Issue
Block a user