[Asterisk-Dev] BOUNTY: app_hangup from exten => h
Andrew Kohlsmith
akohlsmith-asterisk at benshaw.com
Thu Apr 14 10:19:51 MST 2005
On April 14, 2005 01:46 pm, 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
> >
> > This is the "funky". You call Hangup and so exten => h is called,
> > which is matched by _. Yet another evilness of _.
>
> So, if in the above section I remove priority 3, how would one
> forcibly hang up the extension that called an undefined extension?
exten => i,1,...
??
There should be almost no reason to ever use _.
-A.
More information about the asterisk-dev
mailing list