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

Andrew Kohlsmith akohlsmith-asterisk at benshaw.com
Fri Apr 15 10:31:37 MST 2005


On April 15, 2005 12:23 pm, Brian West wrote:
> Just because you don't understand the proper usage of something doesn't
> mean we should plaster a warning on it nor should we bitch and moan
> about it.  The proper course of action is to document its proper usage
> and make sure people know how to use it.

It has nothing to do with 'proper use' -- it's confusing as is and should be 
fixed.  'i' should work properly, and until it does you have given a great 
example of using _..  

> People recommend using exten => i which is totally wrong if you wish to
> capture the invalid extension the person dialed since ${EXTEN} would be
> "i" instead of the number the person dialed. (which can be helpful ya
> know).

${INVALID_EXTENSION} as mentioned by someone else.

> I vote to have the warning removed from CVS it DOES NOT BELONG THERE.

I agree; I want to fix 'i' and remove this confusion, and eliminate the use of 
_. matching the special extensions.  Just because it *CAN*  be done doesn't 
mean it SHOULD be done.  We're trying to make Asterisk better, just as you 
are.  :-)

-A.



More information about the asterisk-dev mailing list