From: Artur ZaprzaƂa Date: Fri, 29 May 2015 10:58:56 +0000 (+0200) Subject: FS-8140: [mod_sofia] Fix user_name typo in sofia_handle_sip_i_invite X-Git-Tag: v1.4.22~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5257ee6521d99e57acb0cc42076dbca72b02ad21;p=thirdparty%2Ffreeswitch.git FS-8140: [mod_sofia] Fix user_name typo in sofia_handle_sip_i_invite --- diff --git a/src/mod/endpoints/mod_sofia/sofia.c b/src/mod/endpoints/mod_sofia/sofia.c index 9d60d0b386..7a7331a94a 100644 --- a/src/mod/endpoints/mod_sofia/sofia.c +++ b/src/mod/endpoints/mod_sofia/sofia.c @@ -9234,7 +9234,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);