git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16402 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2010-01-19 15:43:06 +00:00
parent f695453072
commit 69c7c76335
1 changed files with 1 additions and 1 deletions

View File

@ -224,7 +224,7 @@ static switch_status_t my_on_reporting(switch_core_session_t *session)
logdir = globals.log_dir;
}
if (!zstr(logdir)) {
if (!zstr(logdir) && !globals.url_count) {
path = switch_mprintf("%s%s%s%s.cdr.xml", logdir, SWITCH_PATH_SEPARATOR, a_prefix, switch_core_session_get_uuid(session));
switch_thread_rwlock_unlock(globals.log_path_lock);
if (path) {