2013-07-03 16:32:41 +00:00
/*
* Asterisk -- An open source telephony toolkit.
*
* Copyright (C) 2013, Digium, Inc.
*
* See http://www.asterisk.org for more information about
* the Asterisk project. Please do not directly contact
* any of the maintainers of this project for assistance;
* the project provides a web site, mailing lists and IRC
* channels for your use.
*
* This program is free software, distributed under the terms of
* the GNU General Public License Version 2. See the LICENSE file
* at the top of the source tree.
*/
/*! \file
*
* \brief Generated file - Build validators for ARI model objects.
2013-07-03 19:46:50 +00:00
*
* In addition to the normal validation functions one would normally expect,
2013-07-27 23:11:02 +00:00
* each validator has a ast_ari_validate_{id}_fn() companion function that returns
2013-07-03 19:46:50 +00:00
* the validator's function pointer.
*
* The reason for this seamingly useless indirection is the way function
2018-09-11 14:22:18 +02:00
* pointers used to interfere with module loading. Previously, Asterisk
* attempted to dlopen() each module using \c RTLD_LAZY in order to read some
* metadata from the module. Using functions to get the function pointer
* allowed us to be lazy.
2013-07-03 16:32:41 +00:00
*/
/*
* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
* !!!!! DO NOT EDIT !!!!!
* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
* This file is generated by a mustache template. Please see the original
* template in rest-api-templates/ari_model_validators.h.mustache
*/
#ifndef _ASTERISK_ARI_MODEL_H
#define _ASTERISK_ARI_MODEL_H
#include "asterisk/json.h"
/*! @{ */
/*!
* \brief Validator for native Swagger void.
*
* \param json JSON object to validate.
* \returns True (non-zero) if valid.
* \returns False (zero) if invalid.
*/
2013-07-27 23:11:02 +00:00
int ast_ari_validate_void ( struct ast_json * json );
2013-07-03 16:32:41 +00:00
2013-10-04 16:01:48 +00:00
/*!
* \brief Validator for native Swagger object.
*
* \param json JSON object to validate.
* \returns True (non-zero) if valid.
* \returns False (zero) if invalid.
*/
int ast_ari_validate_object ( struct ast_json * json );
2013-07-03 16:32:41 +00:00
/*!
* \brief Validator for native Swagger byte.
*
* \param json JSON object to validate.
* \returns True (non-zero) if valid.
* \returns False (zero) if invalid.
*/
2013-07-27 23:11:02 +00:00
int ast_ari_validate_byte ( struct ast_json * json );
2013-07-03 16:32:41 +00:00
/*!
* \brief Validator for native Swagger boolean.
*
* \param json JSON object to validate.
* \returns True (non-zero) if valid.
* \returns False (zero) if invalid.
*/
2013-07-27 23:11:02 +00:00
int ast_ari_validate_boolean ( struct ast_json * json );
2013-07-03 16:32:41 +00:00
/*!
* \brief Validator for native Swagger int.
*
* \param json JSON object to validate.
* \returns True (non-zero) if valid.
* \returns False (zero) if invalid.
*/
2013-07-27 23:11:02 +00:00
int ast_ari_validate_int ( struct ast_json * json );
2013-07-03 16:32:41 +00:00
/*!
* \brief Validator for native Swagger long.
*
* \param json JSON object to validate.
* \returns True (non-zero) if valid.
* \returns False (zero) if invalid.
*/
2013-07-27 23:11:02 +00:00
int ast_ari_validate_long ( struct ast_json * json );
2013-07-03 16:32:41 +00:00
/*!
* \brief Validator for native Swagger float.
*
* \param json JSON object to validate.
* \returns True (non-zero) if valid.
* \returns False (zero) if invalid.
*/
2013-07-27 23:11:02 +00:00
int ast_ari_validate_float ( struct ast_json * json );
2013-07-03 16:32:41 +00:00
/*!
* \brief Validator for native Swagger double.
*
* \param json JSON object to validate.
* \returns True (non-zero) if valid.
* \returns False (zero) if invalid.
*/
2013-07-27 23:11:02 +00:00
int ast_ari_validate_double ( struct ast_json * json );
2013-07-03 16:32:41 +00:00
/*!
* \brief Validator for native Swagger string.
*
* \param json JSON object to validate.
* \returns True (non-zero) if valid.
* \returns False (zero) if invalid.
*/
2013-07-27 23:11:02 +00:00
int ast_ari_validate_string ( struct ast_json * json );
2013-07-03 16:32:41 +00:00
/*!
* \brief Validator for native Swagger date.
*
* \param json JSON object to validate.
* \returns True (non-zero) if valid.
* \returns False (zero) if invalid.
*/
2013-07-27 23:11:02 +00:00
int ast_ari_validate_date ( struct ast_json * json );
2013-07-03 16:32:41 +00:00
/*!
* \brief Validator for a Swagger List[]/JSON array.
*
* \param json JSON object to validate.
* \param fn Validator to call on every element in the array.
* \returns True (non-zero) if valid.
* \returns False (zero) if invalid.
*/
2013-07-27 23:11:02 +00:00
int ast_ari_validate_list ( struct ast_json * json , int ( * fn )( struct ast_json * ));
2013-07-03 16:32:41 +00:00
/*! @} */
2013-07-03 19:46:50 +00:00
/*!
2017-12-22 09:23:22 -05:00
* \brief Function type for validator functions. Allows for
2013-07-03 19:46:50 +00:00
*/
typedef int ( * ari_validator )( struct ast_json * json );
2013-07-03 16:32:41 +00:00
/*!
* \brief Validator for AsteriskInfo.
*
* Asterisk system information
*
* \param json JSON object to validate.
* \returns True (non-zero) if valid.
* \returns False (zero) if invalid.
*/
2013-07-27 23:11:02 +00:00
int ast_ari_validate_asterisk_info ( struct ast_json * json );
2013-07-03 16:32:41 +00:00
2013-07-03 19:46:50 +00:00
/*!
2013-07-27 23:11:02 +00:00
* \brief Function pointer to ast_ari_validate_asterisk_info().
2013-07-03 19:46:50 +00:00
*
2013-07-27 23:11:02 +00:00
* See \ref ast_ari_model_validators.h for more details.
2013-07-03 19:46:50 +00:00
*/
2013-07-27 23:11:02 +00:00
ari_validator ast_ari_validate_asterisk_info_fn ( void );
2013-07-03 19:46:50 +00:00
2019-01-29 00:21:28 +01:00
/*!
* \brief Validator for AsteriskPing.
*
* Asterisk ping information
*
* \param json JSON object to validate.
* \returns True (non-zero) if valid.
* \returns False (zero) if invalid.
*/
int ast_ari_validate_asterisk_ping ( struct ast_json * json );
/*!
* \brief Function pointer to ast_ari_validate_asterisk_ping().
*
* See \ref ast_ari_model_validators.h for more details.
*/
ari_validator ast_ari_validate_asterisk_ping_fn ( void );
2013-08-02 14:46:21 +00:00
/*!
* \brief Validator for BuildInfo.
*
* Info about how Asterisk was built
*
* \param json JSON object to validate.
* \returns True (non-zero) if valid.
* \returns False (zero) if invalid.
*/
int ast_ari_validate_build_info ( struct ast_json * json );
/*!
* \brief Function pointer to ast_ari_validate_build_info().
*
* See \ref ast_ari_model_validators.h for more details.
*/
ari_validator ast_ari_validate_build_info_fn ( void );
/*!
* \brief Validator for ConfigInfo.
*
* Info about Asterisk configuration
*
* \param json JSON object to validate.
* \returns True (non-zero) if valid.
* \returns False (zero) if invalid.
*/
int ast_ari_validate_config_info ( struct ast_json * json );
/*!
* \brief Function pointer to ast_ari_validate_config_info().
*
* See \ref ast_ari_model_validators.h for more details.
*/
ari_validator ast_ari_validate_config_info_fn ( void );
2015-07-08 16:39:35 -05:00
/*!
* \brief Validator for ConfigTuple.
*
* A key/value pair that makes up part of a configuration object.
*
* \param json JSON object to validate.
* \returns True (non-zero) if valid.
* \returns False (zero) if invalid.
*/
int ast_ari_validate_config_tuple ( struct ast_json * json );
/*!
* \brief Function pointer to ast_ari_validate_config_tuple().
*
* See \ref ast_ari_model_validators.h for more details.
*/
ari_validator ast_ari_validate_config_tuple_fn ( void );
2015-07-29 14:17:09 -05:00
/*!
* \brief Validator for LogChannel.
*
* Details of an Asterisk log channel
*
* \param json JSON object to validate.
* \returns True (non-zero) if valid.
* \returns False (zero) if invalid.
*/
int ast_ari_validate_log_channel ( struct ast_json * json );
/*!
* \brief Function pointer to ast_ari_validate_log_channel().
*
* See \ref ast_ari_model_validators.h for more details.
*/
ari_validator ast_ari_validate_log_channel_fn ( void );
2015-06-26 10:57:15 -05:00
/*!
* \brief Validator for Module.
*
* Details of an Asterisk module
*
* \param json JSON object to validate.
* \returns True (non-zero) if valid.
* \returns False (zero) if invalid.
*/
int ast_ari_validate_module ( struct ast_json * json );
/*!
* \brief Function pointer to ast_ari_validate_module().
*
* See \ref ast_ari_model_validators.h for more details.
*/
ari_validator ast_ari_validate_module_fn ( void );
2013-08-02 14:46:21 +00:00
/*!
* \brief Validator for SetId.
*
* Effective user/group id
*
* \param json JSON object to validate.
* \returns True (non-zero) if valid.
* \returns False (zero) if invalid.
*/
int ast_ari_validate_set_id ( struct ast_json * json );
/*!
* \brief Function pointer to ast_ari_validate_set_id().
*
* See \ref ast_ari_model_validators.h for more details.
*/
ari_validator ast_ari_validate_set_id_fn ( void );
/*!
* \brief Validator for StatusInfo.
*
* Info about Asterisk status
*
* \param json JSON object to validate.
* \returns True (non-zero) if valid.
* \returns False (zero) if invalid.
*/
int ast_ari_validate_status_info ( struct ast_json * json );
/*!
* \brief Function pointer to ast_ari_validate_status_info().
*
* See \ref ast_ari_model_validators.h for more details.
*/
ari_validator ast_ari_validate_status_info_fn ( void );
/*!
* \brief Validator for SystemInfo.
*
* Info about Asterisk
*
* \param json JSON object to validate.
* \returns True (non-zero) if valid.
* \returns False (zero) if invalid.
*/
int ast_ari_validate_system_info ( struct ast_json * json );
/*!
* \brief Function pointer to ast_ari_validate_system_info().
*
* See \ref ast_ari_model_validators.h for more details.
*/
ari_validator ast_ari_validate_system_info_fn ( void );
2013-07-10 13:50:48 +00:00
/*!
* \brief Validator for Variable.
*
* The value of a channel variable
*
* \param json JSON object to validate.
* \returns True (non-zero) if valid.
* \returns False (zero) if invalid.
*/
2013-07-27 23:11:02 +00:00
int ast_ari_validate_variable ( struct ast_json * json );
2013-07-10 13:50:48 +00:00
/*!
2013-07-27 23:11:02 +00:00
* \brief Function pointer to ast_ari_validate_variable().
2013-07-10 13:50:48 +00:00
*
2013-07-27 23:11:02 +00:00
* See \ref ast_ari_model_validators.h for more details.
2013-07-10 13:50:48 +00:00
*/
2013-07-27 23:11:02 +00:00
ari_validator ast_ari_validate_variable_fn ( void );
2013-07-10 13:50:48 +00:00
2013-07-03 16:32:41 +00:00
/*!
* \brief Validator for Endpoint.
*
* An external device that may offer/accept calls to/from Asterisk.
*
* Unlike most resources, which have a single unique identifier, an endpoint is uniquely identified by the technology/resource pair.
*
* \param json JSON object to validate.
* \returns True (non-zero) if valid.
* \returns False (zero) if invalid.
*/
2013-07-27 23:11:02 +00:00
int ast_ari_validate_endpoint ( struct ast_json * json );
2013-07-03 16:32:41 +00:00
2013-07-03 19:46:50 +00:00
/*!
2013-07-27 23:11:02 +00:00
* \brief Function pointer to ast_ari_validate_endpoint().
2013-07-03 19:46:50 +00:00
*
2013-07-27 23:11:02 +00:00
* See \ref ast_ari_model_validators.h for more details.
2013-07-03 19:46:50 +00:00
*/
2013-07-27 23:11:02 +00:00
ari_validator ast_ari_validate_endpoint_fn ( void );
2013-07-03 19:46:50 +00:00
2014-08-05 21:44:09 +00:00
/*!
* \brief Validator for TextMessage.
*
* A text message.
*
* \param json JSON object to validate.
* \returns True (non-zero) if valid.
* \returns False (zero) if invalid.
*/
int ast_ari_validate_text_message ( struct ast_json * json );
/*!
* \brief Function pointer to ast_ari_validate_text_message().
*
* See \ref ast_ari_model_validators.h for more details.
*/
ari_validator ast_ari_validate_text_message_fn ( void );
/*!
* \brief Validator for TextMessageVariable.
*
* A key/value pair variable in a text message.
*
* \param json JSON object to validate.
* \returns True (non-zero) if valid.
* \returns False (zero) if invalid.
*/
int ast_ari_validate_text_message_variable ( struct ast_json * json );
/*!
* \brief Function pointer to ast_ari_validate_text_message_variable().
*
* See \ref ast_ari_model_validators.h for more details.
*/
ari_validator ast_ari_validate_text_message_variable_fn ( void );
2013-07-03 16:32:41 +00:00
/*!
* \brief Validator for CallerID.
*
* Caller identification
*
* \param json JSON object to validate.
* \returns True (non-zero) if valid.
* \returns False (zero) if invalid.
*/
2013-07-27 23:11:02 +00:00
int ast_ari_validate_caller_id ( struct ast_json * json );
2013-07-03 16:32:41 +00:00
2013-07-03 19:46:50 +00:00
/*!
2013-07-27 23:11:02 +00:00
* \brief Function pointer to ast_ari_validate_caller_id().
2013-07-03 19:46:50 +00:00
*
2013-07-27 23:11:02 +00:00
* See \ref ast_ari_model_validators.h for more details.
2013-07-03 19:46:50 +00:00
*/
2013-07-27 23:11:02 +00:00
ari_validator ast_ari_validate_caller_id_fn ( void );
2013-07-03 19:46:50 +00:00
2013-07-03 16:32:41 +00:00
/*!
* \brief Validator for Channel.
*
* A specific communication connection between Asterisk and an Endpoint.
*
* \param json JSON object to validate.
* \returns True (non-zero) if valid.
* \returns False (zero) if invalid.
*/
2013-07-27 23:11:02 +00:00
int ast_ari_validate_channel ( struct ast_json * json );
2013-07-03 16:32:41 +00:00
2013-07-03 19:46:50 +00:00
/*!
2013-07-27 23:11:02 +00:00
* \brief Function pointer to ast_ari_validate_channel().
2013-07-03 19:46:50 +00:00
*
2013-07-27 23:11:02 +00:00
* See \ref ast_ari_model_validators.h for more details.
2013-07-03 19:46:50 +00:00
*/
2013-07-27 23:11:02 +00:00
ari_validator ast_ari_validate_channel_fn ( void );
2013-07-03 19:46:50 +00:00
2013-07-03 16:32:41 +00:00
/*!
* \brief Validator for Dialed.
*
* Dialed channel information.
*
* \param json JSON object to validate.
* \returns True (non-zero) if valid.
* \returns False (zero) if invalid.
*/
2013-07-27 23:11:02 +00:00
int ast_ari_validate_dialed ( struct ast_json * json );
2013-07-03 16:32:41 +00:00
2013-07-03 19:46:50 +00:00
/*!
2013-07-27 23:11:02 +00:00
* \brief Function pointer to ast_ari_validate_dialed().
2013-07-03 19:46:50 +00:00
*
2013-07-27 23:11:02 +00:00
* See \ref ast_ari_model_validators.h for more details.
2013-07-03 19:46:50 +00:00
*/
2013-07-27 23:11:02 +00:00
ari_validator ast_ari_validate_dialed_fn ( void );
2013-07-03 19:46:50 +00:00
2013-07-03 16:32:41 +00:00
/*!
* \brief Validator for DialplanCEP.
*
* Dialplan location (context/extension/priority)
*
* \param json JSON object to validate.
* \returns True (non-zero) if valid.
* \returns False (zero) if invalid.
*/
2013-07-27 23:11:02 +00:00
int ast_ari_validate_dialplan_cep ( struct ast_json * json );
2013-07-03 16:32:41 +00:00
2013-07-03 19:46:50 +00:00
/*!
2013-07-27 23:11:02 +00:00
* \brief Function pointer to ast_ari_validate_dialplan_cep().
2013-07-03 19:46:50 +00:00
*
2013-07-27 23:11:02 +00:00
* See \ref ast_ari_model_validators.h for more details.
2013-07-03 19:46:50 +00:00
*/
2013-07-27 23:11:02 +00:00
ari_validator ast_ari_validate_dialplan_cep_fn ( void );
2013-07-03 19:46:50 +00:00
2013-07-03 16:32:41 +00:00
/*!
* \brief Validator for Bridge.
*
* The merging of media from one or more channels.
*
* Everyone on the bridge receives the same audio.
*
* \param json JSON object to validate.
* \returns True (non-zero) if valid.
* \returns False (zero) if invalid.
*/
2013-07-27 23:11:02 +00:00
int ast_ari_validate_bridge ( struct ast_json * json );
2013-07-03 16:32:41 +00:00
2013-07-03 19:46:50 +00:00
/*!
2013-07-27 23:11:02 +00:00
* \brief Function pointer to ast_ari_validate_bridge().
2013-07-03 19:46:50 +00:00
*
2013-07-27 23:11:02 +00:00
* See \ref ast_ari_model_validators.h for more details.
2013-07-03 19:46:50 +00:00
*/
2013-07-27 23:11:02 +00:00
ari_validator ast_ari_validate_bridge_fn ( void );
2013-07-03 19:46:50 +00:00
2013-07-03 16:32:41 +00:00
/*!
* \brief Validator for LiveRecording.
*
* A recording that is in progress
*
* \param json JSON object to validate.
* \returns True (non-zero) if valid.
* \returns False (zero) if invalid.
*/
2013-07-27 23:11:02 +00:00
int ast_ari_validate_live_recording ( struct ast_json * json );
2013-07-03 16:32:41 +00:00
2013-07-03 19:46:50 +00:00
/*!
2013-07-27 23:11:02 +00:00
* \brief Function pointer to ast_ari_validate_live_recording().
2013-07-03 19:46:50 +00:00
*
2013-07-27 23:11:02 +00:00
* See \ref ast_ari_model_validators.h for more details.
2013-07-03 19:46:50 +00:00
*/
2013-07-27 23:11:02 +00:00
ari_validator ast_ari_validate_live_recording_fn ( void );
2013-07-03 19:46:50 +00:00
2013-07-03 16:32:41 +00:00
/*!
* \brief Validator for StoredRecording.
*
* A past recording that may be played back.
*
* \param json JSON object to validate.
* \returns True (non-zero) if valid.
* \returns False (zero) if invalid.
*/
2013-07-27 23:11:02 +00:00
int ast_ari_validate_stored_recording ( struct ast_json * json );
2013-07-03 16:32:41 +00:00
2013-07-03 19:46:50 +00:00
/*!
2013-07-27 23:11:02 +00:00
* \brief Function pointer to ast_ari_validate_stored_recording().
2013-07-03 19:46:50 +00:00
*
2013-07-27 23:11:02 +00:00
* See \ref ast_ari_model_validators.h for more details.
2013-07-03 19:46:50 +00:00
*/
2013-07-27 23:11:02 +00:00
ari_validator ast_ari_validate_stored_recording_fn ( void );
2013-07-03 19:46:50 +00:00
2013-07-03 16:32:41 +00:00
/*!
* \brief Validator for FormatLangPair.
*
* Identifies the format and language of a sound file
*
* \param json JSON object to validate.
* \returns True (non-zero) if valid.
* \returns False (zero) if invalid.
*/
2013-07-27 23:11:02 +00:00
int ast_ari_validate_format_lang_pair ( struct ast_json * json );
2013-07-03 16:32:41 +00:00
2013-07-03 19:46:50 +00:00
/*!
2013-07-27 23:11:02 +00:00
* \brief Function pointer to ast_ari_validate_format_lang_pair().
2013-07-03 19:46:50 +00:00
*
2013-07-27 23:11:02 +00:00
* See \ref ast_ari_model_validators.h for more details.
2013-07-03 19:46:50 +00:00
*/
2013-07-27 23:11:02 +00:00
ari_validator ast_ari_validate_format_lang_pair_fn ( void );
2013-07-03 19:46:50 +00:00
2013-07-03 16:32:41 +00:00
/*!
* \brief Validator for Sound.
*
* A media file that may be played back.
*
* \param json JSON object to validate.
* \returns True (non-zero) if valid.
* \returns False (zero) if invalid.
*/
2013-07-27 23:11:02 +00:00
int ast_ari_validate_sound ( struct ast_json * json );
2013-07-03 16:32:41 +00:00
2013-07-03 19:46:50 +00:00
/*!
2013-07-27 23:11:02 +00:00
* \brief Function pointer to ast_ari_validate_sound().
2013-07-03 19:46:50 +00:00
*
2013-07-27 23:11:02 +00:00
* See \ref ast_ari_model_validators.h for more details.
2013-07-03 19:46:50 +00:00
*/
2013-07-27 23:11:02 +00:00
ari_validator ast_ari_validate_sound_fn ( void );
2013-07-03 19:46:50 +00:00
2013-07-03 16:32:41 +00:00
/*!
* \brief Validator for Playback.
*
* Object representing the playback of media to a channel
*
* \param json JSON object to validate.
* \returns True (non-zero) if valid.
* \returns False (zero) if invalid.
*/
2013-07-27 23:11:02 +00:00
int ast_ari_validate_playback ( struct ast_json * json );
2013-07-03 16:32:41 +00:00
2013-07-03 19:46:50 +00:00
/*!
2013-07-27 23:11:02 +00:00
* \brief Function pointer to ast_ari_validate_playback().
2013-07-03 19:46:50 +00:00
*
2013-07-27 23:11:02 +00:00
* See \ref ast_ari_model_validators.h for more details.
2013-07-03 19:46:50 +00:00
*/
2013-07-27 23:11:02 +00:00
ari_validator ast_ari_validate_playback_fn ( void );
2013-07-03 19:46:50 +00:00
2013-11-23 17:48:28 +00:00
/*!
* \brief Validator for DeviceState.
*
* Represents the state of a device.
*
* \param json JSON object to validate.
* \returns True (non-zero) if valid.
* \returns False (zero) if invalid.
*/
int ast_ari_validate_device_state ( struct ast_json * json );
/*!
* \brief Function pointer to ast_ari_validate_device_state().
*
* See \ref ast_ari_model_validators.h for more details.
*/
ari_validator ast_ari_validate_device_state_fn ( void );
2014-01-14 23:44:57 +00:00
/*!
* \brief Validator for Mailbox.
*
* Represents the state of a mailbox.
*
* \param json JSON object to validate.
* \returns True (non-zero) if valid.
* \returns False (zero) if invalid.
*/
int ast_ari_validate_mailbox ( struct ast_json * json );
/*!
* \brief Function pointer to ast_ari_validate_mailbox().
*
* See \ref ast_ari_model_validators.h for more details.
*/
ari_validator ast_ari_validate_mailbox_fn ( void );
2019-03-07 07:41:14 -06:00
/*!
* \brief Validator for ApplicationMoveFailed.
*
* Notification that trying to move a channel to another Stasis application failed.
*
* \param json JSON object to validate.
* \returns True (non-zero) if valid.
* \returns False (zero) if invalid.
*/
int ast_ari_validate_application_move_failed ( struct ast_json * json );
/*!
* \brief Function pointer to ast_ari_validate_application_move_failed().
*
* See \ref ast_ari_model_validators.h for more details.
*/
ari_validator ast_ari_validate_application_move_failed_fn ( void );
2013-07-03 16:32:41 +00:00
/*!
* \brief Validator for ApplicationReplaced.
*
* Notification that another WebSocket has taken over for an application.
*
* An application may only be subscribed to by a single WebSocket at a time. If multiple WebSockets attempt to subscribe to the same application, the newer WebSocket wins, and the older one receives this event.
*
* \param json JSON object to validate.
* \returns True (non-zero) if valid.
* \returns False (zero) if invalid.
*/
2013-07-27 23:11:02 +00:00
int ast_ari_validate_application_replaced ( struct ast_json * json );
2013-07-03 16:32:41 +00:00
2013-07-03 19:46:50 +00:00
/*!
2013-07-27 23:11:02 +00:00
* \brief Function pointer to ast_ari_validate_application_replaced().
2013-07-03 19:46:50 +00:00
*
2013-07-27 23:11:02 +00:00
* See \ref ast_ari_model_validators.h for more details.
2013-07-03 19:46:50 +00:00
*/
2013-07-27 23:11:02 +00:00
ari_validator ast_ari_validate_application_replaced_fn ( void );
2013-07-03 19:46:50 +00:00
2014-02-01 16:26:57 +00:00
/*!
* \brief Validator for BridgeAttendedTransfer.
*
* Notification that an attended transfer has occurred.
*
* \param json JSON object to validate.
* \returns True (non-zero) if valid.
* \returns False (zero) if invalid.
*/
int ast_ari_validate_bridge_attended_transfer ( struct ast_json * json );
/*!
* \brief Function pointer to ast_ari_validate_bridge_attended_transfer().
*
* See \ref ast_ari_model_validators.h for more details.
*/
ari_validator ast_ari_validate_bridge_attended_transfer_fn ( void );
/*!
* \brief Validator for BridgeBlindTransfer.
*
* Notification that a blind transfer has occurred.
*
* \param json JSON object to validate.
* \returns True (non-zero) if valid.
* \returns False (zero) if invalid.
*/
int ast_ari_validate_bridge_blind_transfer ( struct ast_json * json );
/*!
* \brief Function pointer to ast_ari_validate_bridge_blind_transfer().
*
* See \ref ast_ari_model_validators.h for more details.
*/
ari_validator ast_ari_validate_bridge_blind_transfer_fn ( void );
2013-07-03 16:32:41 +00:00
/*!
* \brief Validator for BridgeCreated.
*
* Notification that a bridge has been created.
*
* \param json JSON object to validate.
* \returns True (non-zero) if valid.
* \returns False (zero) if invalid.
*/
2013-07-27 23:11:02 +00:00
int ast_ari_validate_bridge_created ( struct ast_json * json );
2013-07-03 16:32:41 +00:00
2013-07-03 19:46:50 +00:00
/*!
2013-07-27 23:11:02 +00:00
* \brief Function pointer to ast_ari_validate_bridge_created().
2013-07-03 19:46:50 +00:00
*
2013-07-27 23:11:02 +00:00
* See \ref ast_ari_model_validators.h for more details.
2013-07-03 19:46:50 +00:00
*/
2013-07-27 23:11:02 +00:00
ari_validator ast_ari_validate_bridge_created_fn ( void );
2013-07-03 19:46:50 +00:00
2013-07-03 16:32:41 +00:00
/*!
* \brief Validator for BridgeDestroyed.
*
* Notification that a bridge has been destroyed.
*
* \param json JSON object to validate.
* \returns True (non-zero) if valid.
* \returns False (zero) if invalid.
*/
2013-07-27 23:11:02 +00:00
int ast_ari_validate_bridge_destroyed ( struct ast_json * json );
2013-07-03 16:32:41 +00:00
2013-07-03 19:46:50 +00:00
/*!
2013-07-27 23:11:02 +00:00
* \brief Function pointer to ast_ari_validate_bridge_destroyed().
2013-07-03 19:46:50 +00:00
*
2013-07-27 23:11:02 +00:00
* See \ref ast_ari_model_validators.h for more details.
2013-07-03 19:46:50 +00:00
*/
2013-07-27 23:11:02 +00:00
ari_validator ast_ari_validate_bridge_destroyed_fn ( void );
2013-07-03 19:46:50 +00:00
2013-07-03 16:32:41 +00:00
/*!
* \brief Validator for BridgeMerged.
*
* Notification that one bridge has merged into another.
*
* \param json JSON object to validate.
* \returns True (non-zero) if valid.
* \returns False (zero) if invalid.
*/
2013-07-27 23:11:02 +00:00
int ast_ari_validate_bridge_merged ( struct ast_json * json );
2013-07-03 16:32:41 +00:00
2013-07-03 19:46:50 +00:00
/*!
2013-07-27 23:11:02 +00:00
* \brief Function pointer to ast_ari_validate_bridge_merged().
2013-07-03 19:46:50 +00:00
*
2013-07-27 23:11:02 +00:00
* See \ref ast_ari_model_validators.h for more details.
2013-07-03 19:46:50 +00:00
*/
2013-07-27 23:11:02 +00:00
ari_validator ast_ari_validate_bridge_merged_fn ( void );
2013-07-03 19:46:50 +00:00
2016-11-08 10:11:41 -06:00
/*!
* \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 );
2013-07-03 16:32:41 +00:00
/*!
* \brief Validator for ChannelCallerId.
*
* Channel changed Caller ID.
*
* \param json JSON object to validate.
* \returns True (non-zero) if valid.
* \returns False (zero) if invalid.
*/
2013-07-27 23:11:02 +00:00
int ast_ari_validate_channel_caller_id ( struct ast_json * json );
2013-07-03 16:32:41 +00:00
2013-07-03 19:46:50 +00:00
/*!
2013-07-27 23:11:02 +00:00
* \brief Function pointer to ast_ari_validate_channel_caller_id().
2013-07-03 19:46:50 +00:00
*
2013-07-27 23:11:02 +00:00
* See \ref ast_ari_model_validators.h for more details.
2013-07-03 19:46:50 +00:00
*/
2013-07-27 23:11:02 +00:00
ari_validator ast_ari_validate_channel_caller_id_fn ( void );
2013-07-03 19:46:50 +00:00
2014-12-08 16:24:36 +00:00
/*!
* \brief Validator for ChannelConnectedLine.
*
* Channel changed Connected Line.
*
* \param json JSON object to validate.
* \returns True (non-zero) if valid.
* \returns False (zero) if invalid.
*/
int ast_ari_validate_channel_connected_line ( struct ast_json * json );
/*!
* \brief Function pointer to ast_ari_validate_channel_connected_line().
*
* See \ref ast_ari_model_validators.h for more details.
*/
ari_validator ast_ari_validate_channel_connected_line_fn ( void );
2013-07-03 16:32:41 +00:00
/*!
* \brief Validator for ChannelCreated.
*
* Notification that a channel has been created.
*
* \param json JSON object to validate.
* \returns True (non-zero) if valid.
* \returns False (zero) if invalid.
*/
2013-07-27 23:11:02 +00:00
int ast_ari_validate_channel_created ( struct ast_json * json );
2013-07-03 16:32:41 +00:00
2013-07-03 19:46:50 +00:00
/*!
2013-07-27 23:11:02 +00:00
* \brief Function pointer to ast_ari_validate_channel_created().
2013-07-03 19:46:50 +00:00
*
2013-07-27 23:11:02 +00:00
* See \ref ast_ari_model_validators.h for more details.
2013-07-03 19:46:50 +00:00
*/
2013-07-27 23:11:02 +00:00
ari_validator ast_ari_validate_channel_created_fn ( void );
2013-07-03 19:46:50 +00:00
2013-07-03 16:32:41 +00:00
/*!
* \brief Validator for ChannelDestroyed.
*
* Notification that a channel has been destroyed.
*
* \param json JSON object to validate.
* \returns True (non-zero) if valid.
* \returns False (zero) if invalid.
*/
2013-07-27 23:11:02 +00:00
int ast_ari_validate_channel_destroyed ( struct ast_json * json );
2013-07-03 16:32:41 +00:00
2013-07-03 19:46:50 +00:00
/*!
2013-07-27 23:11:02 +00:00
* \brief Function pointer to ast_ari_validate_channel_destroyed().
2013-07-03 19:46:50 +00:00
*
2013-07-27 23:11:02 +00:00
* See \ref ast_ari_model_validators.h for more details.
2013-07-03 19:46:50 +00:00
*/
2013-07-27 23:11:02 +00:00
ari_validator ast_ari_validate_channel_destroyed_fn ( void );
2013-07-03 19:46:50 +00:00
2013-07-03 16:32:41 +00:00
/*!
* \brief Validator for ChannelDialplan.
*
* Channel changed location in the dialplan.
*
* \param json JSON object to validate.
* \returns True (non-zero) if valid.
* \returns False (zero) if invalid.
*/
2013-07-27 23:11:02 +00:00
int ast_ari_validate_channel_dialplan ( struct ast_json * json );
2013-07-03 16:32:41 +00:00
2013-07-03 19:46:50 +00:00
/*!
2013-07-27 23:11:02 +00:00
* \brief Function pointer to ast_ari_validate_channel_dialplan().
2013-07-03 19:46:50 +00:00
*
2013-07-27 23:11:02 +00:00
* See \ref ast_ari_model_validators.h for more details.
2013-07-03 19:46:50 +00:00
*/
2013-07-27 23:11:02 +00:00
ari_validator ast_ari_validate_channel_dialplan_fn ( void );
2013-07-03 19:46:50 +00:00
2013-07-03 16:32:41 +00:00
/*!
* \brief Validator for ChannelDtmfReceived.
*
* DTMF received on a channel.
*
* This event is sent when the DTMF ends. There is no notification about the start of DTMF
*
* \param json JSON object to validate.
* \returns True (non-zero) if valid.
* \returns False (zero) if invalid.
*/
2013-07-27 23:11:02 +00:00
int ast_ari_validate_channel_dtmf_received ( struct ast_json * json );
2013-07-03 16:32:41 +00:00
2013-07-03 19:46:50 +00:00
/*!
2013-07-27 23:11:02 +00:00
* \brief Function pointer to ast_ari_validate_channel_dtmf_received().
2013-07-03 19:46:50 +00:00
*
2013-07-27 23:11:02 +00:00
* See \ref ast_ari_model_validators.h for more details.
2013-07-03 19:46:50 +00:00
*/
2013-07-27 23:11:02 +00:00
ari_validator ast_ari_validate_channel_dtmf_received_fn ( void );
2013-07-03 19:46:50 +00:00
2013-07-03 16:32:41 +00:00
/*!
* \brief Validator for ChannelEnteredBridge.
*
* Notification that a channel has entered a bridge.
*
* \param json JSON object to validate.
* \returns True (non-zero) if valid.
* \returns False (zero) if invalid.
*/
2013-07-27 23:11:02 +00:00
int ast_ari_validate_channel_entered_bridge ( struct ast_json * json );
2013-07-03 16:32:41 +00:00
2013-07-03 19:46:50 +00:00
/*!
2013-07-27 23:11:02 +00:00
* \brief Function pointer to ast_ari_validate_channel_entered_bridge().
2013-07-03 19:46:50 +00:00
*
2013-07-27 23:11:02 +00:00
* See \ref ast_ari_model_validators.h for more details.
2013-07-03 19:46:50 +00:00
*/
2013-07-27 23:11:02 +00:00
ari_validator ast_ari_validate_channel_entered_bridge_fn ( void );
2013-07-03 19:46:50 +00:00
2013-07-03 16:32:41 +00:00
/*!
* \brief Validator for ChannelHangupRequest.
*
* A hangup was requested on the channel.
*
* \param json JSON object to validate.
* \returns True (non-zero) if valid.
* \returns False (zero) if invalid.
*/
2013-07-27 23:11:02 +00:00
int ast_ari_validate_channel_hangup_request ( struct ast_json * json );
2013-07-03 16:32:41 +00:00
2013-07-03 19:46:50 +00:00
/*!
2013-07-27 23:11:02 +00:00
* \brief Function pointer to ast_ari_validate_channel_hangup_request().
2013-07-03 19:46:50 +00:00
*
2013-07-27 23:11:02 +00:00
* See \ref ast_ari_model_validators.h for more details.
2013-07-03 19:46:50 +00:00
*/
2013-07-27 23:11:02 +00:00
ari_validator ast_ari_validate_channel_hangup_request_fn ( void );
2013-07-03 19:46:50 +00:00
2015-04-07 15:22:42 +00:00
/*!
* \brief Validator for ChannelHold.
*
* A channel initiated a media hold.
*
* \param json JSON object to validate.
* \returns True (non-zero) if valid.
* \returns False (zero) if invalid.
*/
int ast_ari_validate_channel_hold ( struct ast_json * json );
/*!
* \brief Function pointer to ast_ari_validate_channel_hold().
*
* See \ref ast_ari_model_validators.h for more details.
*/
ari_validator ast_ari_validate_channel_hold_fn ( void );
2013-07-03 16:32:41 +00:00
/*!
* \brief Validator for ChannelLeftBridge.
*
* Notification that a channel has left a bridge.
*
* \param json JSON object to validate.
* \returns True (non-zero) if valid.
* \returns False (zero) if invalid.
*/
2013-07-27 23:11:02 +00:00
int ast_ari_validate_channel_left_bridge ( struct ast_json * json );
2013-07-03 16:32:41 +00:00
2013-07-03 19:46:50 +00:00
/*!
2013-07-27 23:11:02 +00:00
* \brief Function pointer to ast_ari_validate_channel_left_bridge().
2013-07-03 19:46:50 +00:00
*
2013-07-27 23:11:02 +00:00
* See \ref ast_ari_model_validators.h for more details.
2013-07-03 19:46:50 +00:00
*/
2013-07-27 23:11:02 +00:00
ari_validator ast_ari_validate_channel_left_bridge_fn ( void );
2013-07-03 19:46:50 +00:00
2013-07-03 16:32:41 +00:00
/*!
* \brief Validator for ChannelStateChange.
*
* Notification of a channel's state change.
*
* \param json JSON object to validate.
* \returns True (non-zero) if valid.
* \returns False (zero) if invalid.
*/
2013-07-27 23:11:02 +00:00
int ast_ari_validate_channel_state_change ( struct ast_json * json );
2013-07-03 16:32:41 +00:00
2013-07-03 19:46:50 +00:00
/*!
2013-07-27 23:11:02 +00:00
* \brief Function pointer to ast_ari_validate_channel_state_change().
2013-07-03 19:46:50 +00:00
*
2013-07-27 23:11:02 +00:00
* See \ref ast_ari_model_validators.h for more details.
2013-07-03 19:46:50 +00:00
*/
2013-07-27 23:11:02 +00:00
ari_validator ast_ari_validate_channel_state_change_fn ( void );
2013-07-03 19:46:50 +00:00
2014-05-30 12:42:57 +00:00
/*!
* \brief Validator for ChannelTalkingFinished.
*
* Talking is no longer detected on the channel.
*
* \param json JSON object to validate.
* \returns True (non-zero) if valid.
* \returns False (zero) if invalid.
*/
int ast_ari_validate_channel_talking_finished ( struct ast_json * json );
/*!
* \brief Function pointer to ast_ari_validate_channel_talking_finished().
*
* See \ref ast_ari_model_validators.h for more details.
*/
ari_validator ast_ari_validate_channel_talking_finished_fn ( void );
/*!
* \brief Validator for ChannelTalkingStarted.
*
* Talking was detected on the channel.
*
* \param json JSON object to validate.
* \returns True (non-zero) if valid.
* \returns False (zero) if invalid.
*/
int ast_ari_validate_channel_talking_started ( struct ast_json * json );
/*!
* \brief Function pointer to ast_ari_validate_channel_talking_started().
*
* See \ref ast_ari_model_validators.h for more details.
*/
ari_validator ast_ari_validate_channel_talking_started_fn ( void );
2015-04-07 15:22:42 +00:00
/*!
* \brief Validator for ChannelUnhold.
*
* A channel initiated a media unhold.
*
* \param json JSON object to validate.
* \returns True (non-zero) if valid.
* \returns False (zero) if invalid.
*/
int ast_ari_validate_channel_unhold ( struct ast_json * json );
/*!
* \brief Function pointer to ast_ari_validate_channel_unhold().
*
* See \ref ast_ari_model_validators.h for more details.
*/
ari_validator ast_ari_validate_channel_unhold_fn ( void );
2013-07-03 16:32:41 +00:00
/*!
* \brief Validator for ChannelUserevent.
*
* User-generated event with additional user-defined fields in the object.
*
* \param json JSON object to validate.
* \returns True (non-zero) if valid.
* \returns False (zero) if invalid.
*/
2013-07-27 23:11:02 +00:00
int ast_ari_validate_channel_userevent ( struct ast_json * json );
2013-07-03 16:32:41 +00:00
2013-07-03 19:46:50 +00:00
/*!
2013-07-27 23:11:02 +00:00
* \brief Function pointer to ast_ari_validate_channel_userevent().
2013-07-03 19:46:50 +00:00
*
2013-07-27 23:11:02 +00:00
* See \ref ast_ari_model_validators.h for more details.
2013-07-03 19:46:50 +00:00
*/
2013-07-27 23:11:02 +00:00
ari_validator ast_ari_validate_channel_userevent_fn ( void );
2013-07-03 19:46:50 +00:00
2013-07-03 16:32:41 +00:00
/*!
* \brief Validator for ChannelVarset.
*
* Channel variable changed.
*
* \param json JSON object to validate.
* \returns True (non-zero) if valid.
* \returns False (zero) if invalid.
*/
2013-07-27 23:11:02 +00:00
int ast_ari_validate_channel_varset ( struct ast_json * json );
2013-07-03 16:32:41 +00:00
2013-07-03 19:46:50 +00:00
/*!
2013-07-27 23:11:02 +00:00
* \brief Function pointer to ast_ari_validate_channel_varset().
2013-07-03 19:46:50 +00:00
*
2013-07-27 23:11:02 +00:00
* See \ref ast_ari_model_validators.h for more details.
2013-07-03 19:46:50 +00:00
*/
2013-07-27 23:11:02 +00:00
ari_validator ast_ari_validate_channel_varset_fn ( void );
2013-07-03 19:46:50 +00:00
2015-09-03 21:19:21 -05:00
/*!
* \brief Validator for ContactInfo.
*
* Detailed information about a contact on an endpoint.
*
* \param json JSON object to validate.
* \returns True (non-zero) if valid.
* \returns False (zero) if invalid.
*/
int ast_ari_validate_contact_info ( struct ast_json * json );
/*!
* \brief Function pointer to ast_ari_validate_contact_info().
*
* See \ref ast_ari_model_validators.h for more details.
*/
ari_validator ast_ari_validate_contact_info_fn ( void );
/*!
* \brief Validator for ContactStatusChange.
*
* The state of a contact on an endpoint has changed.
*
* \param json JSON object to validate.
* \returns True (non-zero) if valid.
* \returns False (zero) if invalid.
*/
int ast_ari_validate_contact_status_change ( struct ast_json * json );
/*!
* \brief Function pointer to ast_ari_validate_contact_status_change().
*
* See \ref ast_ari_model_validators.h for more details.
*/
ari_validator ast_ari_validate_contact_status_change_fn ( void );
2013-11-23 17:48:28 +00:00
/*!
* \brief Validator for DeviceStateChanged.
*
* Notification that a device state has changed.
*
* \param json JSON object to validate.
* \returns True (non-zero) if valid.
* \returns False (zero) if invalid.
*/
int ast_ari_validate_device_state_changed ( struct ast_json * json );
/*!
* \brief Function pointer to ast_ari_validate_device_state_changed().
*
* See \ref ast_ari_model_validators.h for more details.
*/
ari_validator ast_ari_validate_device_state_changed_fn ( void );
2013-12-14 17:19:41 +00:00
/*!
* \brief Validator for Dial.
*
* Dialing state has changed.
*
* \param json JSON object to validate.
* \returns True (non-zero) if valid.
* \returns False (zero) if invalid.
*/
int ast_ari_validate_dial ( struct ast_json * json );
/*!
* \brief Function pointer to ast_ari_validate_dial().
*
* See \ref ast_ari_model_validators.h for more details.
*/
ari_validator ast_ari_validate_dial_fn ( void );
2013-10-04 16:01:48 +00:00
/*!
* \brief Validator for EndpointStateChange.
*
* Endpoint state changed.
*
* \param json JSON object to validate.
* \returns True (non-zero) if valid.
* \returns False (zero) if invalid.
*/
int ast_ari_validate_endpoint_state_change ( struct ast_json * json );
/*!
* \brief Function pointer to ast_ari_validate_endpoint_state_change().
*
* See \ref ast_ari_model_validators.h for more details.
*/
ari_validator ast_ari_validate_endpoint_state_change_fn ( void );
2013-07-03 16:32:41 +00:00
/*!
* \brief Validator for Event.
*
* Base type for asynchronous events from Asterisk.
*
* \param json JSON object to validate.
* \returns True (non-zero) if valid.
* \returns False (zero) if invalid.
*/
2013-07-27 23:11:02 +00:00
int ast_ari_validate_event ( struct ast_json * json );
2013-07-03 16:32:41 +00:00
2013-07-03 19:46:50 +00:00
/*!
2013-07-27 23:11:02 +00:00
* \brief Function pointer to ast_ari_validate_event().
2013-07-03 19:46:50 +00:00
*
2013-07-27 23:11:02 +00:00
* See \ref ast_ari_model_validators.h for more details.
2013-07-03 19:46:50 +00:00
*/
2013-07-27 23:11:02 +00:00
ari_validator ast_ari_validate_event_fn ( void );
2013-07-03 19:46:50 +00:00
2013-07-05 19:15:27 +00:00
/*!
* \brief Validator for Message.
*
* Base type for errors and events
*
* \param json JSON object to validate.
* \returns True (non-zero) if valid.
* \returns False (zero) if invalid.
*/
2013-07-27 23:11:02 +00:00
int ast_ari_validate_message ( struct ast_json * json );
2013-07-05 19:15:27 +00:00
/*!
2013-07-27 23:11:02 +00:00
* \brief Function pointer to ast_ari_validate_message().
2013-07-05 19:15:27 +00:00
*
2013-07-27 23:11:02 +00:00
* See \ref ast_ari_model_validators.h for more details.
2013-07-05 19:15:27 +00:00
*/
2013-07-27 23:11:02 +00:00
ari_validator ast_ari_validate_message_fn ( void );
2013-07-05 19:15:27 +00:00
/*!
* \brief Validator for MissingParams.
*
* Error event sent when required params are missing.
*
* \param json JSON object to validate.
* \returns True (non-zero) if valid.
* \returns False (zero) if invalid.
*/
2013-07-27 23:11:02 +00:00
int ast_ari_validate_missing_params ( struct ast_json * json );
2013-07-05 19:15:27 +00:00
/*!
2013-07-27 23:11:02 +00:00
* \brief Function pointer to ast_ari_validate_missing_params().
2013-07-05 19:15:27 +00:00
*
2013-07-27 23:11:02 +00:00
* See \ref ast_ari_model_validators.h for more details.
2013-07-05 19:15:27 +00:00
*/
2013-07-27 23:11:02 +00:00
ari_validator ast_ari_validate_missing_params_fn ( void );
2013-07-05 19:15:27 +00:00
2015-09-03 21:19:21 -05:00
/*!
* \brief Validator for Peer.
*
* Detailed information about a remote peer that communicates with Asterisk.
*
* \param json JSON object to validate.
* \returns True (non-zero) if valid.
* \returns False (zero) if invalid.
*/
int ast_ari_validate_peer ( struct ast_json * json );
/*!
* \brief Function pointer to ast_ari_validate_peer().
*
* See \ref ast_ari_model_validators.h for more details.
*/
ari_validator ast_ari_validate_peer_fn ( void );
/*!
* \brief Validator for PeerStatusChange.
*
* The state of a peer associated with an endpoint has changed.
*
* \param json JSON object to validate.
* \returns True (non-zero) if valid.
* \returns False (zero) if invalid.
*/
int ast_ari_validate_peer_status_change ( struct ast_json * json );
/*!
* \brief Function pointer to ast_ari_validate_peer_status_change().
*
* See \ref ast_ari_model_validators.h for more details.
*/
ari_validator ast_ari_validate_peer_status_change_fn ( void );
2016-04-18 18:17:08 -05:00
/*!
* \brief Validator for PlaybackContinuing.
*
* Event showing the continuation of a media playback operation from one media URI to the next in the list.
*
* \param json JSON object to validate.
* \returns True (non-zero) if valid.
* \returns False (zero) if invalid.
*/
int ast_ari_validate_playback_continuing ( struct ast_json * json );
/*!
* \brief Function pointer to ast_ari_validate_playback_continuing().
*
* See \ref ast_ari_model_validators.h for more details.
*/
ari_validator ast_ari_validate_playback_continuing_fn ( void );
2013-07-03 16:32:41 +00:00
/*!
* \brief Validator for PlaybackFinished.
*
* Event showing the completion of a media playback operation.
*
* \param json JSON object to validate.
* \returns True (non-zero) if valid.
* \returns False (zero) if invalid.
*/
2013-07-27 23:11:02 +00:00
int ast_ari_validate_playback_finished ( struct ast_json * json );
2013-07-03 16:32:41 +00:00
2013-07-03 19:46:50 +00:00
/*!
2013-07-27 23:11:02 +00:00
* \brief Function pointer to ast_ari_validate_playback_finished().
2013-07-03 19:46:50 +00:00
*
2013-07-27 23:11:02 +00:00
* See \ref ast_ari_model_validators.h for more details.
2013-07-03 19:46:50 +00:00
*/
2013-07-27 23:11:02 +00:00
ari_validator ast_ari_validate_playback_finished_fn ( void );
2013-07-03 19:46:50 +00:00
2013-07-03 16:32:41 +00:00
/*!
* \brief Validator for PlaybackStarted.
*
* Event showing the start of a media playback operation.
*
* \param json JSON object to validate.
* \returns True (non-zero) if valid.
* \returns False (zero) if invalid.
*/
2013-07-27 23:11:02 +00:00
int ast_ari_validate_playback_started ( struct ast_json * json );
2013-07-03 16:32:41 +00:00
2013-07-03 19:46:50 +00:00
/*!
2013-07-27 23:11:02 +00:00
* \brief Function pointer to ast_ari_validate_playback_started().
2013-07-03 19:46:50 +00:00
*
2013-07-27 23:11:02 +00:00
* See \ref ast_ari_model_validators.h for more details.
2013-07-03 19:46:50 +00:00
*/
2013-07-27 23:11:02 +00:00
ari_validator ast_ari_validate_playback_started_fn ( void );
2013-07-03 19:46:50 +00:00
2013-10-25 21:28:32 +00:00
/*!
* \brief Validator for RecordingFailed.
*
* Event showing failure of a recording operation.
*
* \param json JSON object to validate.
* \returns True (non-zero) if valid.
* \returns False (zero) if invalid.
*/
int ast_ari_validate_recording_failed ( struct ast_json * json );
/*!
* \brief Function pointer to ast_ari_validate_recording_failed().
*
* See \ref ast_ari_model_validators.h for more details.
*/
ari_validator ast_ari_validate_recording_failed_fn ( void );
/*!
* \brief Validator for RecordingFinished.
*
* Event showing the completion of a recording operation.
*
* \param json JSON object to validate.
* \returns True (non-zero) if valid.
* \returns False (zero) if invalid.
*/
int ast_ari_validate_recording_finished ( struct ast_json * json );
/*!
* \brief Function pointer to ast_ari_validate_recording_finished().
*
* See \ref ast_ari_model_validators.h for more details.
*/
ari_validator ast_ari_validate_recording_finished_fn ( void );
/*!
* \brief Validator for RecordingStarted.
*
* Event showing the start of a recording operation.
*
* \param json JSON object to validate.
* \returns True (non-zero) if valid.
* \returns False (zero) if invalid.
*/
int ast_ari_validate_recording_started ( struct ast_json * json );
/*!
* \brief Function pointer to ast_ari_validate_recording_started().
*
* See \ref ast_ari_model_validators.h for more details.
*/
ari_validator ast_ari_validate_recording_started_fn ( void );
2013-07-03 16:32:41 +00:00
/*!
* \brief Validator for StasisEnd.
*
2013-11-12 15:27:00 +00:00
* Notification that a channel has left a Stasis application.
2013-07-03 16:32:41 +00:00
*
* \param json JSON object to validate.
* \returns True (non-zero) if valid.
* \returns False (zero) if invalid.
*/
2013-07-27 23:11:02 +00:00
int ast_ari_validate_stasis_end ( struct ast_json * json );
2013-07-03 16:32:41 +00:00
2013-07-03 19:46:50 +00:00
/*!
2013-07-27 23:11:02 +00:00
* \brief Function pointer to ast_ari_validate_stasis_end().
2013-07-03 19:46:50 +00:00
*
2013-07-27 23:11:02 +00:00
* See \ref ast_ari_model_validators.h for more details.
2013-07-03 19:46:50 +00:00
*/
2013-07-27 23:11:02 +00:00
ari_validator ast_ari_validate_stasis_end_fn ( void );
2013-07-03 19:46:50 +00:00
2013-07-03 16:32:41 +00:00
/*!
* \brief Validator for StasisStart.
*
2013-11-12 15:27:00 +00:00
* Notification that a channel has entered a Stasis application.
2013-07-03 16:32:41 +00:00
*
* \param json JSON object to validate.
* \returns True (non-zero) if valid.
* \returns False (zero) if invalid.
*/
2013-07-27 23:11:02 +00:00
int ast_ari_validate_stasis_start ( struct ast_json * json );
2013-07-03 16:32:41 +00:00
2013-07-03 19:46:50 +00:00
/*!
2013-07-27 23:11:02 +00:00
* \brief Function pointer to ast_ari_validate_stasis_start().
2013-07-03 19:46:50 +00:00
*
2013-07-27 23:11:02 +00:00
* See \ref ast_ari_model_validators.h for more details.
2013-07-03 19:46:50 +00:00
*/
2013-07-27 23:11:02 +00:00
ari_validator ast_ari_validate_stasis_start_fn ( void );
2013-07-03 19:46:50 +00:00
2014-08-05 21:44:09 +00:00
/*!
* \brief Validator for TextMessageReceived.
*
* A text message was received from an endpoint.
*
* \param json JSON object to validate.
* \returns True (non-zero) if valid.
* \returns False (zero) if invalid.
*/
int ast_ari_validate_text_message_received ( struct ast_json * json );
/*!
* \brief Function pointer to ast_ari_validate_text_message_received().
*
* See \ref ast_ari_model_validators.h for more details.
*/
ari_validator ast_ari_validate_text_message_received_fn ( void );
2013-10-04 16:01:48 +00:00
/*!
* \brief Validator for Application.
*
* Details of a Stasis application
*
* \param json JSON object to validate.
* \returns True (non-zero) if valid.
* \returns False (zero) if invalid.
*/
int ast_ari_validate_application ( struct ast_json * json );
/*!
* \brief Function pointer to ast_ari_validate_application().
*
* See \ref ast_ari_model_validators.h for more details.
*/
ari_validator ast_ari_validate_application_fn ( void );
2013-07-03 16:32:41 +00:00
/*
* JSON models
*
* AsteriskInfo
2013-08-02 14:46:21 +00:00
* - build: BuildInfo
* - config: ConfigInfo
* - status: StatusInfo
* - system: SystemInfo
2019-01-29 00:21:28 +01:00
* AsteriskPing
* - asterisk_id: string (required)
* - ping: string (required)
* - timestamp: string (required)
2013-08-02 14:46:21 +00:00
* BuildInfo
* - date: string (required)
* - kernel: string (required)
* - machine: string (required)
* - options: string (required)
* - os: string (required)
* - user: string (required)
* ConfigInfo
* - default_language: string (required)
* - max_channels: int
* - max_load: double
* - max_open_files: int
* - name: string (required)
* - setid: SetId (required)
2015-07-08 16:39:35 -05:00
* ConfigTuple
* - attribute: string (required)
* - value: string (required)
2015-07-29 14:17:09 -05:00
* LogChannel
2015-08-07 11:14:06 -05:00
* - channel: string (required)
2015-08-06 15:18:04 -05:00
* - configuration: string (required)
* - status: string (required)
* - type: string (required)
2015-06-26 10:57:15 -05:00
* Module
* - description: string (required)
* - name: string (required)
* - status: string (required)
* - support_level: string (required)
* - use_count: int (required)
2013-08-02 14:46:21 +00:00
* SetId
* - group: string (required)
* - user: string (required)
* StatusInfo
* - last_reload_time: Date (required)
* - startup_time: Date (required)
* SystemInfo
* - entity_id: string (required)
* - version: string (required)
2013-07-10 13:50:48 +00:00
* Variable
* - value: string (required)
2013-07-03 16:32:41 +00:00
* Endpoint
* - channel_ids: List[string] (required)
* - resource: string (required)
* - state: string
* - technology: string (required)
2014-08-05 21:44:09 +00:00
* TextMessage
* - body: string (required)
* - from: string (required)
* - to: string (required)
* - variables: List[TextMessageVariable]
* TextMessageVariable
* - key: string (required)
* - value: string (required)
2013-07-03 16:32:41 +00:00
* CallerID
* - name: string (required)
* - number: string (required)
* Channel
* - accountcode: string (required)
* - caller: CallerID (required)
2016-11-11 11:45:37 -05:00
* - channelvars: object
2013-07-03 16:32:41 +00:00
* - connected: CallerID (required)
* - creationtime: Date (required)
* - dialplan: DialplanCEP (required)
* - id: string (required)
2014-12-09 20:20:27 +00:00
* - language: string (required)
2013-07-03 16:32:41 +00:00
* - name: string (required)
* - state: string (required)
* Dialed
* DialplanCEP
* - context: string (required)
* - exten: string (required)
* - priority: long (required)
* Bridge
* - bridge_class: string (required)
* - bridge_type: string (required)
* - channels: List[string] (required)
2019-02-08 22:32:18 +01:00
* - creationtime: Date (required)
2013-12-17 23:25:49 +00:00
* - creator: string (required)
2013-07-03 16:32:41 +00:00
* - id: string (required)
2013-12-17 23:25:49 +00:00
* - name: string (required)
2013-07-03 16:32:41 +00:00
* - technology: string (required)
2016-11-08 10:11:41 -06:00
* - video_mode: string
* - video_source_id: string
2013-07-03 16:32:41 +00:00
* LiveRecording
2013-11-23 12:52:54 +00:00
* - cause: string
2014-07-25 14:47:09 +00:00
* - duration: int
2013-07-19 19:35:21 +00:00
* - format: string (required)
* - name: string (required)
2014-07-25 14:47:09 +00:00
* - silence_duration: int
2013-07-19 19:35:21 +00:00
* - state: string (required)
2014-07-25 14:47:09 +00:00
* - talking_duration: int
2014-03-06 18:20:37 +00:00
* - target_uri: string (required)
2013-07-03 16:32:41 +00:00
* StoredRecording
2013-08-30 13:28:50 +00:00
* - format: string (required)
* - name: string (required)
2013-07-03 16:32:41 +00:00
* FormatLangPair
* - format: string (required)
* - language: string (required)
* Sound
* - formats: List[FormatLangPair] (required)
* - id: string (required)
* - text: string
* Playback
* - id: string (required)
* - language: string
* - media_uri: string (required)
2016-04-18 18:17:08 -05:00
* - next_media_uri: string
2013-07-03 16:32:41 +00:00
* - state: string (required)
* - target_uri: string (required)
2013-11-23 17:48:28 +00:00
* DeviceState
* - name: string (required)
* - state: string (required)
2014-01-14 23:44:57 +00:00
* Mailbox
* - name: string (required)
* - new_messages: int (required)
* - old_messages: int (required)
2019-03-07 07:41:14 -06:00
* ApplicationMoveFailed
* - asterisk_id: string
* - type: string (required)
* - application: string (required)
* - timestamp: Date
* - args: List[string] (required)
* - channel: Channel (required)
* - destination: string (required)
2013-07-03 16:32:41 +00:00
* ApplicationReplaced
2016-10-15 20:05:05 -05:00
* - asterisk_id: string
2013-07-05 19:15:27 +00:00
* - type: string (required)
2013-07-03 16:32:41 +00:00
* - application: string (required)
* - timestamp: Date
2014-02-01 16:26:57 +00:00
* BridgeAttendedTransfer
2016-10-15 20:05:05 -05:00
* - asterisk_id: string
2014-02-01 16:26:57 +00:00
* - type: string (required)
* - application: string (required)
* - timestamp: Date
* - destination_application: string
* - destination_bridge: string
* - destination_link_first_leg: Channel
* - destination_link_second_leg: Channel
* - destination_threeway_bridge: Bridge
* - destination_threeway_channel: Channel
* - destination_type: string (required)
* - is_external: boolean (required)
2014-08-07 15:30:19 +00:00
* - replace_channel: Channel
2014-02-01 16:26:57 +00:00
* - result: string (required)
2014-08-07 15:30:19 +00:00
* - transfer_target: Channel
* - transferee: Channel
2014-02-01 16:26:57 +00:00
* - transferer_first_leg: Channel (required)
* - transferer_first_leg_bridge: Bridge
* - transferer_second_leg: Channel (required)
* - transferer_second_leg_bridge: Bridge
* BridgeBlindTransfer
2016-10-15 20:05:05 -05:00
* - asterisk_id: string
2014-02-01 16:26:57 +00:00
* - type: string (required)
* - application: string (required)
* - timestamp: Date
* - bridge: Bridge
* - channel: Channel (required)
* - context: string (required)
* - exten: string (required)
* - is_external: boolean (required)
2014-08-20 13:06:33 +00:00
* - replace_channel: Channel
2014-02-01 16:26:57 +00:00
* - result: string (required)
2014-08-07 15:30:19 +00:00
* - transferee: Channel
2013-07-03 16:32:41 +00:00
* BridgeCreated
2016-10-15 20:05:05 -05:00
* - asterisk_id: string
2013-07-05 19:15:27 +00:00
* - type: string (required)
2013-07-03 16:32:41 +00:00
* - application: string (required)
* - timestamp: Date
* - bridge: Bridge (required)
* BridgeDestroyed
2016-10-15 20:05:05 -05:00
* - asterisk_id: string
2013-07-05 19:15:27 +00:00
* - type: string (required)
2013-07-03 16:32:41 +00:00
* - application: string (required)
* - timestamp: Date
* - bridge: Bridge (required)
* BridgeMerged
2016-10-15 20:05:05 -05:00
* - asterisk_id: string
2013-07-05 19:15:27 +00:00
* - type: string (required)
2013-07-03 16:32:41 +00:00
* - application: string (required)
* - timestamp: Date
* - bridge: Bridge (required)
* - bridge_from: Bridge (required)
2016-11-08 10:11:41 -06:00
* BridgeVideoSourceChanged
* - asterisk_id: string
* - type: string (required)
* - application: string (required)
* - timestamp: Date
* - bridge: Bridge (required)
* - old_video_source_id: string
2013-07-03 16:32:41 +00:00
* ChannelCallerId
2016-10-15 20:05:05 -05:00
* - asterisk_id: string
2013-07-05 19:15:27 +00:00
* - type: string (required)
2013-07-03 16:32:41 +00:00
* - application: string (required)
* - timestamp: Date
* - caller_presentation: int (required)
* - caller_presentation_txt: string (required)
* - channel: Channel (required)
2014-12-08 16:24:36 +00:00
* ChannelConnectedLine
2016-10-15 20:05:05 -05:00
* - asterisk_id: string
2014-12-08 16:24:36 +00:00
* - type: string (required)
* - application: string (required)
* - timestamp: Date
* - channel: Channel (required)
2013-07-03 16:32:41 +00:00
* ChannelCreated
2016-10-15 20:05:05 -05:00
* - asterisk_id: string
2013-07-05 19:15:27 +00:00
* - type: string (required)
2013-07-03 16:32:41 +00:00
* - application: string (required)
* - timestamp: Date
* - channel: Channel (required)
* ChannelDestroyed
2016-10-15 20:05:05 -05:00
* - asterisk_id: string
2013-07-05 19:15:27 +00:00
* - type: string (required)
2013-07-03 16:32:41 +00:00
* - application: string (required)
* - timestamp: Date
* - cause: int (required)
* - cause_txt: string (required)
* - channel: Channel (required)
* ChannelDialplan
2016-10-15 20:05:05 -05:00
* - asterisk_id: string
2013-07-05 19:15:27 +00:00
* - type: string (required)
2013-07-03 16:32:41 +00:00
* - application: string (required)
* - timestamp: Date
* - channel: Channel (required)
* - dialplan_app: string (required)
* - dialplan_app_data: string (required)
* ChannelDtmfReceived
2016-10-15 20:05:05 -05:00
* - asterisk_id: string
2013-07-05 19:15:27 +00:00
* - type: string (required)
2013-07-03 16:32:41 +00:00
* - application: string (required)
* - timestamp: Date
* - channel: Channel (required)
* - digit: string (required)
* - duration_ms: int (required)
* ChannelEnteredBridge
2016-10-15 20:05:05 -05:00
* - asterisk_id: string
2013-07-05 19:15:27 +00:00
* - type: string (required)
2013-07-03 16:32:41 +00:00
* - application: string (required)
* - timestamp: Date
* - bridge: Bridge (required)
* - channel: Channel
* ChannelHangupRequest
2016-10-15 20:05:05 -05:00
* - asterisk_id: string
2013-07-05 19:15:27 +00:00
* - type: string (required)
2013-07-03 16:32:41 +00:00
* - application: string (required)
* - timestamp: Date
* - cause: int
* - channel: Channel (required)
* - soft: boolean
2015-04-07 15:22:42 +00:00
* ChannelHold
2016-10-15 20:05:05 -05:00
* - asterisk_id: string
2015-04-07 15:22:42 +00:00
* - type: string (required)
* - application: string (required)
* - timestamp: Date
* - channel: Channel (required)
2015-04-10 14:56:05 +00:00
* - musicclass: string
2013-07-03 16:32:41 +00:00
* ChannelLeftBridge
2016-10-15 20:05:05 -05:00
* - asterisk_id: string
2013-07-05 19:15:27 +00:00
* - type: string (required)
2013-07-03 16:32:41 +00:00
* - application: string (required)
* - timestamp: Date
* - bridge: Bridge (required)
* - channel: Channel (required)
* ChannelStateChange
2016-10-15 20:05:05 -05:00
* - asterisk_id: string
2013-07-05 19:15:27 +00:00
* - type: string (required)
2013-07-03 16:32:41 +00:00
* - application: string (required)
* - timestamp: Date
* - channel: Channel (required)
2014-05-30 12:42:57 +00:00
* ChannelTalkingFinished
2016-10-15 20:05:05 -05:00
* - asterisk_id: string
2014-05-30 12:42:57 +00:00
* - type: string (required)
* - application: string (required)
* - timestamp: Date
* - channel: Channel (required)
* - duration: int (required)
* ChannelTalkingStarted
2016-10-15 20:05:05 -05:00
* - asterisk_id: string
2014-05-30 12:42:57 +00:00
* - type: string (required)
* - application: string (required)
* - timestamp: Date
* - channel: Channel (required)
2015-04-07 15:22:42 +00:00
* ChannelUnhold
2016-10-15 20:05:05 -05:00
* - asterisk_id: string
2015-04-07 15:22:42 +00:00
* - type: string (required)
* - application: string (required)
* - timestamp: Date
* - channel: Channel (required)
2013-07-03 16:32:41 +00:00
* ChannelUserevent
2016-10-15 20:05:05 -05:00
* - asterisk_id: string
2013-07-05 19:15:27 +00:00
* - type: string (required)
2013-07-03 16:32:41 +00:00
* - application: string (required)
* - timestamp: Date
2014-05-22 16:09:51 +00:00
* - bridge: Bridge
* - channel: Channel
* - endpoint: Endpoint
2013-07-03 16:32:41 +00:00
* - eventname: string (required)
2013-10-04 16:01:48 +00:00
* - userevent: object (required)
2013-07-03 16:32:41 +00:00
* ChannelVarset
2016-10-15 20:05:05 -05:00
* - asterisk_id: string
2013-07-05 19:15:27 +00:00
* - type: string (required)
2013-07-03 16:32:41 +00:00
* - application: string (required)
* - timestamp: Date
* - channel: Channel
* - value: string (required)
* - variable: string (required)
2015-09-03 21:19:21 -05:00
* ContactInfo
* - aor: string (required)
* - contact_status: string (required)
* - roundtrip_usec: string
* - uri: string (required)
* ContactStatusChange
2016-10-15 20:05:05 -05:00
* - asterisk_id: string
2015-09-03 21:19:21 -05:00
* - type: string (required)
* - application: string (required)
* - timestamp: Date
* - contact_info: ContactInfo (required)
* - endpoint: Endpoint (required)
2013-11-23 17:48:28 +00:00
* DeviceStateChanged
2016-10-15 20:05:05 -05:00
* - asterisk_id: string
2013-11-23 17:48:28 +00:00
* - type: string (required)
* - application: string (required)
* - timestamp: Date
* - device_state: DeviceState (required)
2013-12-14 17:19:41 +00:00
* Dial
2016-10-15 20:05:05 -05:00
* - asterisk_id: string
2013-12-14 17:19:41 +00:00
* - type: string (required)
* - application: string (required)
* - timestamp: Date
* - caller: Channel
* - dialstatus: string (required)
* - dialstring: string
* - forward: string
* - forwarded: Channel
* - peer: Channel (required)
2013-10-04 16:01:48 +00:00
* EndpointStateChange
2016-10-15 20:05:05 -05:00
* - asterisk_id: string
2013-10-04 16:01:48 +00:00
* - type: string (required)
* - application: string (required)
* - timestamp: Date
* - endpoint: Endpoint (required)
2013-07-03 16:32:41 +00:00
* Event
2016-10-15 20:05:05 -05:00
* - asterisk_id: string
2013-07-05 19:15:27 +00:00
* - type: string (required)
2013-07-03 16:32:41 +00:00
* - application: string (required)
* - timestamp: Date
2013-07-05 19:15:27 +00:00
* Message
2016-10-15 20:05:05 -05:00
* - asterisk_id: string
2013-07-05 19:15:27 +00:00
* - type: string (required)
* MissingParams
2016-10-15 20:05:05 -05:00
* - asterisk_id: string
2013-07-03 16:32:41 +00:00
* - type: string (required)
2013-07-05 19:15:27 +00:00
* - params: List[string] (required)
2015-09-03 21:19:21 -05:00
* Peer
* - address: string
* - cause: string
* - peer_status: string (required)
* - port: string
* - time: string
* PeerStatusChange
2016-10-15 20:05:05 -05:00
* - asterisk_id: string
2015-09-03 21:19:21 -05:00
* - type: string (required)
* - application: string (required)
* - timestamp: Date
* - endpoint: Endpoint (required)
* - peer: Peer (required)
2016-04-18 18:17:08 -05:00
* PlaybackContinuing
2016-10-18 16:51:20 +00:00
* - asterisk_id: string
2016-04-18 18:17:08 -05:00
* - type: string (required)
* - application: string (required)
* - timestamp: Date
* - playback: Playback (required)
2013-07-03 16:32:41 +00:00
* PlaybackFinished
2016-10-15 20:05:05 -05:00
* - asterisk_id: string
2013-07-05 19:15:27 +00:00
* - type: string (required)
2013-07-03 16:32:41 +00:00
* - application: string (required)
* - timestamp: Date
* - playback: Playback (required)
* PlaybackStarted
2016-10-15 20:05:05 -05:00
* - asterisk_id: string
2013-07-05 19:15:27 +00:00
* - type: string (required)
2013-07-03 16:32:41 +00:00
* - application: string (required)
* - timestamp: Date
* - playback: Playback (required)
2013-10-25 21:28:32 +00:00
* RecordingFailed
2016-10-15 20:05:05 -05:00
* - asterisk_id: string
2013-11-30 14:12:50 +00:00
* - type: string (required)
* - application: string (required)
* - timestamp: Date
2013-10-25 21:28:32 +00:00
* - recording: LiveRecording (required)
* RecordingFinished
2016-10-15 20:05:05 -05:00
* - asterisk_id: string
2013-11-30 14:12:50 +00:00
* - type: string (required)
* - application: string (required)
* - timestamp: Date
2013-10-25 21:28:32 +00:00
* - recording: LiveRecording (required)
* RecordingStarted
2016-10-15 20:05:05 -05:00
* - asterisk_id: string
2013-11-30 14:12:50 +00:00
* - type: string (required)
* - application: string (required)
* - timestamp: Date
2013-10-25 21:28:32 +00:00
* - recording: LiveRecording (required)
2013-07-03 16:32:41 +00:00
* StasisEnd
2016-10-15 20:05:05 -05:00
* - asterisk_id: string
2013-07-05 19:15:27 +00:00
* - type: string (required)
2013-07-03 16:32:41 +00:00
* - application: string (required)
* - timestamp: Date
* - channel: Channel (required)
* StasisStart
2016-10-15 20:05:05 -05:00
* - asterisk_id: string
2013-07-05 19:15:27 +00:00
* - type: string (required)
2013-07-03 16:32:41 +00:00
* - application: string (required)
* - timestamp: Date
* - args: List[string] (required)
* - channel: Channel (required)
2014-08-07 15:30:19 +00:00
* - replace_channel: Channel
2014-08-05 21:44:09 +00:00
* TextMessageReceived
2016-10-15 20:05:05 -05:00
* - asterisk_id: string
2014-08-05 21:44:09 +00:00
* - type: string (required)
* - application: string (required)
* - timestamp: Date
* - endpoint: Endpoint
* - message: TextMessage (required)
2013-10-04 16:01:48 +00:00
* Application
* - bridge_ids: List[string] (required)
* - channel_ids: List[string] (required)
2013-11-23 17:48:28 +00:00
* - device_names: List[string] (required)
2013-10-04 16:01:48 +00:00
* - endpoint_ids: List[string] (required)
2019-02-08 14:21:38 -06:00
* - events_allowed: List[object] (required)
* - events_disallowed: List[object] (required)
2013-10-04 16:01:48 +00:00
* - name: string (required)
2013-07-03 16:32:41 +00:00
*/
#endif /* _ASTERISK_ARI_MODEL_H */