| Asterisk - The Open Source Telephony Project GIT-master-27fb039
    | 
Channel resources. More...
#include "asterisk.h"#include "asterisk/app.h"#include "asterisk/module.h"#include "asterisk/stasis_app.h"#include "ari/resource_channels.h"
Go to the source code of this file.
| Macros | |
| #define | MAX_VALS 128 | 
| Functions | |
| static void | __reg_module (void) | 
| static void | __unreg_module (void) | 
| static void | ast_ari_channels_answer_cb (struct ast_tcptls_session_instance *ser, struct ast_variable *get_params, struct ast_variable *path_vars, struct ast_variable *headers, struct ast_json *body, struct ast_ari_response *response) | 
| Parameter parsing callback for /channels/{channelId}/answer. | |
| static void | ast_ari_channels_continue_in_dialplan_cb (struct ast_tcptls_session_instance *ser, struct ast_variable *get_params, struct ast_variable *path_vars, struct ast_variable *headers, struct ast_json *body, struct ast_ari_response *response) | 
| Parameter parsing callback for /channels/{channelId}/continue. | |
| int | ast_ari_channels_continue_in_dialplan_parse_body (struct ast_json *body, struct ast_ari_channels_continue_in_dialplan_args *args) | 
| Body parsing function for /channels/{channelId}/continue. | |
| static void | ast_ari_channels_create_cb (struct ast_tcptls_session_instance *ser, struct ast_variable *get_params, struct ast_variable *path_vars, struct ast_variable *headers, struct ast_json *body, struct ast_ari_response *response) | 
| Parameter parsing callback for /channels/create. | |
| int | ast_ari_channels_create_parse_body (struct ast_json *body, struct ast_ari_channels_create_args *args) | 
| Body parsing function for /channels/create. | |
| static void | ast_ari_channels_dial_cb (struct ast_tcptls_session_instance *ser, struct ast_variable *get_params, struct ast_variable *path_vars, struct ast_variable *headers, struct ast_json *body, struct ast_ari_response *response) | 
| Parameter parsing callback for /channels/{channelId}/dial. | |
| int | ast_ari_channels_dial_parse_body (struct ast_json *body, struct ast_ari_channels_dial_args *args) | 
| Body parsing function for /channels/{channelId}/dial. | |
| static void | ast_ari_channels_external_media_cb (struct ast_tcptls_session_instance *ser, struct ast_variable *get_params, struct ast_variable *path_vars, struct ast_variable *headers, struct ast_json *body, struct ast_ari_response *response) | 
| Parameter parsing callback for /channels/externalMedia. | |
| int | ast_ari_channels_external_media_parse_body (struct ast_json *body, struct ast_ari_channels_external_media_args *args) | 
| Body parsing function for /channels/externalMedia. | |
| static void | ast_ari_channels_get_cb (struct ast_tcptls_session_instance *ser, struct ast_variable *get_params, struct ast_variable *path_vars, struct ast_variable *headers, struct ast_json *body, struct ast_ari_response *response) | 
| Parameter parsing callback for /channels/{channelId}. | |
| static void | ast_ari_channels_get_channel_var_cb (struct ast_tcptls_session_instance *ser, struct ast_variable *get_params, struct ast_variable *path_vars, struct ast_variable *headers, struct ast_json *body, struct ast_ari_response *response) | 
| Parameter parsing callback for /channels/{channelId}/variable. | |
| int | ast_ari_channels_get_channel_var_parse_body (struct ast_json *body, struct ast_ari_channels_get_channel_var_args *args) | 
| Body parsing function for /channels/{channelId}/variable. | |
| static void | ast_ari_channels_hangup_cb (struct ast_tcptls_session_instance *ser, struct ast_variable *get_params, struct ast_variable *path_vars, struct ast_variable *headers, struct ast_json *body, struct ast_ari_response *response) | 
| Parameter parsing callback for /channels/{channelId}. | |
| int | ast_ari_channels_hangup_parse_body (struct ast_json *body, struct ast_ari_channels_hangup_args *args) | 
| Body parsing function for /channels/{channelId}. | |
| static void | ast_ari_channels_hold_cb (struct ast_tcptls_session_instance *ser, struct ast_variable *get_params, struct ast_variable *path_vars, struct ast_variable *headers, struct ast_json *body, struct ast_ari_response *response) | 
| Parameter parsing callback for /channels/{channelId}/hold. | |
| static void | ast_ari_channels_list_cb (struct ast_tcptls_session_instance *ser, struct ast_variable *get_params, struct ast_variable *path_vars, struct ast_variable *headers, struct ast_json *body, struct ast_ari_response *response) | 
| Parameter parsing callback for /channels. | |
| static void | ast_ari_channels_move_cb (struct ast_tcptls_session_instance *ser, struct ast_variable *get_params, struct ast_variable *path_vars, struct ast_variable *headers, struct ast_json *body, struct ast_ari_response *response) | 
| Parameter parsing callback for /channels/{channelId}/move. | |
| int | ast_ari_channels_move_parse_body (struct ast_json *body, struct ast_ari_channels_move_args *args) | 
| Body parsing function for /channels/{channelId}/move. | |
| static void | ast_ari_channels_mute_cb (struct ast_tcptls_session_instance *ser, struct ast_variable *get_params, struct ast_variable *path_vars, struct ast_variable *headers, struct ast_json *body, struct ast_ari_response *response) | 
| Parameter parsing callback for /channels/{channelId}/mute. | |
| int | ast_ari_channels_mute_parse_body (struct ast_json *body, struct ast_ari_channels_mute_args *args) | 
| Body parsing function for /channels/{channelId}/mute. | |
| static void | ast_ari_channels_originate_cb (struct ast_tcptls_session_instance *ser, struct ast_variable *get_params, struct ast_variable *path_vars, struct ast_variable *headers, struct ast_json *body, struct ast_ari_response *response) | 
| Parameter parsing callback for /channels. | |
| int | ast_ari_channels_originate_parse_body (struct ast_json *body, struct ast_ari_channels_originate_args *args) | 
| Body parsing function for /channels. | |
| static void | ast_ari_channels_originate_with_id_cb (struct ast_tcptls_session_instance *ser, struct ast_variable *get_params, struct ast_variable *path_vars, struct ast_variable *headers, struct ast_json *body, struct ast_ari_response *response) | 
| Parameter parsing callback for /channels/{channelId}. | |
| int | ast_ari_channels_originate_with_id_parse_body (struct ast_json *body, struct ast_ari_channels_originate_with_id_args *args) | 
| Body parsing function for /channels/{channelId}. | |
| static void | ast_ari_channels_play_cb (struct ast_tcptls_session_instance *ser, struct ast_variable *get_params, struct ast_variable *path_vars, struct ast_variable *headers, struct ast_json *body, struct ast_ari_response *response) | 
| Parameter parsing callback for /channels/{channelId}/play. | |
| int | ast_ari_channels_play_parse_body (struct ast_json *body, struct ast_ari_channels_play_args *args) | 
| Body parsing function for /channels/{channelId}/play. | |
| static void | ast_ari_channels_play_with_id_cb (struct ast_tcptls_session_instance *ser, struct ast_variable *get_params, struct ast_variable *path_vars, struct ast_variable *headers, struct ast_json *body, struct ast_ari_response *response) | 
| Parameter parsing callback for /channels/{channelId}/play/{playbackId}. | |
| int | ast_ari_channels_play_with_id_parse_body (struct ast_json *body, struct ast_ari_channels_play_with_id_args *args) | 
| Body parsing function for /channels/{channelId}/play/{playbackId}. | |
| static void | ast_ari_channels_progress_cb (struct ast_tcptls_session_instance *ser, struct ast_variable *get_params, struct ast_variable *path_vars, struct ast_variable *headers, struct ast_json *body, struct ast_ari_response *response) | 
| Parameter parsing callback for /channels/{channelId}/progress. | |
| static void | ast_ari_channels_record_cb (struct ast_tcptls_session_instance *ser, struct ast_variable *get_params, struct ast_variable *path_vars, struct ast_variable *headers, struct ast_json *body, struct ast_ari_response *response) | 
| Parameter parsing callback for /channels/{channelId}/record. | |
| int | ast_ari_channels_record_parse_body (struct ast_json *body, struct ast_ari_channels_record_args *args) | 
| Body parsing function for /channels/{channelId}/record. | |
| static void | ast_ari_channels_redirect_cb (struct ast_tcptls_session_instance *ser, struct ast_variable *get_params, struct ast_variable *path_vars, struct ast_variable *headers, struct ast_json *body, struct ast_ari_response *response) | 
| Parameter parsing callback for /channels/{channelId}/redirect. | |
| int | ast_ari_channels_redirect_parse_body (struct ast_json *body, struct ast_ari_channels_redirect_args *args) | 
| Body parsing function for /channels/{channelId}/redirect. | |
| static void | ast_ari_channels_ring_cb (struct ast_tcptls_session_instance *ser, struct ast_variable *get_params, struct ast_variable *path_vars, struct ast_variable *headers, struct ast_json *body, struct ast_ari_response *response) | 
| Parameter parsing callback for /channels/{channelId}/ring. | |
| static void | ast_ari_channels_ring_stop_cb (struct ast_tcptls_session_instance *ser, struct ast_variable *get_params, struct ast_variable *path_vars, struct ast_variable *headers, struct ast_json *body, struct ast_ari_response *response) | 
| Parameter parsing callback for /channels/{channelId}/ring. | |
| static void | ast_ari_channels_rtpstatistics_cb (struct ast_tcptls_session_instance *ser, struct ast_variable *get_params, struct ast_variable *path_vars, struct ast_variable *headers, struct ast_json *body, struct ast_ari_response *response) | 
| Parameter parsing callback for /channels/{channelId}/rtp_statistics. | |
| static void | ast_ari_channels_send_dtmf_cb (struct ast_tcptls_session_instance *ser, struct ast_variable *get_params, struct ast_variable *path_vars, struct ast_variable *headers, struct ast_json *body, struct ast_ari_response *response) | 
| Parameter parsing callback for /channels/{channelId}/dtmf. | |
| int | ast_ari_channels_send_dtmf_parse_body (struct ast_json *body, struct ast_ari_channels_send_dtmf_args *args) | 
| Body parsing function for /channels/{channelId}/dtmf. | |
| static void | ast_ari_channels_set_channel_var_cb (struct ast_tcptls_session_instance *ser, struct ast_variable *get_params, struct ast_variable *path_vars, struct ast_variable *headers, struct ast_json *body, struct ast_ari_response *response) | 
| Parameter parsing callback for /channels/{channelId}/variable. | |
| int | ast_ari_channels_set_channel_var_parse_body (struct ast_json *body, struct ast_ari_channels_set_channel_var_args *args) | 
| Body parsing function for /channels/{channelId}/variable. | |
| static void | ast_ari_channels_snoop_channel_cb (struct ast_tcptls_session_instance *ser, struct ast_variable *get_params, struct ast_variable *path_vars, struct ast_variable *headers, struct ast_json *body, struct ast_ari_response *response) | 
| Parameter parsing callback for /channels/{channelId}/snoop. | |
| int | ast_ari_channels_snoop_channel_parse_body (struct ast_json *body, struct ast_ari_channels_snoop_channel_args *args) | 
| Body parsing function for /channels/{channelId}/snoop. | |
| static void | ast_ari_channels_snoop_channel_with_id_cb (struct ast_tcptls_session_instance *ser, struct ast_variable *get_params, struct ast_variable *path_vars, struct ast_variable *headers, struct ast_json *body, struct ast_ari_response *response) | 
| Parameter parsing callback for /channels/{channelId}/snoop/{snoopId}. | |
| int | ast_ari_channels_snoop_channel_with_id_parse_body (struct ast_json *body, struct ast_ari_channels_snoop_channel_with_id_args *args) | 
| Body parsing function for /channels/{channelId}/snoop/{snoopId}. | |
| static void | ast_ari_channels_start_moh_cb (struct ast_tcptls_session_instance *ser, struct ast_variable *get_params, struct ast_variable *path_vars, struct ast_variable *headers, struct ast_json *body, struct ast_ari_response *response) | 
| Parameter parsing callback for /channels/{channelId}/moh. | |
| int | ast_ari_channels_start_moh_parse_body (struct ast_json *body, struct ast_ari_channels_start_moh_args *args) | 
| Body parsing function for /channels/{channelId}/moh. | |
| static void | ast_ari_channels_start_silence_cb (struct ast_tcptls_session_instance *ser, struct ast_variable *get_params, struct ast_variable *path_vars, struct ast_variable *headers, struct ast_json *body, struct ast_ari_response *response) | 
| Parameter parsing callback for /channels/{channelId}/silence. | |
| static void | ast_ari_channels_stop_moh_cb (struct ast_tcptls_session_instance *ser, struct ast_variable *get_params, struct ast_variable *path_vars, struct ast_variable *headers, struct ast_json *body, struct ast_ari_response *response) | 
| Parameter parsing callback for /channels/{channelId}/moh. | |
| static void | ast_ari_channels_stop_silence_cb (struct ast_tcptls_session_instance *ser, struct ast_variable *get_params, struct ast_variable *path_vars, struct ast_variable *headers, struct ast_json *body, struct ast_ari_response *response) | 
| Parameter parsing callback for /channels/{channelId}/silence. | |
| static void | ast_ari_channels_transfer_progress_cb (struct ast_tcptls_session_instance *ser, struct ast_variable *get_params, struct ast_variable *path_vars, struct ast_variable *headers, struct ast_json *body, struct ast_ari_response *response) | 
| Parameter parsing callback for /channels/{channelId}/transfer_progress. | |
| int | ast_ari_channels_transfer_progress_parse_body (struct ast_json *body, struct ast_ari_channels_transfer_progress_args *args) | 
| Body parsing function for /channels/{channelId}/transfer_progress. | |
| static void | ast_ari_channels_unhold_cb (struct ast_tcptls_session_instance *ser, struct ast_variable *get_params, struct ast_variable *path_vars, struct ast_variable *headers, struct ast_json *body, struct ast_ari_response *response) | 
| Parameter parsing callback for /channels/{channelId}/hold. | |
| static void | ast_ari_channels_unmute_cb (struct ast_tcptls_session_instance *ser, struct ast_variable *get_params, struct ast_variable *path_vars, struct ast_variable *headers, struct ast_json *body, struct ast_ari_response *response) | 
| Parameter parsing callback for /channels/{channelId}/mute. | |
| int | ast_ari_channels_unmute_parse_body (struct ast_json *body, struct ast_ari_channels_unmute_args *args) | 
| Body parsing function for /channels/{channelId}/mute. | |
| struct ast_module * | AST_MODULE_SELF_SYM (void) | 
| static int | load_module (void) | 
| static int | unload_module (void) | 
| Variables | |
| static struct ast_module_info | __mod_info = { .name = AST_MODULE, .flags = AST_MODFLAG_DEFAULT , .description = "RESTful API module - Channel resources" , .key = ASTERISK_GPL_KEY , .buildopt_sum = AST_BUILDOPT_SUM, .support_level = AST_MODULE_SUPPORT_CORE, .load = load_module, .unload = unload_module, .requires = "res_ari,res_ari_model,res_stasis,res_stasis_answer,res_stasis_playback,res_stasis_recording,res_stasis_snoop", } | 
| static const struct ast_module_info * | ast_module_info = &__mod_info | 
| static struct stasis_rest_handlers | channels | 
| REST handler for /api-docs/channels.json. | |
| static struct stasis_rest_handlers | channels_channelId | 
| REST handler for /api-docs/channels.json. | |
| static struct stasis_rest_handlers | channels_channelId_answer | 
| REST handler for /api-docs/channels.json. | |
| static struct stasis_rest_handlers | channels_channelId_continue | 
| REST handler for /api-docs/channels.json. | |
| static struct stasis_rest_handlers | channels_channelId_dial | 
| REST handler for /api-docs/channels.json. | |
| static struct stasis_rest_handlers | channels_channelId_dtmf | 
| REST handler for /api-docs/channels.json. | |
| static struct stasis_rest_handlers | channels_channelId_hold | 
| REST handler for /api-docs/channels.json. | |
| static struct stasis_rest_handlers | channels_channelId_moh | 
| REST handler for /api-docs/channels.json. | |
| static struct stasis_rest_handlers | channels_channelId_move | 
| REST handler for /api-docs/channels.json. | |
| static struct stasis_rest_handlers | channels_channelId_mute | 
| REST handler for /api-docs/channels.json. | |
| static struct stasis_rest_handlers | channels_channelId_play | 
| REST handler for /api-docs/channels.json. | |
| static struct stasis_rest_handlers | channels_channelId_play_playbackId | 
| REST handler for /api-docs/channels.json. | |
| static struct stasis_rest_handlers | channels_channelId_progress | 
| REST handler for /api-docs/channels.json. | |
| static struct stasis_rest_handlers | channels_channelId_record | 
| REST handler for /api-docs/channels.json. | |
| static struct stasis_rest_handlers | channels_channelId_redirect | 
| REST handler for /api-docs/channels.json. | |
| static struct stasis_rest_handlers | channels_channelId_ring | 
| REST handler for /api-docs/channels.json. | |
| static struct stasis_rest_handlers | channels_channelId_rtp_statistics | 
| REST handler for /api-docs/channels.json. | |
| static struct stasis_rest_handlers | channels_channelId_silence | 
| REST handler for /api-docs/channels.json. | |
| static struct stasis_rest_handlers | channels_channelId_snoop | 
| REST handler for /api-docs/channels.json. | |
| static struct stasis_rest_handlers | channels_channelId_snoop_snoopId | 
| REST handler for /api-docs/channels.json. | |
| static struct stasis_rest_handlers | channels_channelId_transfer_progress | 
| REST handler for /api-docs/channels.json. | |
| static struct stasis_rest_handlers | channels_channelId_variable | 
| REST handler for /api-docs/channels.json. | |
| static struct stasis_rest_handlers | channels_create | 
| REST handler for /api-docs/channels.json. | |
| static struct stasis_rest_handlers | channels_externalMedia | 
| REST handler for /api-docs/channels.json. | |
Channel resources.
Definition in file res_ari_channels.c.
| #define MAX_VALS 128 | 
Definition at line 55 of file res_ari_channels.c.
| 
 | static | 
