mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-24 21:22:09 +00:00
FSCORE-347
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12873 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -385,6 +385,7 @@ SWITCH_STANDARD_APP(eavesdrop_function)
|
||||
switch_safe_free(e_data.uuid_list[x]);
|
||||
}
|
||||
|
||||
free(sql);
|
||||
switch_core_db_close(db);
|
||||
|
||||
} else {
|
||||
|
||||
@@ -1113,8 +1113,8 @@ static int sofia_presence_sub_callback(void *pArg, int argc, char **argv, char *
|
||||
const char *from_id = switch_str_nil(switch_event_get_header(helper->event, "Other-Leg-Caller-ID-Number"));
|
||||
const char *to_user = switch_str_nil(switch_event_get_header(helper->event, "variable_sip_to_user"));
|
||||
const char *from_user = switch_str_nil(switch_event_get_header(helper->event, "variable_sip_from_user"));
|
||||
const char *clean_to_user = NULL;
|
||||
const char *clean_from_user = NULL;
|
||||
char *clean_to_user = NULL;
|
||||
char *clean_from_user = NULL;
|
||||
const char *p_to_user = switch_str_nil(switch_event_get_header(helper->event, "to-user"));
|
||||
#if 0
|
||||
char *buf;
|
||||
@@ -1221,6 +1221,9 @@ static int sofia_presence_sub_callback(void *pArg, int argc, char **argv, char *
|
||||
stream.write_function(&stream, "</remote>\n");
|
||||
}
|
||||
}
|
||||
|
||||
switch_safe_free(clean_to_user);
|
||||
switch_safe_free(clean_from_user);
|
||||
}
|
||||
if (is_dialog) {
|
||||
stream.write_function(&stream, "</dialog>\n");
|
||||
|
||||
Reference in New Issue
Block a user