From 1970300db1b9791476fa9a52286da6832f1201bf Mon Sep 17 00:00:00 2001 From: Mark Crane Date: Fri, 5 Dec 2014 12:55:04 +0000 Subject: [PATCH] Fix forward on busy. --- resources/install/scripts/app/failure_handler/index.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/install/scripts/app/failure_handler/index.lua b/resources/install/scripts/app/failure_handler/index.lua index 2a41ef4222..19cdea3d2e 100644 --- a/resources/install/scripts/app/failure_handler/index.lua +++ b/resources/install/scripts/app/failure_handler/index.lua @@ -70,7 +70,7 @@ if (dialed_extension ~= nil and dialed_extension ~= last_busy_dialed_extension) then forward_busy_enabled = session:getVariable("forward_busy_enabled"); if (forward_busy_enabled == "true") then - forward_busy_destination = string.lower(row["forward_busy_destination"]); + forward_busy_destination = session:getVariable("forward_busy_destination"); if (forward_busy_destination ~= nil and string.len(forward_busy_destination) > 0) then --handle USER_BUSY - forwarding to number session:setVariable("last_busy_dialed_extension", dialed_extension);