XML-10
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14850 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
590f213f51
commit
83711b3e8a
|
@ -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(¶ms, 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));
|
||||
|
|
Loading…
Reference in New Issue