Definition at line 3408 of file res_ari_channels.c.
| 
 | static | 
Definition at line 3408 of file res_ari_channels.c.
| 
 | static | 
Parameter parsing callback for /channels/{channelId}/answer.
| ser | TCP/TLS session object | |
| get_params | GET parameters in the HTTP request. | |
| path_vars | Path variables extracted from the request. | |
| headers | HTTP headers. | |
| body | ||
| [out] | response | Response to the HTTP request. | 
Definition at line 986 of file res_ari_channels.c.
References args, ast_ari_channels_answer(), ast_ari_response_error(), ast_ari_validate_void(), ast_log, LOG_ERROR, ast_ari_response::message, ast_variable::name, ast_variable::next, NULL, ast_ari_response::response_code, and ast_variable::value.
| 
 | static | 
Parameter parsing callback for /channels/{channelId}/continue.
| ser | TCP/TLS session object | |
| get_params | GET parameters in the HTTP request. | |
| path_vars | Path variables extracted from the request. | |
| headers | HTTP headers. | |
| body | ||
| [out] | response | Response to the HTTP request. | 
Definition at line 727 of file res_ari_channels.c.
References args, ast_ari_channels_continue_in_dialplan(), ast_ari_channels_continue_in_dialplan_parse_body(), ast_ari_response_alloc_failed(), ast_ari_response_error(), ast_ari_validate_void(), ast_log, LOG_ERROR, ast_ari_response::message, ast_variable::name, ast_variable::next, NULL, ast_ari_response::response_code, and ast_variable::value.
| int ast_ari_channels_continue_in_dialplan_parse_body | ( | struct ast_json * | body, | 
| struct ast_ari_channels_continue_in_dialplan_args * | args | ||
| ) | 
Body parsing function for /channels/{channelId}/continue.
| body | The JSON body from which to parse parameters. | |
| [out] | args | The args structure to parse into. | 
| zero | on success | 
| non-zero | on failure | 
Definition at line 693 of file res_ari_channels.c.
References args, ast_json_integer_get(), ast_json_object_get(), and ast_json_string_get().
Referenced by ast_ari_channels_continue_in_dialplan_cb().
| 
 | static | 
