set uniq header flag

This commit is contained in:
Anthony Minessale 2012-04-24 07:46:06 -05:00
parent fbbbd06e28
commit 273aa89423
1 changed files with 1 additions and 0 deletions

View File

@ -2161,6 +2161,7 @@ SWITCH_STANDARD_APP(httapi_function)
if (!zstr(url) && switch_stristr("://", url)) {
if (!params) {
switch_event_create(&params, SWITCH_EVENT_CLONE);
params->flags |= EF_UNIQ_HEADERS;
}
switch_event_add_header_string(params, SWITCH_STACK_BOTTOM, "url", url);
}