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

Eric Wieling eric at fnords.org
Fri Apr 15 08:34:44 MST 2005


Rich Adamson wrote:

>>On April 15, 2005 08:06 am, Rich Adamson wrote:
>>
>>>; This section is the Last and handles 'no valid extension'
>>>[no-match]
>>>exten => _.,1,Answer
>>>exten => _.,2,Playback(invalid,skip)
>>>exten => _.,3,Hangup
>>
>>>where none of the includes have a _. except for the "no-match"
>>>catch all? That catch all is simply there to say "hey dummy,
>>>there is no match in the dialplan. Try again."
>>
>>As I suggested:
>>
>>[no-match]
>>exten => i,1,Answer
>>exten => i,2,Playback(invalid,skip)
>>exten => i,3,Hangup
>>
>>Am I missing something, or does the _. catchall catch an invalid extension 
>>better than i?
> 
> 
> Tried that, doesn't work. So far the only thing that can catch
> an invalid extension is _. as shown above.

You mean you can only catch ONE DIGIT invalid extensions with _.  You 
can catch all numeric extensions with _X.

--Eric
-- 
Always do right. This will gratify some people and astonish the rest.
Mark Twain



More information about the asterisk-dev mailing list