From 5cddd37b85d4176f2b6257a712428bc67037198d Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Mon, 2 Sep 2019 08:29:25 -0600 Subject: [PATCH] Update index.lua --- resources/install/scripts/app/follow_me/index.lua | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/resources/install/scripts/app/follow_me/index.lua b/resources/install/scripts/app/follow_me/index.lua index c0f12996d4..3d20dd5b8e 100644 --- a/resources/install/scripts/app/follow_me/index.lua +++ b/resources/install/scripts/app/follow_me/index.lua @@ -301,8 +301,12 @@ --set the outbound caller id if (session:ready() and caller_is_local) then - caller_id_name = outbound_caller_id_name; - caller_id_number = outbound_caller_id_number; + if (outbound_caller_id_name ~= nil) then + caller_id_name = outbound_caller_id_name; + end + if (outbound_caller_id_number ~= nil) then + caller_id_number = outbound_caller_id_number; + end end --set the caller id @@ -403,4 +407,3 @@ end end end -