[Freeswitch-svn] [commit] r10439 - freeswitch/trunk/src

FreeSWITCH SVN anthm at freeswitch.org
Tue Nov 18 07:24:53 PST 2008


Author: anthm
Date: Tue Nov 18 10:24:52 2008
New Revision: 10439

Log:
add chan vars to param event during hangup hook

Modified:
   freeswitch/trunk/src/switch_core_state_machine.c

Modified: freeswitch/trunk/src/switch_core_state_machine.c
==============================================================================
--- freeswitch/trunk/src/switch_core_state_machine.c	(original)
+++ freeswitch/trunk/src/switch_core_state_machine.c	Tue Nov 18 10:24:52 2008
@@ -412,6 +412,7 @@
 							*arg++ = '\0';
 						}
 						SWITCH_STANDARD_STREAM(stream);
+						switch_channel_get_variables(session->channel, &stream.param_event);
 						switch_api_execute(cmd, arg, NULL, &stream);
 						switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "Hangup Command %s(%s):\n%s\n", cmd, arg,
 										  switch_str_nil((char *) stream.data));



More information about the Freeswitch-svn mailing list