mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-02-05 10:34:54 +00:00
FS-3688 forgot to revert test code
This commit is contained in:
parent
6bd2798ea1
commit
04469bb5c9
@ -957,8 +957,8 @@ static switch_status_t sofia_read_frame(switch_core_session_t *session, switch_f
|
|||||||
if (sofia_test_flag(tech_pvt, TFLAG_HUP)) {
|
if (sofia_test_flag(tech_pvt, TFLAG_HUP)) {
|
||||||
return SWITCH_STATUS_FALSE;
|
return SWITCH_STATUS_FALSE;
|
||||||
}
|
}
|
||||||
for(;;) {
|
|
||||||
//while (!(tech_pvt->read_codec.implementation && switch_rtp_ready(tech_pvt->rtp_session) && !switch_channel_test_flag(channel, CF_REQ_MEDIA))) {
|
while (!(tech_pvt->read_codec.implementation && switch_rtp_ready(tech_pvt->rtp_session) && !switch_channel_test_flag(channel, CF_REQ_MEDIA))) {
|
||||||
switch_ivr_parse_all_messages(tech_pvt->session);
|
switch_ivr_parse_all_messages(tech_pvt->session);
|
||||||
if (--sanity && switch_channel_up(channel)) {
|
if (--sanity && switch_channel_up(channel)) {
|
||||||
switch_yield(10000);
|
switch_yield(10000);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user