]> git.ipfire.org Git - thirdparty/asterisk.git/commit
pbx.c: Additional fixes to ast_context_remove_extension_callerid2. 57/3557/1
authorCorey Farrell <git@cfware.com>
Fri, 12 Aug 2016 04:30:27 +0000 (00:30 -0400)
committerCorey Farrell <git@cfware.com>
Sun, 14 Aug 2016 03:02:33 +0000 (23:02 -0400)
commit3e0eafa710f792a47426f21eeb46a8296224ce49
tree4697cdbf53c9f9e0a208bbc61a4626b0759479a4
parent4725de7aae80f03d994eee0086f9de75437005e3
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