Parameter parsing callback for /channels/create.
| ser | TCP/TLS session object | |
| get_params | GET parameters in the HTTP request. | |
| path_vars | Path variables extracted from the request. | |
| headers | HTTP headers. | |
| body | ||
| [out] | response | Response to the HTTP request. | 
Definition at line 314 of file res_ari_channels.c.
References args, ast_ari_channels_create(), ast_ari_response_error(), ast_ari_validate_channel(), ast_log, LOG_ERROR, ast_ari_response::message, ast_variable::name, ast_variable::next, NULL, ast_ari_response::response_code, and ast_variable::value.
| int ast_ari_channels_create_parse_body | ( | struct ast_json * | body, | 
| struct ast_ari_channels_create_args * | args | ||
| ) | 
Body parsing function for /channels/create.
| body | The JSON body from which to parse parameters. | |
| [out] | args | The args structure to parse into. | 
| zero | on success | 
| non-zero | on failure | 
Definition at line 268 of file res_ari_channels.c.
References args, ast_json_object_get(), and ast_json_string_get().
Referenced by ast_ari_channels_create().
| 
 | static | 
Parameter parsing callback for /channels/{channelId}/dial.
| ser | TCP/TLS session object | |
| get_params | GET parameters in the HTTP request. | |
| path_vars | Path variables extracted from the request. | |
| headers | HTTP headers. | |
| body | ||
| [out] | response | Response to the HTTP request. | 
Definition at line 2811 of file res_ari_channels.c.
References args, ast_ari_channels_dial(), ast_ari_channels_dial_parse_body(), ast_ari_response_alloc_failed(), ast_ari_response_error(), ast_ari_validate_void(), ast_log, LOG_ERROR, ast_ari_response::message, ast_variable::name, ast_variable::next, NULL, ast_ari_response::response_code, and ast_variable::value.
| int ast_ari_channels_dial_parse_body | ( | struct ast_json * | body, | 
| struct ast_ari_channels_dial_args * | args | ||
| ) | 
Body parsing function for /channels/{channelId}/dial.
| body | The JSON body from which to parse parameters. | |
| [out] | args | The args structure to parse into. | 
| zero | on success | 
| non-zero | on failure | 
Definition at line 2785 of file res_ari_channels.c.
References args, ast_json_integer_get(), ast_json_object_get(), and ast_json_string_get().
Referenced by ast_ari_channels_dial_cb().
| 
 | static | 
