add session_id variable
This commit is contained in:
parent
31152c6894
commit
fe3e93567f
|
@ -1877,6 +1877,8 @@ SWITCH_DECLARE(switch_core_session_t *) switch_core_session_request_uuid(switch_
|
||||||
session_manager.session_count++;
|
session_manager.session_count++;
|
||||||
switch_mutex_unlock(runtime.session_hash_mutex);
|
switch_mutex_unlock(runtime.session_hash_mutex);
|
||||||
|
|
||||||
|
switch_channel_set_variable_printf(session->channel, "session_id", "%u", session->id);
|
||||||
|
|
||||||
return session;
|
return session;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue