aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authormurf <murf@f38db490-d61c-443f-a65b-d21fe96a405b>2007-03-23 15:57:26 +0000
committermurf <murf@f38db490-d61c-443f-a65b-d21fe96a405b>2007-03-23 15:57:26 +0000
commit033cefcb8ad1f71e1fac9814f900a7db6cdee6f7 (patch)
tree2840a2249d4d74fa38e83b493505a2420baf4bcf /apps
parent6206b516cee9ff8694f1b3cec1eef22357d32b8e (diff)
Added a few words in the Macro doc strings about the behavior of macros with hangups (et al.), as per 9337
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@59186 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-rw-r--r--apps/app_macro.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/app_macro.c b/apps/app_macro.c
index 425836278..9835138f6 100644
--- a/apps/app_macro.c
+++ b/apps/app_macro.c
@@ -61,6 +61,11 @@ static char *descrip =
"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"