Disable destination_number by default
This dialplan is meant to not record any calls any feature code calls. This means all calls starting with a * prefix. However if you set the call to record all on the extension wouldn't you expect it to record all calls? Including when picking up a call. Or when intercepting call? or when un-parking a call. Had a someone call that had used a * prefix on an outbound route because they did that this condition prevented the call from being recorded which they didn't expect when the extension was set to record all calls. Tempted to remove it entirely but have instead disabled it by default for now.
This commit is contained in:
parent
530ba85969
commit
d9ba8b8880
|
|
@ -42,7 +42,7 @@
|
||||||
<action application="set" data="record_session=true" inline="true"/>
|
<action application="set" data="record_session=true" inline="true"/>
|
||||||
</condition>
|
</condition>
|
||||||
<condition field="${record_session}" expression="^true$"/>
|
<condition field="${record_session}" expression="^true$"/>
|
||||||
<condition field="destination_number" expression="^(?:(?!\*).|\*59|\*\*|\*8|\*67|\*69)+$">
|
<condition field="destination_number" expression="^(?:(?!\*).|\*59|\*\*|\*8|\*67|\*69)+$" enabled="false">
|
||||||
<action application="set" data="record_path=${recordings_dir}/${domain_name}/archive/${strftime(%Y)}/${strftime(%b)}/${strftime(%d)}" inline="true" enabled="true"/>
|
<action application="set" data="record_path=${recordings_dir}/${domain_name}/archive/${strftime(%Y)}/${strftime(%b)}/${strftime(%d)}" inline="true" enabled="true"/>
|
||||||
<action application="set" data="record_name=${uuid}.${record_ext}" inline="true" enabled="true"/>
|
<action application="set" data="record_name=${uuid}.${record_ext}" inline="true" enabled="true"/>
|
||||||
<!--<action application="set" data="record_name=${destination_number}-${caller_id_number}_${strftime(%Y-%m-%d %H:%M)}.${record_ext}" inline="true" enabled="true"/>-->
|
<!--<action application="set" data="record_name=${destination_number}-${caller_id_number}_${strftime(%Y-%m-%d %H:%M)}.${record_ext}" inline="true" enabled="true"/>-->
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue