generated from Jaysyn/ModuleTemplate
Initial upload
Initial upload.
This commit is contained in:
39
_module/nss/_sw_ilr.nss
Normal file
39
_module/nss/_sw_ilr.nss
Normal file
@@ -0,0 +1,39 @@
|
||||
#include "fcb_inc_vars"
|
||||
#include "fcb_inc_parser"
|
||||
#include "fcb_inc_general"
|
||||
|
||||
//==========================================/
|
||||
void main()
|
||||
//==========================================/
|
||||
{
|
||||
//uncomment to use - controls ILR enable/disable
|
||||
/*
|
||||
string arg = retrieve_arg(1);
|
||||
if(get_is_number(arg))
|
||||
{
|
||||
string result = "";
|
||||
|
||||
switch(StringToInt(arg))
|
||||
{
|
||||
case 0:
|
||||
{
|
||||
switch_ILR_enable(0);
|
||||
result = "ILR disabled";
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
default:
|
||||
{
|
||||
switch_ILR_enable(1);
|
||||
result = "ILR enabled";
|
||||
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
set_function_result(result);
|
||||
set_function_result_valid();
|
||||
}
|
||||
*/
|
||||
}
|
Reference in New Issue
Block a user