use a function, set_ext_pri(), to assign extension and priority.
authorLuigi Rizzo <rizzo@icir.org>
Wed, 19 Apr 2006 09:18:30 +0000 (09:18 +0000)
committerLuigi Rizzo <rizzo@icir.org>
Wed, 19 Apr 2006 09:18:30 +0000 (09:18 +0000)
commit065367db374b0f001c81ccf645b982d7e586790b
treed90ec3b6d01569386c8f8b050fc805bd8d0a508a
parent91b441abdf5860abade12e0cd51d09e1ae771ac5
use a function, set_ext_pri(), to assign extension and priority.
On passing, fix a bug in __ast_pbx_run() where the wrong priority
was used in a call to ast_exists_extension() (see comment in the code).

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@21392 65c4cc65-6c06-0410-ace0-fbb531ad65f3
pbx.c