]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
set uniq header flag
authorAnthony Minessale <anthm@freeswitch.org>
Tue, 24 Apr 2012 12:46:06 +0000 (07:46 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Tue, 24 Apr 2012 12:47:36 +0000 (07:47 -0500)
src/mod/applications/mod_httapi/mod_httapi.c

index bc1731d21ec10985b058cae72d455614a07e3981..9d5b8003a51e7235074b5d99746b777d831b8c14 100644 (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);
                }