Asterisk Manager API Action: AbsoluteTimeout
This command will request Asterisk to hangup a given channel after the specified number of seconds, thereby effectively ending the active call.
If the channel is linked with another channel (an active connected call is in progress), the other channel will continue it’s path through the dialplan (if any further steps remains).
Parameters
- Channel: Which channel to hangup, e.g. SIP/123-1c20
- Timeout : The number of seconds until the channel should hangup
Example
Request
Channel: SIP/123-1c20
Timeout: 20
Response on success
Message: Timeout Set
Response on error
Message: No such channel