Name
Hangup() — Unconditionally hangs up the current channel
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()
Get Asterisk: The Future of Telephony, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.