1 2--get the argv values 3 script_name = argv[0]; 4 5--options all, last, non_moderator, member_id 6 data = argv[1]; 7 8--prepare the api object 9 api = freeswitch.API(); 10 11--get the session variables 12 conference_name = session:getVariable("conference_name"); 13 14--send the conferenc mute command 15 cmd = "conference " .. conference_name .. " mute " .. data; 16 response = api:executeString(cmd); 17