]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-8140: [mod_sofia] Fix user_name typo in sofia_handle_sip_i_invite
authorArtur Zaprzała <zapartur@gmail.com>
Fri, 29 May 2015 10:58:56 +0000 (12:58 +0200)
committerMichael Jerris <mike@jerris.com>
Tue, 15 Sep 2015 16:22:59 +0000 (12:22 -0400)
src/mod/endpoints/mod_sofia/sofia.c

index 9d60d0b38619889ed1a2c64f52bcae63dbb43ad2..7a7331a94a2b581cc6598a2fcf8a41ca65267a1b 100644 (file)
@@ -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);