From: Mark Michelson Date: Tue, 30 Oct 2007 17:07:26 +0000 (+0000) Subject: The priority gets incremented after raising an exception, so the priority should... X-Git-Tag: 1.6.0-beta1~3^2~1069 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e0d13e169c14a2da24135e095d7ea1322c70ef53;p=thirdparty%2Fasterisk.git 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 --- diff --git a/main/pbx.c b/main/pbx.c index ac1c781e97..24d56207ec 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; }