Make pbx_lua handle managing the autoservice better.
authorMatthew Nicholson <mnicholson@digium.com>
Fri, 6 May 2011 19:01:57 +0000 (19:01 +0000)
committerMatthew Nicholson <mnicholson@digium.com>
Fri, 6 May 2011 19:01:57 +0000 (19:01 +0000)
commitd5e9ce9ab199d8e2762e305279f9fb3d6f842005
tree481eb01b417501066625514e8b477d6f00bc2608
parent6c38322870a44ef5cd7f90b049e4daa07ed8ad9d
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
UPGRADE.txt
pbx/pbx_lua.c