mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 02:37:10 +00:00 
			
		
		
		
	Add channel variable manager event
(issue #7291, patch from tonyh and jontow) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@68473 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
		| @@ -5925,6 +5925,13 @@ void pbx_builtin_setvar_helper(struct ast_channel *chan, const char *name, const | ||||
| 			ast_verbose(VERBOSE_PREFIX_2 "Setting global variable '%s' to '%s'\n", name, value); | ||||
| 		newvariable = ast_var_assign(name, value); | ||||
| 		AST_LIST_INSERT_HEAD(headp, newvariable, entries); | ||||
| 		manager_event(EVENT_FLAG_CALL, "VarSet",  | ||||
| 			"Channel: %s\r\n" | ||||
| 			"Variable: %s\r\n" | ||||
| 			"Value: %s\r\n" | ||||
| 			"Uniqueid: %s\r\n",  | ||||
| 			chan ? chan->name : "none", name, value,  | ||||
| 			chan ? chan->uniqueid : "none"); | ||||
| 	} | ||||
|  | ||||
| 	if (headp == &globals) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user