mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-12 12:37:05 +00:00
passing non-null value to generate_xml_cdr now implies its an initalized xml object
This commit is contained in:
1 parent
21edf395ca
commit
3a6bb506c0
6 files changed
+12
-8
No files matched your search
@@ -1211,7 +1211,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_multi_threaded_bridge(switch_core_ses
|
||||
}
|
||||
|
||||
if (switch_channel_down(peer_channel) && switch_true(switch_channel_get_variable(peer_channel, SWITCH_COPY_XML_CDR_VARIABLE))) {
|
||||
switch_xml_t cdr;
|
||||
switch_xml_t cdr = NULL;
|
||||
char *xml_text;
|
||||
|
||||
switch_channel_wait_for_state(peer_channel, caller_channel, CS_DESTROY);
|
||||
|
||||
Reference in new issue
Block a user