From: Anthony Minessale Date: Thu, 26 Jul 2012 16:38:02 +0000 (-0500) Subject: add core_uuid global variable to expose the runtime uuid X-Git-Tag: v1.2.0~58 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1d5b5f218a1996a50954b4e1c39116bb1e93bc44;p=thirdparty%2Ffreeswitch.git add core_uuid global variable to expose the runtime uuid --- 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;