add core_uuid global variable to expose the runtime uuid
This commit is contained in:
parent
5ebc68fb51
commit
1d5b5f218a
|
@ -1570,6 +1570,7 @@ SWITCH_DECLARE(switch_status_t) switch_core_init(switch_core_flag_t flags, switc
|
||||||
|
|
||||||
switch_uuid_get(&uuid);
|
switch_uuid_get(&uuid);
|
||||||
switch_uuid_format(runtime.uuid_str, &uuid);
|
switch_uuid_format(runtime.uuid_str, &uuid);
|
||||||
|
switch_core_set_variable("core_uuid", runtime.uuid_str);
|
||||||
|
|
||||||
|
|
||||||
return SWITCH_STATUS_SUCCESS;
|
return SWITCH_STATUS_SUCCESS;
|
||||||
|
|
Loading…
Reference in New Issue