[Freeswitch-svn] [commit] r7341 - freeswitch/trunk/src/mod/endpoints/mod_sofia
Freeswitch SVN
mikej at freeswitch.org
Thu Jan 24 06:47:28 EST 2008
Author: mikej
Date: Thu Jan 24 06:47:28 2008
New Revision: 7341
Modified:
freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c
Log:
use switch_event_add_header_string
Modified: freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c
==============================================================================
--- freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c (original)
+++ freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c Thu Jan 24 06:47:28 2008
@@ -850,7 +850,7 @@
switch_event_create(¶ms, 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);
More information about the Freeswitch-svn
mailing list