From: Anthony Minessale Date: Tue, 20 Sep 2016 19:06:05 +0000 (-0500) Subject: FS-9550 #resolve [Set user on outbound verto calls to sync with user directory] X-Git-Tag: v1.6.11~9^2~19 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=56a129a854130bff327694a2308f04fc5347c590;p=thirdparty%2Ffreeswitch.git FS-9550 #resolve [Set user on outbound verto calls to sync with user directory] --- diff --git a/src/mod/endpoints/mod_verto/mod_verto.c b/src/mod/endpoints/mod_verto/mod_verto.c index eb406eaba4..b839660082 100644 --- a/src/mod/endpoints/mod_verto/mod_verto.c +++ b/src/mod/endpoints/mod_verto/mod_verto.c @@ -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 {