[Freeswitch-trunk] [commit] r12667 - freeswitch/trunk/src/mod/applications/mod_dptools

FreeSWITCH SVN mrene at freeswitch.org
Wed Mar 18 21:15:14 PDT 2009


Author: mrene
Date: Wed Mar 18 23:15:14 2009
New Revision: 12667

Log:
tweaqk

Modified:
   freeswitch/trunk/src/mod/applications/mod_dptools/mod_dptools.c

Modified: freeswitch/trunk/src/mod/applications/mod_dptools/mod_dptools.c
==============================================================================
--- freeswitch/trunk/src/mod/applications/mod_dptools/mod_dptools.c	(original)
+++ freeswitch/trunk/src/mod/applications/mod_dptools/mod_dptools.c	Wed Mar 18 23:15:14 2009
@@ -1163,8 +1163,8 @@
 
 		/* Open the config from the xml registry */
 		switch_event_create(&params, SWITCH_EVENT_REQUEST_PARAMS);
-		switch_event_add_header_string(params, SWITCH_STACK_BOTTOM, "Menu-Name", name);
 		switch_assert(params);
+		switch_event_add_header_string(params, SWITCH_STACK_BOTTOM, "Menu-Name", name);
 		switch_channel_event_set_data(channel, params);
 
 		if ((cxml = switch_xml_open_cfg(ivr_cf_name, &cfg, params)) != NULL) {



More information about the Freeswitch-trunk mailing list