]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
add core-uuid attr to xml cdr tag
authorAnthony Minessale <anthm@freeswitch.org>
Thu, 26 Jul 2012 16:45:06 +0000 (11:45 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Thu, 26 Jul 2012 16:45:06 +0000 (11:45 -0500)
src/switch_ivr.c

index fb3852a353b35273fea42e23fe140b63ecc8b1dd..69f77808c1328c3e74af3dee8a9e3125da497be6 100644 (file)
@@ -2196,6 +2196,8 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_generate_xml_cdr(switch_core_session_
                }
        }
 
+       switch_xml_set_attr_d(cdr, "core-uuid", switch_core_get_uuid());
+
        if (!(x_channel_data = switch_xml_add_child_d(cdr, "channel_data", cdr_off++))) {
                goto error;
        }