Name

SET AUTOHANGUP

Synopsis

SET AUTOHANGUP time

Causes the channel to automatically be hung up once time seconds have elapsed. Of course, it can be hung up before then as well. Setting time to 0 will cause the autohangup feature to be disabled on this channel.

Return value:

0

Autohangup has been set

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.