From 984796b0faeae6bfc134abd38734530eaf62ac19 Mon Sep 17 00:00:00 2001 From: Mark Crane Date: Wed, 17 Dec 2014 09:58:00 +0000 Subject: [PATCH] Update the leg timeout in the dial_string. --- app/calls/resources/classes/follow_me.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/calls/resources/classes/follow_me.php b/app/calls/resources/classes/follow_me.php index 00fbde920e..ebbed4948c 100644 --- a/app/calls/resources/classes/follow_me.php +++ b/app/calls/resources/classes/follow_me.php @@ -369,6 +369,8 @@ include "root.php"; $session_dial_string = $_SESSION['domain']['dial_string']['text']; $dial_string = str_replace("\${dialed_user}", $replace_value, $session_dial_string); $dial_string = str_replace("\${dialed_domain}", $_SESSION['domain_name'], $dial_string); + $dial_string = str_replace("\${call_timeout}", $row["follow_me_timeout"], $dial_string); + $dial_string = str_replace("\${leg_timeout}", $row["follow_me_timeout"], $dial_string); } } else {