]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-3706
authorAnthony Minessale <anthm@freeswitch.org>
Sat, 19 Nov 2011 03:02:06 +0000 (21:02 -0600)
committerAnthony Minessale <anthm@freeswitch.org>
Sat, 19 Nov 2011 03:04:55 +0000 (21:04 -0600)
src/mod/endpoints/mod_sofia/sofia_presence.c

index b47fc7f06c803f97d82700043b728b9fe4a21356..1f4a33ed8a5bbf22e3c9713cfadb9385feed2ff4 100644 (file)
@@ -3097,7 +3097,7 @@ void sofia_presence_handle_sip_i_subscribe(int status,
                        if (!zstr(orig_proto)) {
                                switch_event_add_header_string(sevent, SWITCH_STACK_BOTTOM, "orig_proto", orig_proto);
                        }
-                       switch_event_add_header_string(sevent, SWITCH_STACK_BOTTOM, "long", profile->name);
+                       switch_event_add_header_string(sevent, SWITCH_STACK_BOTTOM, "login", profile->name);
                        switch_event_add_header(sevent, SWITCH_STACK_BOTTOM, "from", "%s@%s", from_user, from_host);
                        switch_event_add_header(sevent, SWITCH_STACK_BOTTOM, "to", "%s%s%s@%s", proto, "+", to_user, to_host);
                        switch_event_add_header_string(sevent, SWITCH_STACK_BOTTOM, "proto-specific-event-name", event);