Set Autohangup

Since 0.4.0 AGI Commands Found this useful? Upvote it. ×

Autohangup channel in some time.

Last reviewed 2026-04-14

set autohangup time
Description

Cause the channel to automatically hangup at time seconds in the future. Of course it can be hungup before then as well. Setting to 0 will cause the autohangup feature to be disabled on this channel.

Arguments
  • time required
User Notes

Know a tip or gotcha for this topic? Share it below and help others.

Contribute a note

Share a tip, gotcha, or practical example. Keep it under 2000 characters. No questions (use the Asterisk community forums for support). Wrap code in backticks.

Moderated before publishing. Email never shown.