提交 83711b3e authored 作者: Brian West's avatar Brian West

XML-10

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14850 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 590f213f
......@@ -176,6 +176,11 @@ static switch_xml_t xml_url_fetch(const char *section, const char *tag_name, con
switch_assert(data);
if (binding->use_dynamic_url) {
if (!params) {
switch_event_create(&params, SWITCH_EVENT_REQUEST_PARAMS);
switch_assert(params);
}
switch_event_add_header_string(params, SWITCH_STACK_TOP, "hostname", hostname);
switch_event_add_header_string(params, SWITCH_STACK_TOP, "section", switch_str_nil(section));
switch_event_add_header_string(params, SWITCH_STACK_TOP, "tag_name", switch_str_nil(tag_name));
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论