Hangup()

Hangs up the active channel.

        
          Hangup()
        
      

Hangs up the active channel unconditionally.

Returns -1.

exten => 123,1,Answer()
exten => 123,n,Playback(vm-goodbye)
exten => 123,n,Hangup()
[Note]

Internal help for this application in Asterisk 1.4: 

  -= Info about application 'Hangup' =- 

[Synopsis]
Hang up the calling channel

[Description]
  Hangup([causecode]): This application will hang up the calling channel
.
If a causecode is given the channel's hangup cause will be set to the gi
ven
value.

diff output to internal help in Asterisk 1.2: 

8,10c8
<   Hangup([causecode]): This application will hang up the calling chann
el.
< If a causecode is given the channel's hangup cause will be set to the 
given
< value.
---
>   Hangup(): This application will hang up the calling channel.

See also.  the section called “Answer()