summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorMark Michelson <mmichelson@digium.com>2007-10-30 17:07:26 +0000
committerMark Michelson <mmichelson@digium.com>2007-10-30 17:07:26 +0000
commite0d13e169c14a2da24135e095d7ea1322c70ef53 (patch)
treec169024abe1b241fc96ef51b07fc1c2da9b1a21e /main
parente5f87bbac3c3c629dace940ffcc8f8aeea368f15 (diff)
The priority gets incremented after raising an exception, so the priority should be set to 0
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@87608 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main')
-rw-r--r--main/pbx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/pbx.c b/main/pbx.c
index ac1c781e9..24d56207e 100644
--- a/main/pbx.c
+++ b/main/pbx.c
@@ -1319,7 +1319,7 @@ int pbx_builtin_raise_exception(struct ast_channel *chan, void *vtype)
ast_string_field_set(exception, context, chan->context);
ast_string_field_set(exception, exten, chan->exten);
exception->priority = chan->priority;
- set_ext_pri(chan, "e", 1);
+ set_ext_pri(chan, "e", 0);
return 0;
}