Name

Hangup() — Unconditionally hangs up the current channel

Synopsis

Hangup(cause-code)

Unconditionally hangs up the current channel. If supported on the channel, cause-code will be specified to the remote end as the reason for ending the call. cause-code defaults to 16 (normal call clearing). Acceptable values for cause-code are the following:

16

Normal call clearing

17

Busy

19

No answer

21

Rejected

34

Congestion

exten => 123,1,Answer()
exten => 123,2,Playback(im-sorry)
exten => 123,3,Hangup()

See Also

Answer(), Busy(), Congestion()