[asterisk-dev] _. and matching special extensions

Russell Bryant russell at digium.com
Mon Jul 18 09:54:00 CDT 2011


On 7/18/11 8:56 AM, Benny Amorsen wrote:
> Do any of you use _. to match e.g. the h extension?
>
> Right now _[a-z] does not match the special h extension but does match
> someone explicitly dialling "h". Would it make sense to extend this
> behaviour to the . and ! patterns, so they never match h?

I would be very hesitant to change the behavior of something like this 
that has always worked this way.  If enough people think it would be 
useful, it could be an option that's off by default.

-- 
Russell Bryant
Digium, Inc.     |    Engineering Manager, Asterisk
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
www.digium.com         -=-         www.asterisk.org



More information about the asterisk-dev mailing list