@@ -5970,7 +5970,7 @@ int sofia_glue_init_sql(sofia_profile_t *profile)
free(test_sql);
test_sql=switch_mprintf("delete from sip_subscriptions where hostname='%q' and version < 0 orig_proto like '%%' and network_ip like '%%' and network_port like '%%'",
test_sql=switch_mprintf("delete from sip_subscriptions where hostname='%q' and version < 0 and orig_proto like '%%' and network_ip like '%%' and network_port like '%%'",