mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-11-04 05:15:22 +00:00 
			
		
		
		
	Add new AMI and ARI events for connected line changes on a channel.
The AMI event is called NewConnectedLine and the ARI event is called ChannelConnectedLine. ASTERISK-24554 #close Reported by Matt Jordan Review: https://reviewboard.asterisk.org/r/4231 ........ Merged revisions 429064 from http://svn.asterisk.org/svn/asterisk/branches/13 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@429084 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
		@@ -680,6 +680,24 @@ int ast_ari_validate_channel_caller_id(struct ast_json *json);
 | 
			
		||||
 */
 | 
			
		||||
ari_validator ast_ari_validate_channel_caller_id_fn(void);
 | 
			
		||||
 | 
			
		||||
/*!
 | 
			
		||||
 * \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);
 | 
			
		||||
 | 
			
		||||
/*!
 | 
			
		||||
 * \brief Validator for ChannelCreated.
 | 
			
		||||
 *
 | 
			
		||||
@@ -1330,6 +1348,11 @@ ari_validator ast_ari_validate_application_fn(void);
 | 
			
		||||
 * - caller_presentation: int (required)
 | 
			
		||||
 * - caller_presentation_txt: string (required)
 | 
			
		||||
 * - channel: Channel (required)
 | 
			
		||||
 * ChannelConnectedLine
 | 
			
		||||
 * - type: string (required)
 | 
			
		||||
 * - application: string (required)
 | 
			
		||||
 * - timestamp: Date
 | 
			
		||||
 * - channel: Channel (required)
 | 
			
		||||
 * ChannelCreated
 | 
			
		||||
 * - type: string (required)
 | 
			
		||||
 * - application: string (required)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user