mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-06-01 11:10:24 +00:00
FS-2998: prefix-a-leg not respected for url submission
This commit is contained in:
parent
afc027473f
commit
ea9021a24a
@ -340,7 +340,7 @@ static switch_status_t my_on_reporting(switch_core_session_t *session)
|
|||||||
switch_yield(globals.delay * 1000000);
|
switch_yield(globals.delay * 1000000);
|
||||||
}
|
}
|
||||||
|
|
||||||
destUrl = switch_mprintf("%s?uuid=%s", globals.urls[globals.url_index], switch_core_session_get_uuid(session));
|
destUrl = switch_mprintf("%s?uuid=%s%s", globals.urls[globals.url_index], a_prefix, switch_core_session_get_uuid(session));
|
||||||
curl_easy_setopt(curl_handle, CURLOPT_URL, destUrl);
|
curl_easy_setopt(curl_handle, CURLOPT_URL, destUrl);
|
||||||
|
|
||||||
if (!strncasecmp(destUrl, "https", 5)) {
|
if (!strncasecmp(destUrl, "https", 5)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user