From a1e3712ed3626ba704f635e46fd30528e337be7e Mon Sep 17 00:00:00 2001 From: root Date: Fri, 1 Oct 2021 15:25:51 -0700 Subject: [PATCH] Fix lua debug not working --- freeswitch/scripts/astpp-callingcards.lua | 2 +- freeswitch/scripts/astpp/astpp.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/freeswitch/scripts/astpp-callingcards.lua b/freeswitch/scripts/astpp-callingcards.lua index cd0caea71..5f056b568 100755 --- a/freeswitch/scripts/astpp-callingcards.lua +++ b/freeswitch/scripts/astpp-callingcards.lua @@ -68,7 +68,7 @@ if (not params) then end -if (config['debug']==1) then +if (config['debug'] == '0') then -- print all params if (params:serialize() ~= nil) then Logger.notice ("[xml_handler] Params:\n" .. params:serialize()) diff --git a/freeswitch/scripts/astpp/astpp.lua b/freeswitch/scripts/astpp/astpp.lua index 3aacf3912..c9353241a 100755 --- a/freeswitch/scripts/astpp/astpp.lua +++ b/freeswitch/scripts/astpp/astpp.lua @@ -71,7 +71,7 @@ if (not params) then end end -if (config['debug']==2) then +if (config['debug'] == '0') then -- print all params if (params:serialize() ~= nil) then Logger.notice ("[xml_handler] Params:\n" .. params:serialize())