]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-6670 #resolve #comment Doh, see this one is dangerous
authorBrian West <brian@freeswitch.org>
Mon, 21 Jul 2014 21:01:23 +0000 (16:01 -0500)
committerBrian West <brian@freeswitch.org>
Mon, 21 Jul 2014 21:04:36 +0000 (16:04 -0500)
src/mod/endpoints/mod_sofia/sofia.c
src/mod/endpoints/mod_sofia/sofia_presence.c

index 158ca28e59e4817f8e82628a09c3df1ce57f8c7d..d3aae97b6c78c032b435ba6e2b419863b56fa3ab 100644 (file)
@@ -1661,7 +1661,7 @@ static void our_sofia_event_callback(nua_event_t event,
                                                                         proto, from_user, from_host, to_user, to_host, profile->presence_hosts ? profile->presence_hosts : "",
                                                                         event_str, contact_str, call_id, full_from, full_via,
                                                                         (long) switch_epoch_time_now(NULL) + 60,
-                                                                        full_agent, accept, profile->name, mod_sofia_globals.hostname,
+                                                                        full_agent, accept_header, profile->name, mod_sofia_globals.hostname,
                                                                         np.network_port, np.network_ip, orig_proto, full_to, to_tag);
 
                                switch_assert(sql != NULL);
index 3dd216624b41cd9bb0293ce267bfdd0cc817066f..5691da5ade9bbd4ddf03cebca333274c5c9f2a62 100644 (file)
@@ -3921,7 +3921,7 @@ void sofia_presence_handle_sip_i_subscribe(int status,
                                                                 proto, from_user, from_host, to_user, to_host, profile->presence_hosts ? profile->presence_hosts : "",
                                                                 event, contact_str, call_id, full_from, full_via,
                                                                 (long) switch_epoch_time_now(NULL) + exp_delta,
-                                                                full_agent, accept, profile->name, mod_sofia_globals.hostname,
+                                                                full_agent, accept_header, profile->name, mod_sofia_globals.hostname,
                                                                 np.network_port, np.network_ip, orig_proto, full_to, use_to_tag);
 
                        switch_assert(sql != NULL);