]> git.ipfire.org Git - thirdparty/asterisk.git/commit
pbx.c: Additional fixes to ast_context_remove_extension_callerid2. 58/3558/1
authorCorey Farrell <git@cfware.com>
Fri, 12 Aug 2016 04:30:27 +0000 (00:30 -0400)
committerCorey Farrell <git@cfware.com>
Mon, 15 Aug 2016 16:12:31 +0000 (11:12 -0500)
commit9b822293bdb51e5f17116fe884d490d332b7bce4
tree0c332251713f71f93dec4db96ca06ae8d059d822
parent2dc23297a9cf1bb04b7793565cf50dd670ca2637
pbx.c: Additional fixes to ast_context_remove_extension_callerid2.

Do not check registrar of the first extension head.  We should only check
the registrar when we match the priority.

Additionally fix a couple calls to strcmp which used the input callerid
instead of the clean version ex.cidmatch.

ASTERISK-26233

Change-Id: I17ea6881a18f40840ae9c1f5394aab1fbb3769f1
main/pbx.c