mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 02:37:10 +00:00 
			
		
		
		
	func_evalexten: Extension evaluation function.
This adds the EVAL_EXTEN function, which may be used to retrieve the variable-substituted data at any extension. ASTERISK-29486 Change-Id: Iad81019689674c9f4ac77d235f5d7234adbb1432
This commit is contained in:
		
				
					committed by
					
						 George Joseph
						George Joseph
					
				
			
			
				
	
			
			
			
						parent
						
							bbc27f835b
						
					
				
				
					commit
					942db8c58d
				
			| @@ -1501,6 +1501,25 @@ int ast_explicit_goto(struct ast_channel *chan, const char *context, const char | ||||
|  */ | ||||
| int ast_async_goto_if_exists(struct ast_channel *chan, const char *context, const char *exten, int priority); | ||||
|  | ||||
| /*! | ||||
|  * \brief Parses a dialplan location into context, extension, priority | ||||
|  * | ||||
|  * \param chan Channel to execute on | ||||
|  * \param context Pointer to initial value for context. | ||||
|  * \param exten Pointer to initial value for exten. | ||||
|  * \param pri Pointer to initial value for pri | ||||
|  * \param ipri Pointer to integer value of priority | ||||
|  * \param mode Pointer to mode (or NULL if mode is not used) | ||||
|  * \param rest Pointer to buffer to capture rest of parsing (or NULL if not used) | ||||
|  * | ||||
|  * strsep should be used to initially populate context, exten, and pri prior | ||||
|  * to calling this function. All arguments are modified in place. | ||||
|  * | ||||
|  * \retval 0 success | ||||
|  * \retval non-zero failure | ||||
|  */ | ||||
| int pbx_parse_location(struct ast_channel *chan, char **context, char **exten, char **pri, int *ipri, int *mode, char *rest); | ||||
|  | ||||
| struct ast_custom_function* ast_custom_function_find(const char *name); | ||||
|  | ||||
| /*! | ||||
|   | ||||
		Reference in New Issue
	
	Block a user