Asterisk - The Open Source Telephony Project
18.5.0
|
Generated file - declares stubs to be implemented in res/ari/resource_bridges.c. More...
#include "asterisk/ari.h"
Go to the source code of this file.
Data Structures | |
struct | ast_ari_bridges_add_channel_args |
struct | ast_ari_bridges_clear_video_source_args |
struct | ast_ari_bridges_create_args |
struct | ast_ari_bridges_create_with_id_args |
struct | ast_ari_bridges_destroy_args |
struct | ast_ari_bridges_get_args |
struct | ast_ari_bridges_list_args |
struct | ast_ari_bridges_play_args |
struct | ast_ari_bridges_play_with_id_args |
struct | ast_ari_bridges_record_args |
struct | ast_ari_bridges_remove_channel_args |
struct | ast_ari_bridges_set_video_source_args |
struct | ast_ari_bridges_start_moh_args |
struct | ast_ari_bridges_stop_moh_args |
Functions | |
void | ast_ari_bridges_add_channel (struct ast_variable *headers, struct ast_ari_bridges_add_channel_args *args, struct ast_ari_response *response) |
Add a channel to a bridge. More... | |
int | ast_ari_bridges_add_channel_parse_body (struct ast_json *body, struct ast_ari_bridges_add_channel_args *args) |
Body parsing function for /bridges/{bridgeId}/addChannel. More... | |
void | ast_ari_bridges_clear_video_source (struct ast_variable *headers, struct ast_ari_bridges_clear_video_source_args *args, struct ast_ari_response *response) |
Removes any explicit video source in a multi-party mixing bridge. This operation has no effect on bridges with two or fewer participants. When no explicit video source is set, talk detection will be used to determine the active video stream. More... | |
void | ast_ari_bridges_create (struct ast_variable *headers, struct ast_ari_bridges_create_args *args, struct ast_ari_response *response) |
Create a new bridge. More... | |
int | ast_ari_bridges_create_parse_body (struct ast_json *body, struct ast_ari_bridges_create_args *args) |
Body parsing function for /bridges. More... | |
void | ast_ari_bridges_create_with_id (struct ast_variable *headers, struct ast_ari_bridges_create_with_id_args *args, struct ast_ari_response *response) |
Create a new bridge or updates an existing one. More... | |
int | ast_ari_bridges_create_with_id_parse_body (struct ast_json *body, struct ast_ari_bridges_create_with_id_args *args) |
Body parsing function for /bridges/{bridgeId}. More... | |
void | ast_ari_bridges_destroy (struct ast_variable *headers, struct ast_ari_bridges_destroy_args *args, struct ast_ari_response *response) |
Shut down a bridge. More... | |
void | ast_ari_bridges_get (struct ast_variable *headers, struct ast_ari_bridges_get_args *args, struct ast_ari_response *response) |
Get bridge details. More... | |
void | ast_ari_bridges_list (struct ast_variable *headers, struct ast_ari_bridges_list_args *args, struct ast_ari_response *response) |
List all active bridges in Asterisk. More... | |
void | ast_ari_bridges_play (struct ast_variable *headers, struct ast_ari_bridges_play_args *args, struct ast_ari_response *response) |
Start playback of media on a bridge. More... | |
int | ast_ari_bridges_play_parse_body (struct ast_json *body, struct ast_ari_bridges_play_args *args) |
Body parsing function for /bridges/{bridgeId}/play. More... | |
void | ast_ari_bridges_play_with_id (struct ast_variable *headers, struct ast_ari_bridges_play_with_id_args *args, struct ast_ari_response *response) |
Start playback of media on a bridge. More... | |
int | ast_ari_bridges_play_with_id_parse_body (struct ast_json *body, struct ast_ari_bridges_play_with_id_args *args) |
Body parsing function for /bridges/{bridgeId}/play/{playbackId}. More... | |
void | ast_ari_bridges_record (struct ast_variable *headers, struct ast_ari_bridges_record_args *args, struct ast_ari_response *response) |
Start a recording. More... | |
int | ast_ari_bridges_record_parse_body (struct ast_json *body, struct ast_ari_bridges_record_args *args) |
Body parsing function for /bridges/{bridgeId}/record. More... | |
void | ast_ari_bridges_remove_channel (struct ast_variable *headers, struct ast_ari_bridges_remove_channel_args *args, struct ast_ari_response *response) |
Remove a channel from a bridge. More... | |
int | ast_ari_bridges_remove_channel_parse_body (struct ast_json *body, struct ast_ari_bridges_remove_channel_args *args) |
Body parsing function for /bridges/{bridgeId}/removeChannel. More... | |
void | ast_ari_bridges_set_video_source (struct ast_variable *headers, struct ast_ari_bridges_set_video_source_args *args, struct ast_ari_response *response) |
Set a channel as the video source in a multi-party mixing bridge. This operation has no effect on bridges with two or fewer participants. More... | |
void | ast_ari_bridges_start_moh (struct ast_variable *headers, struct ast_ari_bridges_start_moh_args *args, struct ast_ari_response *response) |
Play music on hold to a bridge or change the MOH class that is playing. More... | |
int | ast_ari_bridges_start_moh_parse_body (struct ast_json *body, struct ast_ari_bridges_start_moh_args *args) |
Body parsing function for /bridges/{bridgeId}/moh. More... | |
void | ast_ari_bridges_stop_moh (struct ast_variable *headers, struct ast_ari_bridges_stop_moh_args *args, struct ast_ari_response *response) |
Stop playing music on hold to a bridge. More... | |
Generated file - declares stubs to be implemented in res/ari/resource_bridges.c.
Bridge resources
Definition in file resource_bridges.h.
void ast_ari_bridges_add_channel | ( | struct ast_variable * | headers, |
struct ast_ari_bridges_add_channel_args * | args, | ||
struct ast_ari_response * | response | ||
) |
Add a channel to a bridge.
headers | HTTP headers | |
args | Swagger parameters | |
[out] | response | HTTP response |
Definition at line 191 of file resource_bridges.c.
References ast_ari_bridges_add_channel_args::absorb_dtmf, ao2_cleanup, ast_ari_response_alloc_failed(), ast_ari_response_no_content(), ast_strlen_zero, ast_ari_bridges_add_channel_args::bridge_id, ast_ari_bridges_add_channel_args::channel, ast_ari_bridges_add_channel_args::channel_count, check_add_remove_channel(), control_list_create(), find_bridge(), ast_ari_bridges_add_channel_args::inhibit_connected_line_updates, ast_ari_bridges_add_channel_args::mute, NULL, RAII_VAR, ast_ari_bridges_add_channel_args::role, stasis_app_control_absorb_dtmf_in_bridge(), stasis_app_control_add_channel_to_bridge(), stasis_app_control_add_role(), stasis_app_control_bridge_features_init(), stasis_app_control_clear_roles(), stasis_app_control_inhibit_colp_in_bridge(), and stasis_app_control_mute_in_bridge().
Referenced by ast_ari_bridges_add_channel_cb().
int ast_ari_bridges_add_channel_parse_body | ( | struct ast_json * | body, |
struct ast_ari_bridges_add_channel_args * | args | ||
) |
Body parsing function for /bridges/{bridgeId}/addChannel.
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 396 of file res_ari_bridges.c.
References ast_ari_bridges_add_channel_args::absorb_dtmf, ast_free, AST_JSON_ARRAY, ast_json_array_get(), ast_json_array_size(), ast_json_is_true(), ast_json_object_get(), ast_json_string_get(), ast_json_typeof(), ast_malloc, ast_ari_bridges_add_channel_args::channel, ast_ari_bridges_add_channel_args::channel_count, ast_ari_bridges_add_channel_args::inhibit_connected_line_updates, ast_ari_bridges_add_channel_args::mute, and ast_ari_bridges_add_channel_args::role.
Referenced by ast_ari_bridges_add_channel_cb().
void ast_ari_bridges_clear_video_source | ( | struct ast_variable * | headers, |
struct ast_ari_bridges_clear_video_source_args * | args, | ||
struct ast_ari_response * | response | ||
) |
Removes any explicit video source in a multi-party mixing bridge. This operation has no effect on bridges with two or fewer participants. When no explicit video source is set, talk detection will be used to determine the active video stream.
headers | HTTP headers | |
args | Swagger parameters | |
[out] | response | HTTP response |
Definition at line 1051 of file resource_bridges.c.
References ao2_ref, ast_ari_response_no_content(), ast_bridge_lock, ast_bridge_set_talker_src_video_mode(), ast_bridge_unlock, ast_ari_bridges_clear_video_source_args::bridge_id, and find_bridge().
Referenced by ast_ari_bridges_clear_video_source_cb().
void ast_ari_bridges_create | ( | struct ast_variable * | headers, |
struct ast_ari_bridges_create_args * | args, | ||
struct ast_ari_response * | response | ||
) |
Create a new bridge.
This bridge persists until it has been shut down, or Asterisk has been shut down.
headers | HTTP headers | |
args | Swagger parameters | |
[out] | response | HTTP response |
Definition at line 925 of file resource_bridges.c.
References ao2_cleanup, ast_ari_response_error(), ast_ari_response_ok(), ast_bridge_lock, ast_bridge_snapshot_create(), ast_bridge_snapshot_to_json(), ast_bridge_unlock, ast_ari_bridges_create_args::bridge_id, ast_ari_bridges_create_args::name, NULL, RAII_VAR, stasis_app_bridge_create(), stasis_app_get_sanitizer(), and ast_ari_bridges_create_args::type.
Referenced by ast_ari_bridges_create_cb().
int ast_ari_bridges_create_parse_body | ( | struct ast_json * | body, |
struct ast_ari_bridges_create_args * | args | ||
) |
Body parsing function for /bridges.
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 105 of file res_ari_bridges.c.
References ast_json_object_get(), ast_json_string_get(), ast_ari_bridges_create_args::bridge_id, ast_ari_bridges_create_args::name, and ast_ari_bridges_create_args::type.
Referenced by ast_ari_bridges_create_cb().
void ast_ari_bridges_create_with_id | ( | struct ast_variable * | headers, |
struct ast_ari_bridges_create_with_id_args * | args, | ||
struct ast_ari_response * | response | ||
) |
Create a new bridge or updates an existing one.
This bridge persists until it has been shut down, or Asterisk has been shut down.
headers | HTTP headers | |
args | Swagger parameters | |
[out] | response | HTTP response |
Definition at line 954 of file resource_bridges.c.
References ao2_cleanup, ast_ari_response_error(), ast_ari_response_ok(), ast_bridge_lock, ast_bridge_snapshot_create(), ast_bridge_snapshot_to_json(), ast_bridge_unlock, ast_strlen_zero, ast_ari_bridges_create_with_id_args::bridge_id, find_bridge(), ast_ari_bridges_create_with_id_args::name, NULL, RAII_VAR, stasis_app_bridge_create(), stasis_app_get_sanitizer(), and ast_ari_bridges_create_with_id_args::type.
Referenced by ast_ari_bridges_create_with_id_cb().
int ast_ari_bridges_create_with_id_parse_body | ( | struct ast_json * | body, |
struct ast_ari_bridges_create_with_id_args * | args | ||
) |
Body parsing function for /bridges/{bridgeId}.
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 193 of file res_ari_bridges.c.
References ast_json_object_get(), ast_json_string_get(), ast_ari_bridges_create_with_id_args::name, and ast_ari_bridges_create_with_id_args::type.
Referenced by ast_ari_bridges_create_with_id_cb().
void ast_ari_bridges_destroy | ( | struct ast_variable * | headers, |
struct ast_ari_bridges_destroy_args * | args, | ||
struct ast_ari_response * | response | ||
) |
Shut down a bridge.
If any channels are in this bridge, they will be removed and resume whatever they were doing beforehand.
headers | HTTP headers | |
args | Swagger parameters | |
[out] | response | HTTP response |
Definition at line 872 of file resource_bridges.c.
References ao2_cleanup, ast_ari_response_no_content(), ast_ari_bridges_destroy_args::bridge_id, find_bridge(), RAII_VAR, and stasis_app_bridge_destroy().
Referenced by ast_ari_bridges_destroy_cb().
void ast_ari_bridges_get | ( | struct ast_variable * | headers, |
struct ast_ari_bridges_get_args * | args, | ||
struct ast_ari_response * | response | ||
) |
Get bridge details.
headers | HTTP headers | |
args | Swagger parameters | |
[out] | response | HTTP response |
Definition at line 856 of file resource_bridges.c.
References ao2_cleanup, ast_ari_response_error(), ast_ari_response_ok(), ast_bridge_get_snapshot_by_uniqueid(), ast_bridge_snapshot_to_json(), ast_ari_bridges_get_args::bridge_id, RAII_VAR, and stasis_app_get_sanitizer().
Referenced by ast_ari_bridges_get_cb().
void ast_ari_bridges_list | ( | struct ast_variable * | headers, |
struct ast_ari_bridges_list_args * | args, | ||
struct ast_ari_response * | response | ||
) |
List all active bridges in Asterisk.
headers | HTTP headers | |
args | Swagger parameters | |
[out] | response | HTTP response |
Definition at line 885 of file resource_bridges.c.
References ao2_cleanup, ao2_iterator_destroy(), ao2_iterator_init(), ao2_iterator_next, ao2_ref, ast_ari_response_alloc_failed(), ast_ari_response_ok(), ast_bridge_get_snapshot(), ast_bridge_snapshot_to_json(), ast_bridges(), ast_json_array_append(), ast_json_array_create(), ast_json_ref(), ast_json_unref(), bridges, NULL, RAII_VAR, and stasis_app_get_sanitizer().
Referenced by ast_ari_bridges_list_cb().
void ast_ari_bridges_play | ( | struct ast_variable * | headers, |
struct ast_ari_bridges_play_args * | args, | ||
struct ast_ari_response * | response | ||
) |
Start playback of media on a bridge.
The media URI may be any of a number of URI's. Currently sound:, recording:, number:, digits:, characters:, and tone: URI's are supported. This operation creates a playback resource that can be used to control the playback of media (pause, rewind, fast forward, etc.)
headers | HTTP headers | |
args | Swagger parameters | |
[out] | response | HTTP response |
Definition at line 606 of file resource_bridges.c.
References ari_bridges_handle_play(), ast_ari_bridges_play_args::bridge_id, ast_ari_bridges_play_args::lang, ast_ari_bridges_play_args::media, ast_ari_bridges_play_args::media_count, ast_ari_bridges_play_args::offsetms, ast_ari_bridges_play_args::playback_id, and ast_ari_bridges_play_args::skipms.
Referenced by ast_ari_bridges_play_cb().
int ast_ari_bridges_play_parse_body | ( | struct ast_json * | body, |
struct ast_ari_bridges_play_args * | args | ||
) |
Body parsing function for /bridges/{bridgeId}/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 988 of file res_ari_bridges.c.
References 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(), ast_malloc, ast_ari_bridges_play_args::lang, ast_ari_bridges_play_args::media, ast_ari_bridges_play_args::media_count, ast_ari_bridges_play_args::offsetms, ast_ari_bridges_play_args::playback_id, and ast_ari_bridges_play_args::skipms.
Referenced by ast_ari_bridges_play_cb().
void ast_ari_bridges_play_with_id | ( | struct ast_variable * | headers, |
struct ast_ari_bridges_play_with_id_args * | args, | ||
struct ast_ari_response * | response | ||
) |
Start playback of media on a bridge.
The media URI may be any of a number of URI's. Currently sound:, recording:, number:, digits:, characters:, and tone: URI's are supported. This operation creates a playback resource that can be used to control the playback of media (pause, rewind, fast forward, etc.)
headers | HTTP headers | |
args | Swagger parameters | |
[out] | response | HTTP response |
Definition at line 620 of file resource_bridges.c.
References ari_bridges_handle_play(), ast_ari_bridges_play_with_id_args::bridge_id, ast_ari_bridges_play_with_id_args::lang, ast_ari_bridges_play_with_id_args::media, ast_ari_bridges_play_with_id_args::media_count, ast_ari_bridges_play_with_id_args::offsetms, ast_ari_bridges_play_with_id_args::playback_id, and ast_ari_bridges_play_with_id_args::skipms.
Referenced by ast_ari_bridges_play_with_id_cb().
int ast_ari_bridges_play_with_id_parse_body | ( | struct ast_json * | body, |
struct ast_ari_bridges_play_with_id_args * | args | ||
) |
Body parsing function for /bridges/{bridgeId}/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 1165 of file res_ari_bridges.c.
References 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(), ast_malloc, ast_ari_bridges_play_with_id_args::lang, ast_ari_bridges_play_with_id_args::media, ast_ari_bridges_play_with_id_args::media_count, ast_ari_bridges_play_with_id_args::offsetms, and ast_ari_bridges_play_with_id_args::skipms.
Referenced by ast_ari_bridges_play_with_id_cb().
void ast_ari_bridges_record | ( | struct ast_variable * | headers, |
struct ast_ari_bridges_record_args * | args, | ||
struct ast_ari_response * | response | ||
) |
Start a recording.
This records the mixed audio from all channels participating in this bridge.
headers | HTTP headers | |
args | Swagger parameters | |
[out] | response | HTTP response |
Definition at line 634 of file resource_bridges.c.
References ao2_cleanup, ast_ari_response_alloc_failed(), ast_ari_response_created(), ast_ari_response_error(), ast_asprintf, ast_assert, AST_BRIDGE_CHANNEL_FLAG_IMMOVABLE, AST_BRIDGE_CHANNEL_FLAG_LONELY, ast_bridge_topic(), ast_calloc, ast_channel_topic(), ast_free, ast_get_format_for_file_ext(), ast_hangup(), ast_json_ref(), ast_json_unref(), ast_log, ast_malloc, ast_pthread_create_detached, AST_RECORD_IF_EXISTS_ERROR, ast_string_field_build, ast_unreal_channel_push_to_bridge(), ast_uri_encode(), ast_uri_http, ast_ari_bridges_record_args::beep, bridge_channel_control_thread_data::bridge_channel, bridge_channel_control_thread(), ast_ari_bridges_record_args::bridge_id, bridge_channel_control_thread_data::control, errno, find_bridge(), ast_ari_bridges_record_args::format, bridge_channel_control_thread_data::forward, ast_ari_bridges_record_args::if_exists, LOG_WARNING, ast_ari_bridges_record_args::max_duration_seconds, ast_ari_bridges_record_args::max_silence_seconds, ast_ari_bridges_record_args::name, NULL, options, prepare_bridge_media_channel(), RAII_VAR, stasis_app_control_create(), stasis_app_control_record(), stasis_app_recording_if_exists_parse(), stasis_app_recording_options_create(), STASIS_APP_RECORDING_TERMINATE_INVALID, stasis_app_recording_termination_parse(), stasis_app_recording_to_json(), stasis_forward_all(), stasis_forward_cancel(), and ast_ari_bridges_record_args::terminate_on.
Referenced by ast_ari_bridges_record_cb().
int ast_ari_bridges_record_parse_body | ( | struct ast_json * | body, |
struct ast_ari_bridges_record_args * | args | ||
) |
Body parsing function for /bridges/{bridgeId}/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 1338 of file res_ari_bridges.c.
References ast_json_integer_get(), ast_json_is_true(), ast_json_object_get(), ast_json_string_get(), ast_ari_bridges_record_args::beep, ast_ari_bridges_record_args::format, ast_ari_bridges_record_args::if_exists, ast_ari_bridges_record_args::max_duration_seconds, ast_ari_bridges_record_args::max_silence_seconds, ast_ari_bridges_record_args::name, and ast_ari_bridges_record_args::terminate_on.
Referenced by ast_ari_bridges_record_cb().
void ast_ari_bridges_remove_channel | ( | struct ast_variable * | headers, |
struct ast_ari_bridges_remove_channel_args * | args, | ||
struct ast_ari_response * | response | ||
) |
Remove a channel from a bridge.
headers | HTTP headers | |
args | Swagger parameters | |
[out] | response | HTTP response |
Definition at line 241 of file resource_bridges.c.
References ao2_cleanup, ast_ari_response_error(), ast_ari_response_no_content(), ast_log, ast_ari_bridges_remove_channel_args::bridge_id, ast_ari_bridges_remove_channel_args::channel, ast_ari_bridges_remove_channel_args::channel_count, control_list_create(), find_bridge(), LOG_WARNING, NULL, RAII_VAR, stasis_app_control_remove_channel_from_bridge(), and stasis_app_get_bridge().
Referenced by ast_ari_bridges_remove_channel_cb().
int ast_ari_bridges_remove_channel_parse_body | ( | struct ast_json * | body, |
struct ast_ari_bridges_remove_channel_args * | args | ||
) |
Body parsing function for /bridges/{bridgeId}/removeChannel.
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 575 of file res_ari_bridges.c.
References ast_free, AST_JSON_ARRAY, ast_json_array_get(), ast_json_array_size(), ast_json_object_get(), ast_json_string_get(), ast_json_typeof(), ast_malloc, ast_ari_bridges_remove_channel_args::channel, and ast_ari_bridges_remove_channel_args::channel_count.
Referenced by ast_ari_bridges_remove_channel_cb().
void ast_ari_bridges_set_video_source | ( | struct ast_variable * | headers, |
struct ast_ari_bridges_set_video_source_args * | args, | ||
struct ast_ari_response * | response | ||
) |
Set a channel as the video source in a multi-party mixing bridge. This operation has no effect on bridges with two or fewer participants.
headers | HTTP headers | |
args | Swagger parameters | |
[out] | response | HTTP response |
Definition at line 1016 of file resource_bridges.c.
References __ao2_cleanup(), ao2_bump, ao2_ref, ast_ari_response_error(), ast_ari_response_no_content(), ast_ari_bridges_set_video_source_args::bridge_id, bridge_set_video_source_cb(), ast_ari_bridges_set_video_source_args::channel_id, find_bridge(), find_channel_control(), stasis_app_get_bridge(), and stasis_app_send_command().
Referenced by ast_ari_bridges_set_video_source_cb().
void ast_ari_bridges_start_moh | ( | struct ast_variable * | headers, |
struct ast_ari_bridges_start_moh_args * | args, | ||
struct ast_ari_response * | response | ||
) |
Play music on hold to a bridge or change the MOH class that is playing.
headers | HTTP headers | |
args | Swagger parameters | |
[out] | response | HTTP response |
Definition at line 809 of file resource_bridges.c.
References ao2_cleanup, ast_ari_response_alloc_failed(), ast_ari_response_no_content(), ast_channel_cleanup, ast_moh_start(), ast_ari_bridges_start_moh_args::bridge_id, find_bridge(), ast_ari_bridges_start_moh_args::moh_class, NULL, RAII_VAR, and stasis_app_bridge_moh_channel().
Referenced by ast_ari_bridges_start_moh_cb().
int ast_ari_bridges_start_moh_parse_body | ( | struct ast_json * | body, |
struct ast_ari_bridges_start_moh_args * | args | ||
) |
Body parsing function for /bridges/{bridgeId}/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 847 of file res_ari_bridges.c.
References ast_json_object_get(), ast_json_string_get(), and ast_ari_bridges_start_moh_args::moh_class.
Referenced by ast_ari_bridges_start_moh_cb().
void ast_ari_bridges_stop_moh | ( | struct ast_variable * | headers, |
struct ast_ari_bridges_stop_moh_args * | args, | ||
struct ast_ari_response * | response | ||
) |
Stop playing music on hold to a bridge.
This will only stop music on hold being played via POST bridges/{bridgeId}/moh.
headers | HTTP headers | |
args | Swagger parameters | |
[out] | response | HTTP response |
Definition at line 835 of file resource_bridges.c.
References ao2_cleanup, ast_ari_response_error(), ast_ari_response_no_content(), ast_ari_bridges_stop_moh_args::bridge_id, find_bridge(), RAII_VAR, and stasis_app_bridge_moh_stop().
Referenced by ast_ari_bridges_stop_moh_cb().