Merge "res/ari/resource_bridges: Add the ability to manipulate the video source"

This commit is contained in:
zuul
2016-11-16 16:48:09 -06:00
committed by Gerrit Code Review
15 changed files with 645 additions and 14 deletions

View File

@@ -716,6 +716,24 @@ int ast_ari_validate_bridge_merged(struct ast_json *json);
*/
ari_validator ast_ari_validate_bridge_merged_fn(void);
/*!
* \brief Validator for BridgeVideoSourceChanged.
*
* Notification that the source of video in a bridge has changed.
*
* \param json JSON object to validate.
* \returns True (non-zero) if valid.
* \returns False (zero) if invalid.
*/
int ast_ari_validate_bridge_video_source_changed(struct ast_json *json);
/*!
* \brief Function pointer to ast_ari_validate_bridge_video_source_changed().
*
* See \ref ast_ari_model_validators.h for more details.
*/
ari_validator ast_ari_validate_bridge_video_source_changed_fn(void);
/*!
* \brief Validator for ChannelCallerId.
*
@@ -1453,6 +1471,8 @@ ari_validator ast_ari_validate_application_fn(void);
* - id: string (required)
* - name: string (required)
* - technology: string (required)
* - video_mode: string
* - video_source_id: string
* LiveRecording
* - cause: string
* - duration: int
@@ -1544,6 +1564,13 @@ ari_validator ast_ari_validate_application_fn(void);
* - timestamp: Date
* - bridge: Bridge (required)
* - bridge_from: Bridge (required)
* BridgeVideoSourceChanged
* - asterisk_id: string
* - type: string (required)
* - application: string (required)
* - timestamp: Date
* - bridge: Bridge (required)
* - old_video_source_id: string
* ChannelCallerId
* - asterisk_id: string
* - type: string (required)