FS-5772 --resolve this is sort of a hack but less painful than reporting bugs to polycom

Conflicts:
	src/mod/endpoints/mod_sofia/sofia.c
This commit is contained in:
Anthony Minessale
2013-09-10 23:14:30 +05:00
parent 4c5be954f2
commit f5ba0bb7d4
3 changed files with 16 additions and 2 deletions
+3
View File
@@ -5904,10 +5904,13 @@ SWITCH_STANDARD_APP(sofia_sla_function)
private_object_t *tech_pvt;
switch_core_session_t *bargee_session;
switch_channel_t *channel = switch_core_session_get_channel(session);
if (zstr(data)) {
switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_ERROR, "Usage: <uuid>\n");
return;
}
switch_channel_answer(channel);
if ((bargee_session = switch_core_session_locate((char *)data))) {
if (bargee_session == session) {