Parameter parsing callback for /channels/externalMedia.
| ser | TCP/TLS session object | |
| get_params | GET parameters in the HTTP request. | |
| path_vars | Path variables extracted from the request. | |
| headers | HTTP headers. | |
| body | ||
| [out] | response | Response to the HTTP request. | 
Definition at line 2990 of file res_ari_channels.c.
References args, ast_ari_channels_external_media(), ast_ari_response_error(), ast_ari_validate_channel(), ast_log, LOG_ERROR, ast_ari_response::message, ast_variable::name, ast_variable::next, NULL, ast_ari_response::response_code, and ast_variable::value.
| int ast_ari_channels_external_media_parse_body | ( | struct ast_json * | body, | 
| struct ast_ari_channels_external_media_args * | args | ||
| ) | 
Body parsing function for /channels/externalMedia.
| body | The JSON body from which to parse parameters. | |
| [out] | args | The args structure to parse into. | 
| zero | on success | 
| non-zero | on failure | 
Definition at line 2936 of file res_ari_channels.c.
References args, ast_json_object_get(), and ast_json_string_get().
Referenced by ast_ari_channels_external_media().
| 
 | static | 
Parameter parsing callback for /channels/{channelId}.
| ser | TCP/TLS session object | |
| get_params | GET parameters in the HTTP request. | |
| path_vars | Path variables extracted from the request. | |
| headers | HTTP headers. | |
| body | ||
| [out] | response | Response to the HTTP request. | 
Definition at line 393 of file res_ari_channels.c.
References args, ast_ari_channels_get(), ast_ari_response_error(), ast_ari_validate_channel(), ast_log, LOG_ERROR, ast_ari_response::message, ast_variable::name, ast_variable::next, NULL, ast_ari_response::response_code, and ast_variable::value.
| 
 | static | 
Parameter parsing callback for /channels/{channelId}/variable.
| ser | TCP/TLS session object | |
| get_params | GET parameters in the HTTP request. | |
| path_vars | Path variables extracted from the request. | |
| headers | HTTP headers. | |
| body | ||
| [out] | response | Response to the HTTP request. | 
Definition at line 2410 of file res_ari_channels.c.
References args, ast_ari_channels_get_channel_var(), ast_ari_channels_get_channel_var_parse_body(), ast_ari_response_alloc_failed(), ast_ari_response_error(), ast_ari_validate_variable(), ast_log, LOG_ERROR, ast_ari_response::message, ast_variable::name, ast_variable::next, NULL, ast_ari_response::response_code, and ast_variable::value.
| int ast_ari_channels_get_channel_var_parse_body | ( | struct ast_json * | body, | 
| struct ast_ari_channels_get_channel_var_args * | args | ||
| ) | 
Body parsing function for /channels/{channelId}/variable.
| body | The JSON body from which to parse parameters. | |
| [out] | args | The args structure to parse into. | 
| zero | on success | 
| non-zero | on failure | 
Definition at line 2388 of file res_ari_channels.c.
References args, ast_json_object_get(), and ast_json_string_get().
Referenced by ast_ari_channels_get_channel_var_cb().
| 
 | static | 
Parameter parsing callback for /channels/{channelId}.
| ser | TCP/TLS session object | |
| get_params | GET parameters in the HTTP request. | |
| path_vars | Path variables extracted from the request. | |
| headers | HTTP headers. | |
| body | ||
| [out] | response | Response to the HTTP request. | 
Definition at line 628 of file res_ari_channels.c.
References args, ast_ari_channels_hangup(), ast_ari_channels_hangup_parse_body(), ast_ari_response_alloc_failed(), ast_ari_response_error(), ast_ari_validate_void(), ast_log, LOG_ERROR, ast_ari_response::message, ast_variable::name, ast_variable::next, NULL, ast_ari_response::response_code, and ast_variable::value.
| int ast_ari_channels_hangup_parse_body | ( | struct ast_json * | body, | 
| struct ast_ari_channels_hangup_args * | args | ||
| ) | 
Body parsing function for /channels/{channelId}.
| body | The JSON body from which to parse parameters. | |
| [out] | args | The args structure to parse into. | 
| zero | on success | 
| non-zero | on failure | 
Definition at line 602 of file res_ari_channels.c.
References args, ast_json_object_get(), and ast_json_string_get().
Referenced by ast_ari_channels_hangup_cb().
| 
 | static | 
Parameter parsing callback for /channels/{channelId}/hold.
| ser | TCP/TLS session object | |
| get_params | GET parameters in the HTTP request. | |
| path_vars | Path variables extracted from the request. | |
| headers | HTTP headers. | |
| body | ||
| [out] | response | Response to the HTTP request. | 
Definition at line 1518 of file res_ari_channels.c.
References args, ast_ari_channels_hold(), ast_ari_response_error(), ast_ari_validate_void(), ast_log, LOG_ERROR, ast_ari_response::message, ast_variable::name, ast_variable::next, NULL, ast_ari_response::response_code, and ast_variable::value.
| 
 | static | 
Parameter parsing callback for /channels.
| ser | TCP/TLS session object | |
| get_params | GET parameters in the HTTP request. | |
| path_vars | Path variables extracted from the request. | |
| headers | HTTP headers. | |
| body | ||
| [out] | response | Response to the HTTP request. | 
Definition at line 66 of file res_ari_channels.c.
References args, ast_ari_channels_list(), ast_ari_response_error(), ast_ari_validate_channel_fn(), ast_ari_validate_list(), ast_log, LOG_ERROR, ast_ari_response::message, NULL, and ast_ari_response::response_code.
| 
 | static | 
