From 940171c623a81b0281ffc145b6e2490e72b0ffd1 Mon Sep 17 00:00:00 2001 From: Brian West Date: Mon, 21 Jul 2014 16:01:23 -0500 Subject: [PATCH] FS-6670 #resolve #comment Doh, see this one is dangerous --- src/mod/endpoints/mod_sofia/sofia.c | 2 +- src/mod/endpoints/mod_sofia/sofia_presence.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mod/endpoints/mod_sofia/sofia.c b/src/mod/endpoints/mod_sofia/sofia.c index 158ca28e59..d3aae97b6c 100644 --- a/src/mod/endpoints/mod_sofia/sofia.c +++ b/src/mod/endpoints/mod_sofia/sofia.c @@ -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); diff --git a/src/mod/endpoints/mod_sofia/sofia_presence.c b/src/mod/endpoints/mod_sofia/sofia_presence.c index 3dd216624b..5691da5ade 100644 --- a/src/mod/endpoints/mod_sofia/sofia_presence.c +++ b/src/mod/endpoints/mod_sofia/sofia_presence.c @@ -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);