mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-12 20:47:06 +00:00
finishing touch on nomedia with mutiple bridges
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4793 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
677ebfff2b
commit
6e2b76eb75
2 files changed
+3
-5
No files matched your search
@@ -61,7 +61,7 @@ static void audio_bridge_function(switch_core_session_t *session, char *data)
|
||||
do_continue = switch_true(var);
|
||||
}
|
||||
|
||||
if ((var = switch_channel_get_variable(caller_channel, "no_media")) && switch_true(var)) {
|
||||
if (switch_channel_test_flag(caller_channel, CF_NOMEDIA) || ((var = switch_channel_get_variable(caller_channel, "no_media")) && switch_true(var))) {
|
||||
if (!switch_channel_test_flag(caller_channel, CF_ANSWERED) && !switch_channel_test_flag(caller_channel, CF_EARLY_MEDIA)) {
|
||||
switch_channel_set_flag(caller_channel, CF_NOMEDIA);
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user