git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89277
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
return NULL;
}
- if (!eroot && action == E_CANMATCH && score.canmatch_exten) {
+ if (!eroot && (action == E_CANMATCH || action == E_MATCHMORE) && score.canmatch_exten) {
q->status = STATUS_SUCCESS;
return score.canmatch_exten;
}
+ if (action == E_MATCHMORE && eroot)
+ return NULL; /* according to the code, complete matches are null matches in MATCHMORE mode */
+
if (eroot) {
/* found entry, now look for the right priority */
if (q->status < STATUS_NO_PRIORITY)