mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-24 04:04:16 +00:00
allow uuid_break to interrupt one or all in a delimited string of files the same as several individual files
This commit is contained in:
1 parent
fcb78c07a5
commit
eba05c3c01
2 files changed
+8
-4
No files matched your search
@@ -2729,14 +2729,14 @@ SWITCH_STANDARD_API(break_function)
|
||||
if (switch_channel_test_flag(channel, CF_BROADCAST)) {
|
||||
switch_channel_stop_broadcast(channel);
|
||||
} else {
|
||||
switch_channel_set_flag(channel, CF_BREAK);
|
||||
switch_channel_set_flag_value(channel, CF_BREAK, all ? 2 : 1);
|
||||
}
|
||||
|
||||
if (qchannel) {
|
||||
if (switch_channel_test_flag(qchannel, CF_BROADCAST)) {
|
||||
switch_channel_stop_broadcast(qchannel);
|
||||
} else {
|
||||
switch_channel_set_flag(qchannel, CF_BREAK);
|
||||
switch_channel_set_flag_value(qchannel, CF_BREAK, all ? 2 : 1);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user