[asterisk-bugs] [Asterisk 0012961]: [patch] allow pbx_lua to be used without pbx_config loaded

noreply at bugs.digium.com noreply at bugs.digium.com
Wed Jul 16 10:58:47 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=12961 
====================================================================== 
Reported By:                mnicholson
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   12961
Category:                   PBX/General
Reproducibility:            N/A
Severity:                   feature
Priority:                   normal
Status:                     new
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 126574 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             06-30-2008 15:04 CDT
Last Modified:              07-16-2008 10:58 CDT
====================================================================== 
Summary:                    [patch] allow pbx_lua to be used without pbx_config
loaded
Description: 
This patch allows pbx_lua to be used without pbx_config being loaded by
directly creating the required dialplan switches in the pbx_lua.so module.
====================================================================== 

---------------------------------------------------------------------- 
 mnicholson - 07-16-08 10:58  
---------------------------------------------------------------------- 
I just uploaded pbx_lua6.diff which is a patch against r131207 (should
probably work with 126574 too).  This one uses ast_context_destroy() to
clean up during unload instead of ast_merge_contexts_and_delete().  This
seems to work since murf's latest fixes went in.

There is still the question of clean up/reuse of the 'local_table' hash
table in lua_register_switches().  See the Additional Information section
of the bug description for more information. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
07-16-08 10:58  mnicholson     Note Added: 0090344                          
======================================================================




More information about the asterisk-bugs mailing list