]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-9550 #resolve [Set user on outbound verto calls to sync with user directory]
authorAnthony Minessale <anthm@freeswitch.org>
Tue, 20 Sep 2016 19:06:05 +0000 (14:06 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Tue, 20 Sep 2016 19:06:05 +0000 (14:06 -0500)
src/mod/endpoints/mod_verto/mod_verto.c

index eb406eaba470ee550d95d4913397f9f57432929e..b839660082427477d1ca0d286ff6bb2946b605e2 100644 (file)
@@ -2666,6 +2666,8 @@ static switch_bool_t verto__answer_func(const char *method, cJSON *params, jsock
                switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_DEBUG, "Remote SDP %s:\n%s\n", switch_channel_get_name(tech_pvt->channel), sdp);
                switch_core_media_set_sdp_codec_string(session, sdp, SDP_TYPE_RESPONSE);
 
+               switch_ivr_set_user(session, jsock->uid);
+
                if (switch_channel_test_flag(tech_pvt->channel, CF_PROXY_MODE)) {
                        pass_sdp(tech_pvt);
                } else {