Remove a variable from follow_me.lua that was not being used
This commit is contained in:
@@ -140,10 +140,9 @@
|
|||||||
follow_me_enabled = "true";
|
follow_me_enabled = "true";
|
||||||
--answer and play a tone
|
--answer and play a tone
|
||||||
session:answer();
|
session:answer();
|
||||||
if (string.len(call_flow_anti_label) > 0) then
|
api = freeswitch.API();
|
||||||
api = freeswitch.API();
|
reply = api:executeString("uuid_display "..session:get_uuid().." Activated ");
|
||||||
reply = api:executeString("uuid_display "..session:get_uuid().." Follow Me Activated ");
|
|
||||||
end
|
|
||||||
session:execute("sleep", "2000");
|
session:execute("sleep", "2000");
|
||||||
session:execute("playback", "tone_stream://%(200,0,500,600,700)");
|
session:execute("playback", "tone_stream://%(200,0,500,600,700)");
|
||||||
--notify the caller
|
--notify the caller
|
||||||
@@ -156,10 +155,9 @@
|
|||||||
follow_me_enabled = "false";
|
follow_me_enabled = "false";
|
||||||
--answer and play a tone
|
--answer and play a tone
|
||||||
session:answer();
|
session:answer();
|
||||||
if (string.len(call_flow_anti_label) > 0) then
|
api = freeswitch.API();
|
||||||
api = freeswitch.API();
|
reply = api:executeString("uuid_display "..session:get_uuid().." Cancelled ");
|
||||||
reply = api:executeString("uuid_display "..session:get_uuid().." Follow Me Cancelled ");
|
|
||||||
end
|
|
||||||
session:execute("sleep", "2000");
|
session:execute("sleep", "2000");
|
||||||
session:execute("playback", "tone_stream://%(500,0,300,200,100,50,25)");
|
session:execute("playback", "tone_stream://%(500,0,300,200,100,50,25)");
|
||||||
--notify the caller
|
--notify the caller
|
||||||
|
|||||||
Reference in New Issue
Block a user