Parameter parsing callback for /channels/{channelId}/move.
| ser | TCP/TLS session object | |
| get_params | GET parameters in the HTTP request. | |
| path_vars | Path variables extracted from the request. | |
| headers | HTTP headers. | |
| body | ||
| [out] | response | Response to the HTTP request. | 
Definition at line 825 of file res_ari_channels.c.
References args, ast_ari_channels_move(), ast_ari_channels_move_parse_body(), ast_ari_response_alloc_failed(), ast_ari_response_error(), ast_ari_validate_void(), ast_log, LOG_ERROR, ast_ari_response::message, ast_variable::name, ast_variable::next, NULL, ast_ari_response::response_code, and ast_variable::value.
| int ast_ari_channels_move_parse_body | ( | struct ast_json * | body, | 
| struct ast_ari_channels_move_args * | args | ||
| ) | 
Body parsing function for /channels/{channelId}/move.
| body | The JSON body from which to parse parameters. | |
| [out] | args | The args structure to parse into. | 
| zero | on success | 
| non-zero | on failure | 
Definition at line 799 of file res_ari_channels.c.
References args, ast_json_object_get(), and ast_json_string_get().
Referenced by ast_ari_channels_move_cb().
| 
 | static | 
Parameter parsing callback for /channels/{channelId}/mute.
| ser | TCP/TLS session object | |
| get_params | GET parameters in the HTTP request. | |
| path_vars | Path variables extracted from the request. | |
| headers | HTTP headers. | |
| body | ||
| [out] | response | Response to the HTTP request. | 
Definition at line 1361 of file res_ari_channels.c.
References args, ast_ari_channels_mute(), ast_ari_channels_mute_parse_body(), ast_ari_response_alloc_failed(), ast_ari_response_error(), ast_ari_validate_void(), ast_log, LOG_ERROR, ast_ari_response::message, ast_variable::name, ast_variable::next, NULL, ast_ari_response::response_code, and ast_variable::value.
| int ast_ari_channels_mute_parse_body | ( | struct ast_json * | body, | 
| struct ast_ari_channels_mute_args * | args | ||
| ) | 
Body parsing function for /channels/{channelId}/mute.
| body | The JSON body from which to parse parameters. | |
| [out] | args | The args structure to parse into. | 
| zero | on success | 
| non-zero | on failure | 
Definition at line 1339 of file res_ari_channels.c.
References args, ast_json_object_get(), and ast_json_string_get().
Referenced by ast_ari_channels_mute_cb().
| 
 | static | 
Parameter parsing callback for /channels.
| ser | TCP/TLS session object | |
| get_params | GET parameters in the HTTP request. | |
| path_vars | Path variables extracted from the request. | |
| headers | HTTP headers. | |
| body | ||
| [out] | response | Response to the HTTP request. | 
Definition at line 179 of file res_ari_channels.c.
References args, ast_ari_channels_originate(), ast_ari_response_error(), ast_ari_validate_channel(), ast_log, LOG_ERROR, ast_ari_response::message, ast_variable::name, ast_variable::next, NULL, ast_ari_response::response_code, and ast_variable::value.
| int ast_ari_channels_originate_parse_body | ( | struct ast_json * | body, | 
| struct ast_ari_channels_originate_args * | args | ||
| ) | 
Body parsing function for /channels.
| body | The JSON body from which to parse parameters. | |
| [out] | args | The args structure to parse into. | 
| zero | on success | 
| non-zero | on failure | 
Definition at line 109 of file res_ari_channels.c.
References args, ast_json_integer_get(), ast_json_object_get(), and ast_json_string_get().
Referenced by ast_ari_channels_originate().
| 
 | static | 
Parameter parsing callback for /channels/{channelId}.
| ser | TCP/TLS session object | |
| get_params | GET parameters in the HTTP request. | |
| path_vars | Path variables extracted from the request. | |
| headers | HTTP headers. | |
| body | ||
| [out] | response | Response to the HTTP request. | 
Definition at line 510 of file res_ari_channels.c.
References args, ast_ari_channels_originate_with_id(), ast_ari_response_error(), ast_ari_validate_channel(), ast_log, LOG_ERROR, ast_ari_response::message, ast_variable::name, ast_variable::next, NULL, ast_ari_response::response_code, and ast_variable::value.
| int ast_ari_channels_originate_with_id_parse_body | ( | struct ast_json * | body, | 
| struct ast_ari_channels_originate_with_id_args * | args | ||
| ) | 
Body parsing function for /channels/{channelId}.
| body | The JSON body from which to parse parameters. | |
| [out] | args | The args structure to parse into. | 
| zero | on success | 
| non-zero | on failure | 
Definition at line 444 of file res_ari_channels.c.
References args, ast_json_integer_get(), ast_json_object_get(), and ast_json_string_get().
Referenced by ast_ari_channels_originate_with_id().
| 
 | static | 
Parameter parsing callback for /channels/{channelId}/play.
| ser | TCP/TLS session object | |
| get_params | GET parameters in the HTTP request. | |
| path_vars | Path variables extracted from the request. | |
| headers | HTTP headers. | |
| body | ||
| [out] | response | Response to the HTTP request. | 
Definition at line 1967 of file res_ari_channels.c.
References args, ARRAY_LEN, ast_app_separate_args, ast_ari_channels_play(), ast_ari_channels_play_parse_body(), ast_ari_response_alloc_failed(), ast_ari_response_error(), ast_ari_validate_playback(), ast_free, ast_log, ast_malloc, ast_strdup, LOG_ERROR, MAX_VALS, ast_ari_response::message, ast_variable::name, ast_variable::next, NULL, ast_ari_response::response_code, and ast_variable::value.
| int ast_ari_channels_play_parse_body | ( | struct ast_json * | body, | 
| struct ast_ari_channels_play_args * | args | ||
| ) | 
Body parsing function for /channels/{channelId}/play.
| body | The JSON body from which to parse parameters. | |
| [out] | args | The args structure to parse into. | 
| zero | on success | 
| non-zero | on failure | 
Definition at line 1904 of file res_ari_channels.c.
References args, ast_free, AST_JSON_ARRAY, ast_json_array_get(), ast_json_array_size(), ast_json_integer_get(), ast_json_object_get(), ast_json_string_get(), ast_json_typeof(), and ast_malloc.
Referenced by ast_ari_channels_play_cb().
| 
 | static | 
