diff options
author | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-05-20 21:30:19 +0000 |
---|---|---|
committer | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-05-20 21:30:19 +0000 |
commit | cb567e23955ec449e1955546b4787674200352ff (patch) | |
tree | a2d597b9c8584d2076dec11a99f4990367dd2623 /apps/app_stack.c | |
parent | f6d4a6640729fe45bbb934267c65182ad2029bac (diff) |
Merged revisions 264752 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
........
r264752 | tilghman | 2010-05-20 16:28:53 -0500 (Thu, 20 May 2010) | 7 lines
Error message fix.
(closes issue #17356)
Reported by: kenner
Patches:
app_stack.c.diff uploaded by kenner (license 1040)
........
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@264753 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_stack.c')
-rw-r--r-- | apps/app_stack.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_stack.c b/apps/app_stack.c index 57d702c1d..a473fc8d9 100644 --- a/apps/app_stack.c +++ b/apps/app_stack.c @@ -400,7 +400,7 @@ static int gosub_exec(struct ast_channel *chan, void *data) if (!ast_exists_extension(chan, chan->context, chan->exten, ast_test_flag(chan, AST_FLAG_IN_AUTOLOOP) ? chan->priority + 1 : chan->priority, chan->cid.cid_num)) { ast_log(LOG_ERROR, "Attempt to reach a non-existent destination for gosub: (Context:%s, Extension:%s, Priority:%d)\n", - chan->context, chan->exten, chan->priority); + chan->context, chan->exten, ast_test_flag(chan, AST_FLAG_IN_AUTOLOOP) ? chan->priority + 1 : chan->priority); ast_copy_string(chan->context, newframe->context, sizeof(chan->context)); ast_copy_string(chan->exten, newframe->extension, sizeof(chan->exten)); chan->priority = newframe->priority; |