If the autoloop flag is set on a channel, then we need to
authorMark Michelson <mmichelson@digium.com>
Fri, 5 Dec 2008 23:24:38 +0000 (23:24 +0000)
committerMark Michelson <mmichelson@digium.com>
Fri, 5 Dec 2008 23:24:38 +0000 (23:24 +0000)
commit07311720f298dabeb212bfbb344aac2887c236a2
treea9df26dc733db3068847a572c856861f2528b306
parentfbb542055f8ecccfc141a2d78351ab377fd0ab75
If the autoloop flag is set on a channel, then we need to
add 1 to the priority when checking if the extension exists. Otherwise,
gosubs will fail.

This was discovered when investigating an asterisk-users mailing list post
made by Gary Hawkins.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@161493 65c4cc65-6c06-0410-ace0-fbb531ad65f3
apps/app_stack.c