diff options
author | mmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-10-30 17:07:26 +0000 |
---|---|---|
committer | mmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-10-30 17:07:26 +0000 |
commit | d6bb8d4d0b473ceeef23b948fcfb773a8423a8b6 (patch) | |
tree | c169024abe1b241fc96ef51b07fc1c2da9b1a21e /main | |
parent | cae7b14e2476189b001a1135f7c2440bead2cf3f (diff) |
The priority gets incremented after raising an exception, so the priority should be set to 0
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@87608 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main')
-rw-r--r-- | main/pbx.c | 2 |
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; } |