Parameter parsing callback for /channels/{channelId}/play/{playbackId}.
| ser | TCP/TLS session object | |
| get_params | GET parameters in the HTTP request. | |
| path_vars | Path variables extracted from the request. | |
| headers | HTTP headers. | |
| body | ||
| [out] | response | Response to the HTTP request. | 
Definition at line 2143 of file res_ari_channels.c.
References args, ARRAY_LEN, ast_app_separate_args, ast_ari_channels_play_with_id(), ast_ari_channels_play_with_id_parse_body(), ast_ari_response_alloc_failed(), ast_ari_response_error(), ast_ari_validate_playback(), ast_free, ast_log, ast_malloc, ast_strdup, LOG_ERROR, MAX_VALS, ast_ari_response::message, ast_variable::name, ast_variable::next, NULL, ast_ari_response::response_code, and ast_variable::value.
| int ast_ari_channels_play_with_id_parse_body | ( | struct ast_json * | body, | 
| struct ast_ari_channels_play_with_id_args * | args | ||
| ) | 
Body parsing function for /channels/{channelId}/play/{playbackId}.
| body | The JSON body from which to parse parameters. | |
| [out] | args | The args structure to parse into. | 
| zero | on success | 
| non-zero | on failure | 
Definition at line 2084 of file res_ari_channels.c.
References args, ast_free, AST_JSON_ARRAY, ast_json_array_get(), ast_json_array_size(), ast_json_integer_get(), ast_json_object_get(), ast_json_string_get(), ast_json_typeof(), and ast_malloc.
Referenced by ast_ari_channels_play_with_id_cb().
| 
 | static | 
Parameter parsing callback for /channels/{channelId}/progress.
| ser | TCP/TLS session object | |
| get_params | GET parameters in the HTTP request. | |
| path_vars | Path variables extracted from the request. | |
| headers | HTTP headers. | |
| body | ||
| [out] | response | Response to the HTTP request. | 
Definition at line 1172 of file res_ari_channels.c.
References args, ast_ari_channels_progress(), ast_ari_response_error(), ast_ari_validate_void(), ast_log, LOG_ERROR, ast_ari_response::message, ast_variable::name, ast_variable::next, NULL, ast_ari_response::response_code, and ast_variable::value.
| 
 | static | 
Parameter parsing callback for /channels/{channelId}/record.
| ser | TCP/TLS session object | |
| get_params | GET parameters in the HTTP request. | |
| path_vars | Path variables extracted from the request. | |
| headers | HTTP headers. | |
| body | ||
| [out] | response | Response to the HTTP request. | 
Definition at line 2306 of file res_ari_channels.c.
References args, ast_ari_channels_record(), ast_ari_channels_record_parse_body(), ast_ari_response_alloc_failed(), ast_ari_response_error(), ast_ari_validate_live_recording(), ast_log, ast_true(), LOG_ERROR, ast_ari_response::message, ast_variable::name, ast_variable::next, NULL, ast_ari_response::response_code, and ast_variable::value.
| int ast_ari_channels_record_parse_body | ( | struct ast_json * | body, | 
| struct ast_ari_channels_record_args * | args | ||
| ) | 
Body parsing function for /channels/{channelId}/record.
| body | The JSON body from which to parse parameters. | |
| [out] | args | The args structure to parse into. | 
| zero | on success | 
| non-zero | on failure | 
Definition at line 2260 of file res_ari_channels.c.
References args, ast_json_integer_get(), ast_json_is_true(), ast_json_object_get(), and ast_json_string_get().
Referenced by ast_ari_channels_record_cb().
| 
 | static | 
Parameter parsing callback for /channels/{channelId}/redirect.
| ser | TCP/TLS session object | |
| get_params | GET parameters in the HTTP request. | |
| path_vars | Path variables extracted from the request. | |
| headers | HTTP headers. | |
| body | ||
| [out] | response | Response to the HTTP request. | 
Definition at line 912 of file res_ari_channels.c.
References args, ast_ari_channels_redirect(), ast_ari_channels_redirect_parse_body(), ast_ari_response_alloc_failed(), ast_ari_response_error(), ast_ari_validate_void(), ast_log, LOG_ERROR, ast_ari_response::message, ast_variable::name, ast_variable::next, NULL, ast_ari_response::response_code, and ast_variable::value.
| int ast_ari_channels_redirect_parse_body | ( | struct ast_json * | body, | 
| struct ast_ari_channels_redirect_args * | args | ||
| ) | 
Body parsing function for /channels/{channelId}/redirect.
| body | The JSON body from which to parse parameters. | |
| [out] | args | The args structure to parse into. | 
| zero | on success | 
| non-zero | on failure | 
Definition at line 890 of file res_ari_channels.c.
References args, ast_json_object_get(), and ast_json_string_get().
Referenced by ast_ari_channels_redirect_cb().
| 
 | static | 
Parameter parsing callback for /channels/{channelId}/ring.
| ser | TCP/TLS session object | |
| get_params | GET parameters in the HTTP request. | |
| path_vars | Path variables extracted from the request. | |
| headers | HTTP headers. | |
| body | ||
| [out] | response | Response to the HTTP request. | 
Definition at line 1048 of file res_ari_channels.c.
References args, ast_ari_channels_ring(), ast_ari_response_error(), ast_ari_validate_void(), ast_log, LOG_ERROR, ast_ari_response::message, ast_variable::name, ast_variable::next, NULL, ast_ari_response::response_code, and ast_variable::value.
| 
 | static | 
Parameter parsing callback for /channels/{channelId}/ring.
| ser | TCP/TLS session object | |
| get_params | GET parameters in the HTTP request. | |
| path_vars | Path variables extracted from the request. | |
| headers | HTTP headers. | |
| body | ||
| [out] | response | Response to the HTTP request. | 
Definition at line 1110 of file res_ari_channels.c.
References args, ast_ari_channels_ring_stop(), ast_ari_response_error(), ast_ari_validate_void(), ast_log, LOG_ERROR, ast_ari_response::message, ast_variable::name, ast_variable::next, NULL, ast_ari_response::response_code, and ast_variable::value.
| 
 | static | 
Parameter parsing callback for /channels/{channelId}/rtp_statistics.
| ser | TCP/TLS session object | |
| get_params | GET parameters in the HTTP request. | |
| path_vars | Path variables extracted from the request. | |
| headers | HTTP headers. | |
| body | ||
| [out] | response | Response to the HTTP request. | 
Definition at line 2885 of file res_ari_channels.c.
References args, ast_ari_channels_rtpstatistics(), ast_ari_response_error(), ast_ari_validate_rtpstat(), ast_log, LOG_ERROR, ast_ari_response::message, ast_variable::name, ast_variable::next, NULL, ast_ari_response::response_code, and ast_variable::value.
| 
 | static | 
Parameter parsing callback for /channels/{channelId}/dtmf.
| ser | TCP/TLS session object | |
| get_params | GET parameters in the HTTP request. | |
| path_vars | Path variables extracted from the request. | |
| headers | HTTP headers. | |
| body | ||
| [out] | response | Response to the HTTP request. | 
Definition at line 1263 of file res_ari_channels.c.
References args, ast_ari_channels_send_dtmf(), ast_ari_channels_send_dtmf_parse_body(), ast_ari_response_alloc_failed(), ast_ari_response_error(), ast_ari_validate_void(), ast_log, LOG_ERROR, ast_ari_response::message, ast_variable::name, ast_variable::next, NULL, ast_ari_response::response_code, and ast_variable::value.
| int ast_ari_channels_send_dtmf_parse_body | ( | struct ast_json * | body, | 
| struct ast_ari_channels_send_dtmf_args * | args | ||
| ) | 
Body parsing function for /channels/{channelId}/dtmf.
| body | The JSON body from which to parse parameters. | |
| [out] | args | The args structure to parse into. | 
| zero | on success | 
| non-zero | on failure | 
Definition at line 1225 of file res_ari_channels.c.
References args, ast_json_integer_get(), ast_json_object_get(), and ast_json_string_get().
Referenced by ast_ari_channels_send_dtmf_cb().
| 
 | static | 
