mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-20 02:04:13 +00:00
FS-3640 try this patch, not sure what you are doing because I can recover 300 channels fine. I added a patch to deal with what looks like corrupted data in the cdr or something so it should fail more gracefully
This commit is contained in:
1 parent
7b10506e78
commit
fd495dbbe1
2 files changed
+14
-1
No files matched your search
@@ -1748,6 +1748,13 @@ SWITCH_DECLARE(switch_core_session_t *) switch_core_session_request_xml(switch_e
|
||||
}
|
||||
|
||||
|
||||
if (!channel || !switch_channel_get_caller_profile(channel)) {
|
||||
if (session) {
|
||||
switch_core_session_destroy(&session);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
return session;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user