From 2b0c9d6016b7882b21084dcd3f71d4642e05b1cb Mon Sep 17 00:00:00 2001 From: markjcrane Date: Thu, 9 Jul 2015 00:54:27 -0300 Subject: [PATCH] Fix the call center timeout action for the dialplan. --- app/call_center/resources/classes/call_center.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/call_center/resources/classes/call_center.php b/app/call_center/resources/classes/call_center.php index ebc78f6c2d..75559bed36 100644 --- a/app/call_center/resources/classes/call_center.php +++ b/app/call_center/resources/classes/call_center.php @@ -165,6 +165,7 @@ $action_array = explode(":",$this->queue_timeout_action); $dialplan["dialplan_details"][$y]["domain_uuid"] = $this->domain_uuid; $dialplan["dialplan_details"][$y]["dialplan_detail_tag"] = "action"; + $dialplan["dialplan_details"][$y]["dialplan_detail_type"] = $action_array[0]; $dialplan["dialplan_details"][$y]["dialplan_detail_data"] = substr($this->queue_timeout_action, strlen($action_array[0])+1, strlen($this->queue_timeout_action)); $dialplan["dialplan_details"][$y]["dialplan_detail_group"] = "2"; $dialplan["dialplan_details"][$y]["dialplan_detail_order"] = $y * 10;