Skip to content

Hangup

Synopsis

Raised when a channel is hung up.

Since

12.0.0

Syntax

    Event: Hangup
    Channel: <value>
    ChannelState: <value>
    ChannelStateDesc: <value>
    CallerIDNum: <value>
    CallerIDName: <value>
    ConnectedLineNum: <value>
    ConnectedLineName: <value>
    Language: <value>
    AccountCode: <value>
    Context: <value>
    Exten: <value>
    Priority: <value>
    Uniqueid: <value>
    Linkedid: <value>
    Cause: <value>
    Cause-txt: <value>
    TechCause: <value>
Arguments
  • Channel

  • ChannelState - A numeric code for the channel's current state, related to ChannelStateDesc

  • ChannelStateDesc

    • Down

    • Rsrvd

    • OffHook

    • Dialing

    • Ring

    • Ringing

    • Up

    • Busy

    • Dialing Offhook

    • Pre-ring

    • Unknown

  • CallerIDNum

  • CallerIDName

  • ConnectedLineNum

  • ConnectedLineName

  • Language

  • AccountCode

  • Context

  • Exten

  • Priority

  • Uniqueid

  • Linkedid - Uniqueid of the oldest channel associated with this channel.

  • Cause - A numeric cause code for why the channel was hung up.

  • Cause-txt - A description of why the channel was hung up.

  • TechCause - A technology-specific off-nominal numeric cause code for why the channel was hung up. Suppressed for nominally terminated calls.

Class

CALL

See Also

Generated Version

This documentation was generated from Asterisk branch 23 using version GIT