mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-02-08 08:51:50 +00:00
check for answer flag in bridge to do display update properly
This commit is contained in:
parent
88a681d47c
commit
0f459d4b45
@ -1449,7 +1449,7 @@ SWITCH_DECLARE(switch_status_t) switch_core_init(switch_core_flag_t flags, switc
|
|||||||
if (flags & SCF_MINIMAL) return SWITCH_STATUS_SUCCESS;
|
if (flags & SCF_MINIMAL) return SWITCH_STATUS_SUCCESS;
|
||||||
|
|
||||||
runtime.tipping_point = 0;
|
runtime.tipping_point = 0;
|
||||||
runtime.timer_affinity = -1;
|
runtime.timer_affinity = 0;
|
||||||
runtime.microseconds_per_tick = 20000;
|
runtime.microseconds_per_tick = 20000;
|
||||||
|
|
||||||
switch_load_core_config("switch.conf");
|
switch_load_core_config("switch.conf");
|
||||||
|
@ -457,6 +457,8 @@ static void *audio_bridge_thread(switch_thread_t *thread, void *obj)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (originator && !ans_b) ans_b = switch_channel_test_flag(chan_b, CF_ANSWERED);
|
||||||
|
|
||||||
if (originator && !sent_update && ans_a && ans_b && switch_channel_media_ack(chan_a) && switch_channel_media_ack(chan_b)) {
|
if (originator && !sent_update && ans_a && ans_b && switch_channel_media_ack(chan_a) && switch_channel_media_ack(chan_b)) {
|
||||||
switch_ivr_bridge_display(session_a, session_b);
|
switch_ivr_bridge_display(session_a, session_b);
|
||||||
sent_update = 1;
|
sent_update = 1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user