Didn't say it was perfect. Just trying to document our dialplan and make it clear to mere mortals who have to deal with it. A better plan would be to use anchored regexps.
Specifically, the longest match issue is a problem which is why I forced the length in 1.1 LCR.
31123 is dialed. Does this match the 3____ prefix or the 311 prefix In 1.2 LCR it would match 311 which is the longer prefix now.? /a
Juha Heinanen wrote:
alan,
i'm still wondering how your prefix pattern can limit the number of digits in the match, since definitely % (that matches anything of any length) is added automatically to the prefix. otherwise, plain prefixes like 00358 would not work at all.
-- juha