From: Giovanni Maruzzelli Date: Tue, 6 Nov 2012 11:05:26 +0000 (+0100) Subject: FS-4782 gsmopen: abide the origination_uuid variable. Dude abide X-Git-Tag: v1.3.3~32 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=85542799f053dc0399fc2ad757434c6b212014f1;p=thirdparty%2Ffreeswitch.git FS-4782 gsmopen: abide the origination_uuid variable. Dude abide --- diff --git a/src/mod/endpoints/mod_gsmopen/mod_gsmopen.cpp b/src/mod/endpoints/mod_gsmopen/mod_gsmopen.cpp index 18451d8cf2..026db9eb8d 100644 --- a/src/mod/endpoints/mod_gsmopen/mod_gsmopen.cpp +++ b/src/mod/endpoints/mod_gsmopen/mod_gsmopen.cpp @@ -1056,7 +1056,8 @@ static switch_call_cause_t channel_outgoing_channel(switch_core_session_t *sessi private_t *tech_pvt = NULL; int result; - if ((*new_session = switch_core_session_request(gsmopen_endpoint_interface, SWITCH_CALL_DIRECTION_OUTBOUND, flags, pool)) != 0) { + if ((*new_session = switch_core_session_request_uuid(gsmopen_endpoint_interface, SWITCH_CALL_DIRECTION_OUTBOUND, flags, pool, switch_event_get_header(var_event, "origination_uuid"))) != 0) { + switch_channel_t *channel = NULL; switch_caller_profile_t *caller_profile; char *rdest;