mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-17 09:12:25 +00:00
FS-7157 #resolve
This commit is contained in:
parent
c880f9a9dd
commit
e408f409fe
@ -399,8 +399,9 @@ static void process_cdr(cdr_data_t *data)
|
|||||||
switch_assert(globals.url_count <= MAX_URLS);
|
switch_assert(globals.url_count <= MAX_URLS);
|
||||||
if (globals.url_index >= globals.url_count) {
|
if (globals.url_index >= globals.url_count) {
|
||||||
globals.url_index = 0;
|
globals.url_index = 0;
|
||||||
}
|
} else {
|
||||||
switch_log_printf(SWITCH_CHANNEL_UUID_LOG(data->uuid), SWITCH_LOG_ERROR, "Retry will be with url [%s]\n", globals.urls[globals.url_index]);
|
switch_log_printf(SWITCH_CHANNEL_UUID_LOG(data->uuid), SWITCH_LOG_ERROR, "Retry will be with url [%s]\n", globals.urls[globals.url_index]);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
switch_curl_easy_cleanup(curl_handle);
|
switch_curl_easy_cleanup(curl_handle);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user