]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-6009 --resolve
authorAnthony Minessale <anthm@freeswitch.org>
Thu, 28 Nov 2013 05:55:00 +0000 (23:55 -0600)
committerAnthony Minessale <anthm@freeswitch.org>
Thu, 28 Nov 2013 05:55:00 +0000 (23:55 -0600)
src/mod/endpoints/mod_sofia/sofia_presence.c

index 90f251dfb9f1d03fda162a8fa5d9ae71bab52f59..747f4491e51083dd8faf2511f62e0b1170194dc3 100644 (file)
@@ -3770,13 +3770,13 @@ void sofia_presence_handle_sip_i_subscribe(int status,
        if (sub_state == nua_substate_active) {
 
                sstr = switch_mprintf("active;expires=%ld", exp_delta);
-
+               
                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;tag=%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',contact='%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, use_to_tag, full_from, contact_str,
+                                                        np.network_ip, np.network_port, from_user, from_host, full_via, full_to, full_from, contact_str,
                                                         
                                                         call_id, profile->name, mod_sofia_globals.hostname);