mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-01 11:02:53 +00:00
tweak
This commit is contained in:
parent
7d2e742feb
commit
a8ce9ac29f
@ -694,9 +694,12 @@ static uint8_t check_channel_status(originate_global_t *oglobals, originate_stat
|
||||
}
|
||||
}
|
||||
|
||||
if (!oglobals->early_ok && switch_channel_test_flag(originate_status[i].peer_channel, CF_EARLY_OK)) {
|
||||
if (switch_channel_test_flag(originate_status[i].peer_channel, CF_EARLY_OK)) {
|
||||
if (!oglobals->early_ok) {
|
||||
oglobals->early_ok = 1;
|
||||
}
|
||||
switch_channel_clear_flag(originate_status[i].peer_channel, CF_EARLY_OK);
|
||||
}
|
||||
|
||||
state = switch_channel_get_state(originate_status[i].peer_channel);
|
||||
if (state >= CS_HANGUP || state == CS_RESET || switch_channel_test_flag(originate_status[i].peer_channel, CF_TRANSFER) ||
|
||||
|
Loading…
x
Reference in New Issue
Block a user