提交 b576d14d authored 作者: Michael Jerris's avatar Michael Jerris

use switch_event_add_header_string

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7341 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 fd208eb2
......@@ -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);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论