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

Brian West brian.west at mac.com
Fri Apr 15 09:10:28 MST 2005


Rich,
	Your original example was correct.  Not only can it work you get to 
know what the moron dialed.

/b

On Apr 15, 2005, at 9:08 AM, 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.
>
>
> _______________________________________________
> Asterisk-Dev mailing list
> Asterisk-Dev at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-dev
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-dev




More information about the asterisk-dev mailing list