diff options
author | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-05-20 21:28:53 +0000 |
---|---|---|
committer | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-05-20 21:28:53 +0000 |
commit | a88b4d6e3f529937a140c00918709bc04e3001c1 (patch) | |
tree | 32c08de4c7adcc11a85b994fa37eaf0fe5c0793d /apps/app_stack.c | |
parent | 055fb588d5894ac9e823e0d70b4b83255c222d5b (diff) |
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/trunk@264752 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 6fc1c6092..ebca99490 100644 --- a/apps/app_stack.c +++ b/apps/app_stack.c @@ -415,7 +415,7 @@ static int gosub_exec(struct ast_channel *chan, const char *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; |