Update call_center.php (#4046)
Add pause before greeting if greeting assigned
This commit is contained in:
parent
0afb92b811
commit
3263cd2e93
|
|
@ -145,6 +145,17 @@
|
|||
$y++;
|
||||
}
|
||||
|
||||
|
||||
if (strlen($this->queue_greeting) > 0) {
|
||||
$dialplan["dialplan_details"][$y]["domain_uuid"] = $this->domain_uuid;
|
||||
$dialplan["dialplan_details"][$y]["dialplan_detail_tag"] = "action";
|
||||
$dialplan["dialplan_details"][$y]["dialplan_detail_type"] = "pause";
|
||||
$dialplan["dialplan_details"][$y]["dialplan_detail_data"] = "1000";
|
||||
$dialplan["dialplan_details"][$y]["dialplan_detail_group"] = "2";
|
||||
$dialplan["dialplan_details"][$y]["dialplan_detail_order"] = $y * 10;
|
||||
$y++;
|
||||
}
|
||||
|
||||
if (strlen($this->queue_greeting) > 0) {
|
||||
$dialplan["dialplan_details"][$y]["domain_uuid"] = $this->domain_uuid;
|
||||
$dialplan["dialplan_details"][$y]["dialplan_detail_tag"] = "action";
|
||||
|
|
|
|||
Loading…
Reference in New Issue