Update 050_user_record.xml (#7733)

Recording can be problematic depending on the call flow, sometimes it does not work with the api_on_answer. This change makes it easier to switch between the legacy record option and the api_on_answer. Minimal impact as this is disabled by default.
This commit is contained in:
Andy-Seattle
2026-02-03 11:38:01 -08:00
committed by GitHub
parent 40f09dd479
commit 2ca9ae2cdf

View File

@@ -63,6 +63,7 @@
<action application="bind_digit_action" data="local,*6,api:uuid_record,${uuid} unmask ${recordings_dir}/${domain_name}/archive/${strftime(%Y)}/${strftime(%b)}/${strftime(%d)}/${uuid}.${record_ext},both,self" enabled="true"/>
<action application="set" data="record_append=true" inline="true" enabled="true"/>
<action application="set" data="record_in_progress=true" inline="true" enabled="true"/>
<action application="set" data="${uuid_record ${uuid} start ${record_path}/${record_name}}" inline="false" enabled="false"/>
<action application="set" data="api_on_answer=uuid_record ${uuid} start ${record_path}/${record_name}" inline="false" enabled="true"/>
<action application="set" data="record_answer_req=true" enabled="true"/>
<action application="record_session" data="${record_path}/${record_name}" enabled="false"/>