]> git.ipfire.org Git - thirdparty/asterisk.git/commit
pbx.c: Additional fixes to ast_context_remove_extension_callerid2. 59/3559/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:42 +0000 (11:12 -0500)
commitf7f9081f7afa2d40861c71ea9fa18a0fd5a69d90
tree0ecb5119d6b4ce8fe7b3ad8cb4c8ef975edcaf31
parent0bb8366580573d8c78265656036f97d75bd5fd74
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