Asterisk - The Open Source Telephony Project  18.5.0
Data Fields
ast_ari_channels_hangup_args Struct Reference

#include <resource_channels.h>

Data Fields

const char * channel_id
 
const char * reason
 
const char * reason_code
 

Detailed Description

Argument struct for ast_ari_channels_hangup()

Definition at line 209 of file resource_channels.h.

Field Documentation

◆ channel_id

const char* channel_id

Channel's id

Definition at line 211 of file resource_channels.h.

Referenced by ast_ari_channels_hangup(), and ast_ari_channels_hangup_cb().

◆ reason

const char* reason

Reason for hanging up the channel for simple use. Mutually exclusive with 'reason_code'.

Definition at line 215 of file resource_channels.h.

Referenced by ast_ari_channels_hangup(), ast_ari_channels_hangup_cb(), ast_ari_channels_hangup_parse_body(), and ErrorResponse::load().

◆ reason_code

const char* reason_code

The reason code for hanging up the channel for detail use. Mutually exclusive with 'reason'. See detail hangup codes at here. https://wiki.asterisk.org/wiki/display/AST/Hangup+Cause+Mappings

Definition at line 213 of file resource_channels.h.

Referenced by ast_ari_channels_hangup(), ast_ari_channels_hangup_cb(), and ast_ari_channels_hangup_parse_body().


The documentation for this struct was generated from the following file: