]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
tweaqk
authorMathieu Rene <mrene@avgs.ca>
Thu, 19 Mar 2009 04:15:14 +0000 (04:15 +0000)
committerMathieu Rene <mrene@avgs.ca>
Thu, 19 Mar 2009 04:15:14 +0000 (04:15 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12667 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/applications/mod_dptools/mod_dptools.c

index 10f4fa3583ce4b61a2dee2af5b902b550f9d56be..2eb6b7f5a1ec14ec900f6604b4cc49b48f9f4a14 100644 (file)
@@ -1163,8 +1163,8 @@ SWITCH_STANDARD_APP(ivr_application_function)
 
                /* 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) {