Update destination_edit.php
This commit is contained in:
parent
f128781b2a
commit
5211750c42
|
|
@ -331,6 +331,7 @@
|
|||
$sql .= " dialplan_detail_data like '%tone_detect%' ";
|
||||
$sql .= " or dialplan_detail_type = 'tone_detect' ";
|
||||
$sql .= " or dialplan_detail_type = 'record_session' ";
|
||||
$sql .= " or (dialplan_detail_type = 'sleep' and dialplan_detail_data = '3000') ";
|
||||
$sql .= ")";
|
||||
$parameters['domain_uuid'] = $domain_uuid;
|
||||
$parameters['dialplan_uuid'] = $dialplan_uuid;
|
||||
|
|
@ -774,6 +775,12 @@
|
|||
if (substr($dialplan_detail_data,0,22) == "execute_on_tone_detect") {
|
||||
unset($dialplan_details[$x]);
|
||||
}
|
||||
if ($row['dialplan_detail_type'] == "answer") {
|
||||
unset($dialplan_details[$x]);
|
||||
}
|
||||
if ($row['dialplan_detail_type'] == "sleep") {
|
||||
unset($dialplan_details[$x]);
|
||||
}
|
||||
if ($row['dialplan_detail_type'] == "record_session") {
|
||||
unset($dialplan_details[$x]);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue