From 6be67bc0ff6c3f817e32a8f459cd3e1b98aac2c3 Mon Sep 17 00:00:00 2001 From: Mark Crane Date: Thu, 20 Sep 2012 07:45:17 +0000 Subject: [PATCH] Improve the call flow log to freeswitch. --- includes/install/scripts/call_flow.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/install/scripts/call_flow.lua b/includes/install/scripts/call_flow.lua index 95de1e3269..7df84c815d 100644 --- a/includes/install/scripts/call_flow.lua +++ b/includes/install/scripts/call_flow.lua @@ -138,7 +138,7 @@ if (session:ready()) then session:execute("sleep", "2000"); session:execute("playback", "tone_stream://%(200,0,500,600,700)"); --show in the console - freeswitch.consoleLog("notice", "Call Flow: status=true uuid="..call_flow_uuid.."\n"); + freeswitch.consoleLog("notice", "Call Flow: label="..call_flow_label..",status=true,uuid="..call_flow_uuid.."\n"); else --set presence in - turn lamp on event = freeswitch.Event("PRESENCE_IN"); @@ -163,7 +163,7 @@ if (session:ready()) then session:execute("sleep", "2000"); session:execute("playback", "tone_stream://%(500,0,300,200,100,50,25)"); --show in the console - freeswitch.consoleLog("notice", "Call Flow: status=false uuid="..call_flow_uuid.."\n"); + freeswitch.consoleLog("notice", "Call Flow: label="..call_flow_anti_label..",status=false,uuid="..call_flow_uuid.."\n"); end dbh:query("UPDATE v_call_flows SET call_flow_status = '"..toggle.."' WHERE call_flow_uuid = '"..call_flow_uuid.."'"); else