forked from Mirrors/freeswitch
CoreSession::originate: set the uuid on success
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14773 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
72d3c4cbda
commit
2a3be1dc98
@ -973,6 +973,8 @@ SWITCH_DECLARE(int) CoreSession::originate(CoreSession *a_leg_session, char *des
|
||||
if (a_leg_session) a_leg_session->end_allow_threads();
|
||||
channel = switch_core_session_get_channel(session);
|
||||
allocated = 1;
|
||||
switch_safe_free(uuid);
|
||||
uuid = strdup(switch_core_session_get_uuid(session));
|
||||
switch_channel_set_state(switch_core_session_get_channel(session), CS_SOFT_EXECUTE);
|
||||
|
||||
return SWITCH_STATUS_SUCCESS;
|
||||
|
Loading…
Reference in New Issue
Block a user