use switch_event_add_header_string

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7341 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2008-01-24 11:47:28 +00:00
parent fd208eb22a
commit b576d14d66
1 changed files with 1 additions and 1 deletions

View File

@ -850,7 +850,7 @@ switch_status_t config_sofia(int reload, char *profile_name)
switch_event_create(&params, SWITCH_EVENT_MESSAGE);
switch_assert(params);
switch_event_add_header(params, SWITCH_STACK_BOTTOM, "profile", profile_name);
switch_event_add_header_string(params, SWITCH_STACK_BOTTOM, "profile", profile_name);
if (!(xml = switch_xml_open_cfg(cf, &cfg, params))) {
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "open of %s failed\n", cf);