From: Leif Madsen Date: Fri, 17 Jun 2011 15:14:54 +0000 (+0000) Subject: Fix grammar in documentation for Goto() and GotoIf() X-Git-Tag: 1.8.5-rc1~11^2~18 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cfec9cdf0d5ea3b53cb3deaee0ef16444a637e35;p=thirdparty%2Fasterisk.git Fix grammar in documentation for Goto() and GotoIf() (closes issue ASTERISK-18023) Reported by: Tim Osman git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@324115 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/main/pbx.c b/main/pbx.c index 63cbd22b19..174212e3e3 100644 --- a/main/pbx.c +++ b/main/pbx.c @@ -252,7 +252,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") If the location that is put into the channel information is bogus, and asterisk cannot find that location in the dialplan, then the execution engine will try to find and execute the code in the i (invalid) extension in the current context. If that does not exist, it will try to execute the - h extension. If either or neither the h or i extensions + h extension. If neither the h nor i extensions have been defined, the channel is hung up, and the execution of instructions on the channel is terminated. What this means is that, for example, you specify a context that does not exist, then it will not be possible to find the h or i extensions, @@ -289,7 +289,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") next instruction. If the target location is bogus, and does not exist, the execution engine will try to find and execute the code in the i (invalid) extension in the current context. If that does not exist, it will try to execute the h extension. - If either or neither the h or i extensions have been defined, + If neither the h nor i extensions have been defined, the channel is hung up, and the execution of instructions on the channel is terminated. Remember that this command can set the current context, and if the context specified does not exist, then it will not be able to find any 'h' or 'i' extensions there, and