[Asterisk-Dev] Re: BOUNTY: app_hangup from exten => h

Tony Mountifield tony at softins.clara.co.uk
Thu Apr 14 08:39:28 MST 2005


In article <200504141058.39557.akohlsmith-asterisk at benshaw.com>,
Andrew Kohlsmith <akohlsmith-asterisk at benshaw.com> wrote:
> On April 14, 2005 10:40 am, Eric Wieling wrote:
> > No, but I have seen many a time where people have exten => _.,Hangup
> > which is not a good thing most of the time.
> 
> Agreed.  :-)  I might take a crack at having the PBX throw up warnings if _. 
> matches a special extension.

I think the main reason people try doing _. is because . matches 1-or-more
instead of 0-or-more, so to match Any Number, you have to have duplicate
rule-sets for _X and _X.

Perhaps when searching for a "special extension" Asterisk should ignore
any _. rules.

Cheers
Tony
-- 
Tony Mountifield
Work: tony at softins.co.uk - http://www.softins.co.uk
Play: tony at mountifield.org - http://tony.mountifield.org



More information about the asterisk-dev mailing list