Bug 6835 - Updates to GotoIf help text

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@16082 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Tilghman Lesher
2006-03-29 14:10:23 +00:00
parent ecf158b51e
commit ac1e4d72dd

12
pbx.c
View File

@@ -324,11 +324,13 @@ static struct pbx_builtin {
{ "GotoIf", pbx_builtin_gotoif, { "GotoIf", pbx_builtin_gotoif,
"Conditional goto", "Conditional goto",
" GotoIf(Condition?[label1]:[label2]): This application will cause the calling\n" " GotoIf(condition?[labeliftrue]:[labeliffalse]): This application will cause\n"
"channel to jump to the speicifed location in the dialplan based on the\n" "the calling channel to jump to the specified location in the dialplan based on\n"
"evaluation of the given condition. The channel will continue at 'label1' if the\n" "the evaluation of the given condition. The channel will continue at\n"
"condition is true, or 'label2' if the condition is false. The labels are\n" "'labeliftrue' if the condition is true, or 'labeliffalse' if the condition is\n"
"specified in the same syntax that is used with the Goto application.\n" "false. The labels are specified with the same syntax as used within the Goto\n"
"application. If the label chosen by the condition is omitted, no jump is\n"
"performed, but execution continues with the next priority in the dialplan.\n"
}, },
{ "GotoIfTime", pbx_builtin_gotoiftime, { "GotoIfTime", pbx_builtin_gotoiftime,