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

Andrew Kohlsmith akohlsmith-asterisk at benshaw.com
Thu Apr 14 10:49:07 MST 2005


On April 14, 2005 11:48 am, Josh Roberson wrote:
> I would have to disagree with you here, since it is (or should be)
> widely known that _. is a wildcard match, and will match ANYTHING.  This
> behaviour is GOOD, when you just need to capture anything that is sent
> into a particular context, and parse it.  Sure, ruling out _. would be
> great for newbies, but some of us experienced folk use this for more
> than just numeric extensions - we actually determine, and work around
> some of the system extensions using this operator.

I disagree.

_. should match ANY **NORMAL** extension.  It should never match o,s,h,i,a,t.  
That is not how it is now, but IMO that is how it should be.  I can't think 
of a single valid reason to have _. match any of those.

-A.



More information about the asterisk-dev mailing list