From 1d5b5f218a1996a50954b4e1c39116bb1e93bc44 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Thu, 26 Jul 2012 11:38:02 -0500 Subject: [PATCH] add core_uuid global variable to expose the runtime uuid --- src/switch_core.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/switch_core.c b/src/switch_core.c index c00f13ab78..534edf6303 100644 --- a/src/switch_core.c +++ b/src/switch_core.c @@ -1570,6 +1570,7 @@ SWITCH_DECLARE(switch_status_t) switch_core_init(switch_core_flag_t flags, switc switch_uuid_get(&uuid); switch_uuid_format(runtime.uuid_str, &uuid); + switch_core_set_variable("core_uuid", runtime.uuid_str); return SWITCH_STATUS_SUCCESS;