Name

Hangup() — Unconditionally hangs up the current channel

Synopsis

    Hangup()

Unconditionally hangs up the current channel.

Always returns -1.

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

See Also

Answer()

Get Asterisk: The Future of Telephony 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.