[svn-commits] murf: branch 1.2 r59186 -
/branches/1.2/apps/app_macro.c
svn-commits at lists.digium.com
svn-commits at lists.digium.com
Fri Mar 23 08:57:27 MST 2007
Author: murf
Date: Fri Mar 23 10:57:26 2007
New Revision: 59186
URL: http://svn.digium.com/view/asterisk?view=rev&rev=59186
Log:
Added a few words in the Macro doc strings about the behavior of macros with hangups (et al.), as per 9337
Modified:
branches/1.2/apps/app_macro.c
Modified: branches/1.2/apps/app_macro.c
URL: http://svn.digium.com/view/asterisk/branches/1.2/apps/app_macro.c?view=diff&rev=59186&r1=59185&r2=59186
==============================================================================
--- branches/1.2/apps/app_macro.c (original)
+++ branches/1.2/apps/app_macro.c Fri Mar 23 10:57:26 2007
@@ -61,6 +61,11 @@
"will be returned at the location of the Goto.\n"
"If ${MACRO_OFFSET} is set at termination, Macro will attempt to continue\n"
"at priority MACRO_OFFSET + N + 1 if such a step exists, and N + 1 otherwise.\n"
+"Extensions: While a macro is being executed, it becomes the current context.\n"
+" This means that if a hangup occurs, for instance, that the macro\n"
+" will be searched for an "h" extension, NOT the context from which\n"
+" the macro was called. So, make sure to define all appropriate\n"
+" extensions in your macro! (you can use 'catch' in AEL) \n"
"WARNING: Because of the way Macro is implemented (it executes the priorities\n"
" contained within it via sub-engine), and a fixed per-thread\n"
" memory stack allowance, macros are limited to 7 levels\n"
More information about the svn-commits
mailing list