mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-16 00:04:13 +00:00
FS-7509: stop media on verto detach
This commit is contained in:
1 parent
59fa1b9ac7
commit
4d100bc2e8
4 files changed
+45
-1
No files matched your search
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user