XML-16
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16402 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
f695453072
commit
69c7c76335
|
@ -224,7 +224,7 @@ static switch_status_t my_on_reporting(switch_core_session_t *session)
|
||||||
logdir = globals.log_dir;
|
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));
|
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);
|
switch_thread_rwlock_unlock(globals.log_path_lock);
|
||||||
if (path) {
|
if (path) {
|
||||||
|
|
Loading…
Reference in New Issue