FS-7509: stop media on verto detach

This commit is contained in:
Anthony Minessale authored and Michael Jerris committed 2015-05-28 12:46:55 -05:00
1 parent 59fa1b9ac7
commit 4d100bc2e8
4 files changed
+45 -1

No files matched your search

+1 -1
View File
@@ -1210,7 +1210,7 @@ static void detach_calls(jsock_t *jsock)
switch_channel_hangup(tech_pvt->channel, SWITCH_CAUSE_DESTINATION_OUT_OF_ORDER);
continue;
}
switch_core_session_stop_media(tech_pvt->session);
tech_pvt->detach_time = switch_epoch_time_now(NULL);
globals.detached++;
attach_wake();