Initialize uuid in CoreSession::CoreSession(switch_core_session_t*), make get_uuid return a const char* and a swigall

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11630 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Mathieu Rene
2009-02-04 02:56:16 +00:00
parent cd788c1a7c
commit 11fc21f787
4 changed files with 4626 additions and 4625 deletions

View File

@@ -487,6 +487,7 @@ SWITCH_DECLARE_CONSTRUCTOR CoreSession::CoreSession(switch_core_session_t *new_s
channel = switch_core_session_get_channel(session);
allocated = 1;
switch_core_session_read_lock(session);
uuid = strdup(switch_core_session_get_uuid(session));
}
}