mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-13 01:26:58 +00:00
support multiple subscriptions for sla goodies
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7793 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -265,8 +265,7 @@ switch_status_t sofia_on_hangup(switch_core_session_t *session)
|
||||
if (session && (tech_pvt->profile->pflags & PFLAG_PRESENCE)) {
|
||||
char *sql = switch_mprintf("delete from sip_dialogs where call_id='%q'", tech_pvt->call_id);
|
||||
switch_assert(sql);
|
||||
sofia_glue_execute_sql(tech_pvt->profile, SWITCH_FALSE, sql, tech_pvt->profile->ireg_mutex);
|
||||
free(sql);
|
||||
sofia_glue_execute_sql(tech_pvt->profile, &sql, SWITCH_TRUE);
|
||||
}
|
||||
|
||||
if (tech_pvt->kick && (a_session = switch_core_session_locate(tech_pvt->kick))) {
|
||||
|
Reference in New Issue
Block a user