Make pbx_lua handle managing the autoservice better.

Make autoservice_start() and autoservice_stop() return nothing.  Also check if
the autoservice flag is set before starting or stopping the autoservice and
stop and start the autoservice when returning control to and getting control
from the pbx engine.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@317803 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Matthew Nicholson
2011-05-06 19:01:57 +00:00
parent 6c38322870
commit d5e9ce9ab1
2 changed files with 36 additions and 18 deletions

View File

@@ -47,6 +47,7 @@ pbx_lua:
(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.
- autoservice_start() and autoservice_start() no longer return a value.
===========================================================
===========================================================