[asterisk-commits] mnicholson: trunk r317806 - in /trunk: UPGRADE.txt pbx/pbx_lua.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Fri May 6 14:14:48 CDT 2011
Author: mnicholson
Date: Fri May 6 14:14:39 2011
New Revision: 317806
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=317806
Log:
Default to starting an autoservice in pbx_lua. The autoservice is
automatically stopped when applications are executed, so this shouldn't cause
any problems.
Modified:
trunk/UPGRADE.txt
trunk/pbx/pbx_lua.c
Modified: trunk/UPGRADE.txt
URL: http://svnview.digium.com/svn/asterisk/trunk/UPGRADE.txt?view=diff&rev=317806&r1=317805&r2=317806
==============================================================================
--- trunk/UPGRADE.txt (original)
+++ trunk/UPGRADE.txt Fri May 6 14:14:39 2011
@@ -47,6 +47,7 @@
(such as app.goto). Now when an application such as app.goto() is called,
control is returned back to the pbx engine and the current extension
function stops executing.
+ - the autoservice now defaults to being on by default
- autoservice_start() and autoservice_start() no longer return a value.
===========================================================
Modified: trunk/pbx/pbx_lua.c
URL: http://svnview.digium.com/svn/asterisk/trunk/pbx/pbx_lua.c?view=diff&rev=317806&r1=317805&r2=317806
==============================================================================
--- trunk/pbx/pbx_lua.c (original)
+++ trunk/pbx/pbx_lua.c Fri May 6 14:14:39 2011
@@ -566,7 +566,7 @@
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");
}
More information about the asterisk-commits
mailing list