Parameter parsing callback for /channels/{channelId}/variable.
| ser | TCP/TLS session object | |
| get_params | GET parameters in the HTTP request. | |
| path_vars | Path variables extracted from the request. | |
| headers | HTTP headers. | |
| body | ||
| [out] | response | Response to the HTTP request. | 
Definition at line 2499 of file res_ari_channels.c.
References args, ast_ari_channels_set_channel_var(), ast_ari_channels_set_channel_var_parse_body(), ast_ari_response_alloc_failed(), ast_ari_response_error(), ast_ari_validate_void(), ast_log, LOG_ERROR, ast_ari_response::message, ast_variable::name, ast_variable::next, NULL, ast_ari_response::response_code, and ast_variable::value.
| int ast_ari_channels_set_channel_var_parse_body | ( | struct ast_json * | body, | 
| struct ast_ari_channels_set_channel_var_args * | args | ||
| ) | 
Body parsing function for /channels/{channelId}/variable.
| body | The JSON body from which to parse parameters. | |
| [out] | args | The args structure to parse into. | 
| zero | on success | 
| non-zero | on failure | 
Definition at line 2473 of file res_ari_channels.c.
References args, ast_json_object_get(), and ast_json_string_get().
Referenced by ast_ari_channels_set_channel_var_cb().
| 
 | static | 
Parameter parsing callback for /channels/{channelId}/snoop.
| ser | TCP/TLS session object | |
| get_params | GET parameters in the HTTP request. | |
| path_vars | Path variables extracted from the request. | |
| headers | HTTP headers. | |
| body | ||
| [out] | response | Response to the HTTP request. | 
Definition at line 2603 of file res_ari_channels.c.
References args, ast_ari_channels_snoop_channel(), ast_ari_channels_snoop_channel_parse_body(), ast_ari_response_alloc_failed(), ast_ari_response_error(), ast_ari_validate_channel(), ast_log, LOG_ERROR, ast_ari_response::message, ast_variable::name, ast_variable::next, NULL, ast_ari_response::response_code, and ast_variable::value.
| int ast_ari_channels_snoop_channel_parse_body | ( | struct ast_json * | body, | 
| struct ast_ari_channels_snoop_channel_args * | args | ||
| ) | 
Body parsing function for /channels/{channelId}/snoop.
| body | The JSON body from which to parse parameters. | |
| [out] | args | The args structure to parse into. | 
| zero | on success | 
| non-zero | on failure | 
Definition at line 2565 of file res_ari_channels.c.
References args, ast_json_object_get(), and ast_json_string_get().
Referenced by ast_ari_channels_snoop_channel_cb().
| 
 | static | 
Parameter parsing callback for /channels/{channelId}/snoop/{snoopId}.
| ser | TCP/TLS session object | |
| get_params | GET parameters in the HTTP request. | |
| path_vars | Path variables extracted from the request. | |
| headers | HTTP headers. | |
| body | ||
| [out] | response | Response to the HTTP request. | 
Definition at line 2711 of file res_ari_channels.c.
References args, ast_ari_channels_snoop_channel_with_id(), ast_ari_channels_snoop_channel_with_id_parse_body(), ast_ari_response_alloc_failed(), ast_ari_response_error(), ast_ari_validate_channel(), ast_log, LOG_ERROR, ast_ari_response::message, ast_variable::name, ast_variable::next, NULL, ast_ari_response::response_code, and ast_variable::value.
| int ast_ari_channels_snoop_channel_with_id_parse_body | ( | struct ast_json * | body, | 
| struct ast_ari_channels_snoop_channel_with_id_args * | args | ||
| ) | 
Body parsing function for /channels/{channelId}/snoop/{snoopId}.
| body | The JSON body from which to parse parameters. | |
| [out] | args | The args structure to parse into. | 
| zero | on success | 
| non-zero | on failure | 
Definition at line 2677 of file res_ari_channels.c.
References args, ast_json_object_get(), and ast_json_string_get().
Referenced by ast_ari_channels_snoop_channel_with_id_cb().
| 
 | static | 
Parameter parsing callback for /channels/{channelId}/moh.
| ser | TCP/TLS session object | |
| get_params | GET parameters in the HTTP request. | |
| path_vars | Path variables extracted from the request. | |
| headers | HTTP headers. | |
| body | ||
| [out] | response | Response to the HTTP request. | 
Definition at line 1655 of file res_ari_channels.c.
References args, ast_ari_channels_start_moh(), ast_ari_channels_start_moh_parse_body(), ast_ari_response_alloc_failed(), ast_ari_response_error(), ast_ari_validate_void(), ast_log, LOG_ERROR, ast_ari_response::message, ast_variable::name, ast_variable::next, NULL, ast_ari_response::response_code, and ast_variable::value.
| int ast_ari_channels_start_moh_parse_body | ( | struct ast_json * | body, | 
| struct ast_ari_channels_start_moh_args * | args | ||
| ) | 
Body parsing function for /channels/{channelId}/moh.
| body | The JSON body from which to parse parameters. | |
| [out] | args | The args structure to parse into. | 
| zero | on success | 
| non-zero | on failure | 
Definition at line 1633 of file res_ari_channels.c.
References args, ast_json_object_get(), and ast_json_string_get().
Referenced by ast_ari_channels_start_moh_cb().
| 
 | static | 
Parameter parsing callback for /channels/{channelId}/silence.
| ser | TCP/TLS session object | |
| get_params | GET parameters in the HTTP request. | |
| path_vars | Path variables extracted from the request. | |
| headers | HTTP headers. | |
| body | ||
| [out] | response | Response to the HTTP request. | 
Definition at line 1789 of file res_ari_channels.c.
References args, ast_ari_channels_start_silence(), ast_ari_response_error(), ast_ari_validate_void(), ast_log, LOG_ERROR, ast_ari_response::message, ast_variable::name, ast_variable::next, NULL, ast_ari_response::response_code, and ast_variable::value.
| 
 | static | 
Parameter parsing callback for /channels/{channelId}/moh.
| ser | TCP/TLS session object | |
| get_params | GET parameters in the HTTP request. | |
| path_vars | Path variables extracted from the request. | |
| headers | HTTP headers. | |
| body | ||
| [out] | response | Response to the HTTP request. | 
Definition at line 1727 of file res_ari_channels.c.
References args, ast_ari_channels_stop_moh(), ast_ari_response_error(), ast_ari_validate_void(), ast_log, LOG_ERROR, ast_ari_response::message, ast_variable::name, ast_variable::next, NULL, ast_ari_response::response_code, and ast_variable::value.
| 
 | static | 
