From 7e2082a55ac694a9278d198b809de7072cd6acb8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Artur=20Zaprza=C5=82a?= Date: Fri, 29 May 2015 12:58:56 +0200 Subject: [PATCH] FS-8140 Fix user_name typo in sofia_handle_sip_i_invite --- src/mod/endpoints/mod_sofia/sofia.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod/endpoints/mod_sofia/sofia.c b/src/mod/endpoints/mod_sofia/sofia.c index 35038c4645..99b7e5eba5 100644 --- a/src/mod/endpoints/mod_sofia/sofia.c +++ b/src/mod/endpoints/mod_sofia/sofia.c @@ -9505,7 +9505,7 @@ void sofia_handle_sip_i_invite(switch_core_session_t *session, nua_t *nua, sofia switch_channel_set_variable(channel, hp->name, hp->value); } - ruser = switch_event_get_header(v_event, "username"); + ruser = switch_event_get_header(v_event, "user_name"); rdomain = switch_event_get_header(v_event, "domain_name"); switch_channel_set_variable(channel, "requested_user_name", ruser);