Summary: | ASTERISK-10723: [patch] Add check_hangup() method to pbx_lua | ||
Reporter: | Matthew Nicholson (mnicholson) | Labels: | |
Date Opened: | 2007-11-08 16:41:34.000-0600 | Date Closed: | 2007-11-08 17:36:33.000-0600 |
Priority: | Major | Regression? | No |
Status: | Closed/Complete | Components: | PBX/NewFeature |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) pbx_lua2.diff | |
Description: | This patch adds a check_hangup() method to pbx_lua. This is useful if your script has long running sections of code that do not pass control back to asterisk (i.e. by executing certain apps). Using this method the user can check and see if it is time for a hangup and if so exit their script (probably using error()). | ||
Comments: | By: Digium Subversion (svnbot) 2007-11-08 17:36:32.000-0600 Repository: asterisk Revision: 89124 U trunk/pbx/pbx_lua.c ------------------------------------------------------------------------ r89124 | qwell | 2007-11-08 17:36:32 -0600 (Thu, 08 Nov 2007) | 4 lines Add check_hangup() method to pbx_lua, which can be used to check whether it is time to hangup a channel. Closes issue ASTERISK-10723, patch by mnicholson ------------------------------------------------------------------------ |