mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-23 11:44:14 +00:00
mod_sofia: add sla indexes and fix where clause
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12075 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
10ce6f6bbd
commit
06099874da
2 files changed
+4
-2
No files matched your search
@@ -113,7 +113,7 @@ void sofia_sla_handle_sip_i_subscribe(nua_t *nua, const char *contact_str, sofia
|
||||
|
||||
|
||||
if ((sql =
|
||||
switch_mprintf("delete from sip_shared_appearance_subscriptions where subscriber='%q' and profile name='%q' and hostname='%q'",
|
||||
switch_mprintf("delete from sip_shared_appearance_subscriptions where subscriber='%q' and profile_name='%q' and hostname='%q'",
|
||||
subscriber, profile->name, mod_sofia_globals.hostname
|
||||
))) {
|
||||
sofia_glue_execute_sql(profile, &sql, SWITCH_TRUE);
|
||||
|
||||
Reference in new issue
Block a user