Parameter parsing callback for /channels/{channelId}/silence.
| ser | TCP/TLS session object | |
| get_params | GET parameters in the HTTP request. | |
| path_vars | Path variables extracted from the request. | |
| headers | HTTP headers. | |
| body | ||
| [out] | response | Response to the HTTP request. | 
Definition at line 1851 of file res_ari_channels.c.
References args, ast_ari_channels_stop_silence(), ast_ari_response_error(), ast_ari_validate_void(), ast_log, LOG_ERROR, ast_ari_response::message, ast_variable::name, ast_variable::next, NULL, ast_ari_response::response_code, and ast_variable::value.
| 
 | static | 
Parameter parsing callback for /channels/{channelId}/transfer_progress.
| ser | TCP/TLS session object | |
| get_params | GET parameters in the HTTP request. | |
| path_vars | Path variables extracted from the request. | |
| headers | HTTP headers. | |
| body | ||
| [out] | response | Response to the HTTP request. | 
Definition at line 3089 of file res_ari_channels.c.
References args, ast_ari_channels_transfer_progress(), ast_ari_channels_transfer_progress_parse_body(), ast_ari_response_alloc_failed(), ast_ari_response_error(), ast_ari_validate_void(), ast_log, LOG_ERROR, ast_ari_response::message, ast_variable::name, ast_variable::next, NULL, ast_ari_response::response_code, and ast_variable::value.
| int ast_ari_channels_transfer_progress_parse_body | ( | struct ast_json * | body, | 
| struct ast_ari_channels_transfer_progress_args * | args | ||
| ) | 
Body parsing function for /channels/{channelId}/transfer_progress.
| body | The JSON body from which to parse parameters. | |
| [out] | args | The args structure to parse into. | 
| zero | on success | 
| non-zero | on failure | 
Definition at line 3067 of file res_ari_channels.c.
References args, ast_json_object_get(), and ast_json_string_get().
Referenced by ast_ari_channels_transfer_progress_cb().
| 
 | static | 
Parameter parsing callback for /channels/{channelId}/hold.
| ser | TCP/TLS session object | |
| get_params | GET parameters in the HTTP request. | |
| path_vars | Path variables extracted from the request. | |
| headers | HTTP headers. | |
| body | ||
| [out] | response | Response to the HTTP request. | 
Definition at line 1580 of file res_ari_channels.c.
References args, ast_ari_channels_unhold(), ast_ari_response_error(), ast_ari_validate_void(), ast_log, LOG_ERROR, ast_ari_response::message, ast_variable::name, ast_variable::next, NULL, ast_ari_response::response_code, and ast_variable::value.
| 
 | static | 
Parameter parsing callback for /channels/{channelId}/mute.
| ser | TCP/TLS session object | |
| get_params | GET parameters in the HTTP request. | |
| path_vars | Path variables extracted from the request. | |
| headers | HTTP headers. | |
| body | ||
| [out] | response | Response to the HTTP request. | 
Definition at line 1446 of file res_ari_channels.c.
References args, ast_ari_channels_unmute(), ast_ari_channels_unmute_parse_body(), ast_ari_response_alloc_failed(), ast_ari_response_error(), ast_ari_validate_void(), ast_log, LOG_ERROR, ast_ari_response::message, ast_variable::name, ast_variable::next, NULL, ast_ari_response::response_code, and ast_variable::value.
| int ast_ari_channels_unmute_parse_body | ( | struct ast_json * | body, | 
| struct ast_ari_channels_unmute_args * | args | ||
| ) | 
Body parsing function for /channels/{channelId}/mute.
| body | The JSON body from which to parse parameters. | |
| [out] | args | The args structure to parse into. | 
| zero | on success | 
| non-zero | on failure | 
Definition at line 1424 of file res_ari_channels.c.
References args, ast_json_object_get(), and ast_json_string_get().
Referenced by ast_ari_channels_unmute_cb().
| struct ast_module * AST_MODULE_SELF_SYM | ( | void | ) | 
Definition at line 3408 of file res_ari_channels.c.
| 
 | static | 
Definition at line 3389 of file res_ari_channels.c.
References ast_ari_add_handler(), AST_MODULE_LOAD_DECLINE, AST_MODULE_LOAD_SUCCESS, channels, and unload_module().
| 
 | static | 
Definition at line 3383 of file res_ari_channels.c.
References ast_ari_remove_handler(), and channels.
Referenced by load_module().
| 
 | static | 
Definition at line 3408 of file res_ari_channels.c.
| 
 | static | 
Definition at line 3408 of file res_ari_channels.c.
| 
 | static | 
REST handler for /api-docs/channels.json.
Definition at line 3373 of file res_ari_channels.c.
Referenced by load_module(), and unload_module().
| 
 | static | 
REST handler for /api-docs/channels.json.
Definition at line 3352 of file res_ari_channels.c.
| 
 | static | 
REST handler for /api-docs/channels.json.
Definition at line 3191 of file res_ari_channels.c.
| 
 | static | 
REST handler for /api-docs/channels.json.
Definition at line 3164 of file res_ari_channels.c.
| 
 | static | 
REST handler for /api-docs/channels.json.
Definition at line 3325 of file res_ari_channels.c.
| 
 | static | 
REST handler for /api-docs/channels.json.
Definition at line 3219 of file res_ari_channels.c.
| 
 | static | 
REST handler for /api-docs/channels.json.
Definition at line 3238 of file res_ari_channels.c.
| 
 | static | 
REST handler for /api-docs/channels.json.
Definition at line 3248 of file res_ari_channels.c.
| 
 | static | 
REST handler for /api-docs/channels.json.
Definition at line 3173 of file res_ari_channels.c.
| 
 | static | 
REST handler for /api-docs/channels.json.
Definition at line 3228 of file res_ari_channels.c.
| 
 | static | 
REST handler for /api-docs/channels.json.
Definition at line 3278 of file res_ari_channels.c.
| 
 | static | 
REST handler for /api-docs/channels.json.
Definition at line 3268 of file res_ari_channels.c.
| 
 | static | 
REST handler for /api-docs/channels.json.
Definition at line 3210 of file res_ari_channels.c.
| 
 | static | 
REST handler for /api-docs/channels.json.
Definition at line 3287 of file res_ari_channels.c.
| 
 | static | 
REST handler for /api-docs/channels.json.
Definition at line 3182 of file res_ari_channels.c.
| 
 | static | 
REST handler for /api-docs/channels.json.
Definition at line 3200 of file res_ari_channels.c.
| 
 | static | 
REST handler for /api-docs/channels.json.
Definition at line 3334 of file res_ari_channels.c.
| 
 | static | 
REST handler for /api-docs/channels.json.
Definition at line 3258 of file res_ari_channels.c.
| 
 | static | 
REST handler for /api-docs/channels.json.
Definition at line 3316 of file res_ari_channels.c.
| 
 | static | 
REST handler for /api-docs/channels.json.
Definition at line 3306 of file res_ari_channels.c.
| 
 | static | 
REST handler for /api-docs/channels.json.
Definition at line 3343 of file res_ari_channels.c.
| 
 | static | 
REST handler for /api-docs/channels.json.
Definition at line 3296 of file res_ari_channels.c.
| 
 | static | 
REST handler for /api-docs/channels.json.
Definition at line 3155 of file res_ari_channels.c.
| 
 | static | 
REST handler for /api-docs/channels.json.
Definition at line 3364 of file res_ari_channels.c.