summaryrefslogtreecommitdiff
path: root/pbx/pbx_lua.c
diff options
context:
space:
mode:
authorMatthew Nicholson <mnicholson@digium.com>2011-05-06 19:14:39 +0000
committerMatthew Nicholson <mnicholson@digium.com>2011-05-06 19:14:39 +0000
commit7a1204d1292204e13a52d742ff70a28732a325af (patch)
treef2ebd36ac379b73b95f908bb4acd6de15dbf202f /pbx/pbx_lua.c
parentd5e9ce9ab199d8e2762e305279f9fb3d6f842005 (diff)
Default to starting an autoservice in pbx_lua. The autoservice is
automatically stopped when applications are executed, so this shouldn't cause any problems. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@317806 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'pbx/pbx_lua.c')
-rw-r--r--pbx/pbx_lua.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pbx/pbx_lua.c b/pbx/pbx_lua.c
index 25acc4981..cae82adba 100644
--- a/pbx/pbx_lua.c
+++ b/pbx/pbx_lua.c
@@ -566,7 +566,7 @@ static void lua_create_autoservice_functions(lua_State *L)
lua_pushcfunction(L, &lua_autoservice_status);
lua_setglobal(L, "autoservice_status");
- lua_pushboolean(L, 0);
+ lua_pushboolean(L, 1);
lua_setfield(L, LUA_REGISTRYINDEX, "autoservice");
}