From: Brian West Date: Mon, 27 Oct 2014 19:14:15 +0000 (-0500) Subject: FS-6688 #resolve X-Git-Tag: v1.4.13~1^2~17 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=75815877d686736ff0b171b7f124658dccd3d320;p=thirdparty%2Ffreeswitch.git FS-6688 #resolve --- diff --git a/src/mod/endpoints/mod_sofia/sofia_presence.c b/src/mod/endpoints/mod_sofia/sofia_presence.c index d8cb06866d..4c0e3be89e 100644 --- a/src/mod/endpoints/mod_sofia/sofia_presence.c +++ b/src/mod/endpoints/mod_sofia/sofia_presence.c @@ -3905,10 +3905,10 @@ void sofia_presence_handle_sip_i_subscribe(int status, sql = switch_mprintf("update sip_subscriptions " "set expires=%ld, " - "network_ip='%q',network_port='%d',sip_user='%q',sip_host='%q',full_via='%q',full_to='%q',full_from='%q',contact='%q' " + "network_ip='%q',network_port='%d',sip_user='%q',sip_host='%q',full_via='%q',full_to='%q',full_from='%q' " "where call_id='%q' and profile_name='%q' and hostname='%q'", (long) switch_epoch_time_now(NULL) + exp_delta, - np.network_ip, np.network_port, from_user, from_host, full_via, full_to, full_from, contact_str, + np.network_ip, np.network_port, from_user, from_host, full_via, full_to, full_from, call_id, profile->name, mod_sofia_globals.hostname);