don't parse events in channel_ready during hold
This commit is contained in:
parent
2e651c8fd0
commit
cad68d53f5
|
@ -1723,8 +1723,10 @@ SWITCH_DECLARE(int) switch_channel_test_ready(switch_channel_t *channel, switch_
|
|||
}
|
||||
|
||||
if (ret) {
|
||||
if (!switch_channel_test_flag(channel, CF_LEG_HOLDING)) {
|
||||
switch_ivr_parse_all_events(channel->session);
|
||||
}
|
||||
}
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue