mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-19 17:54:13 +00:00
fix for MODAPP-51
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6318 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
5fe2353c2f
commit
5083c78736
2 files changed
+14
-3
No files matched your search
@@ -542,7 +542,7 @@ uint8_t sofia_reg_handle_register(nua_t * nua, sofia_profile_t *profile, nua_han
|
||||
sql = NULL;
|
||||
}
|
||||
|
||||
if ((sql = switch_mprintf("delete from sip_registrations where call_id='%q'", to_user, to_host, call_id))) {
|
||||
if ((sql = switch_mprintf("delete from sip_registrations where call_id='%q'", call_id))) {
|
||||
sofia_glue_execute_sql(profile, SWITCH_FALSE, sql, profile->ireg_mutex);
|
||||
switch_safe_free(sql);
|
||||
sql = NULL;
|
||||
@@ -1112,3 +1112,4 @@ switch_status_t sofia_reg_add_gateway(char *key, sofia_gateway_t *gateway)
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user