Name

HANGUP

Synopsis

HANGUP [channelname]

Hangs up the specified channel or, if no channel is given, the current channel.

Return values:

-1

Specified channel does not exist

1

Hangup was successful

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.