提交 6f511b94 authored 作者: Konrad Hammel's avatar Konrad Hammel 提交者: Moises Silva

-> decrease the length of time that "check for state change" waits to 500ms

上级 2fd70942
...@@ -315,7 +315,7 @@ int check_for_state_change(ftdm_channel_t *ftdmchan) ...@@ -315,7 +315,7 @@ int check_for_state_change(ftdm_channel_t *ftdmchan)
ftdmchan->physical_chan_id); ftdmchan->physical_chan_id);
#endif #endif
/* check to see if there are any pending state changes on the channel and give them a sec to happen*/ /* check to see if there are any pending state changes on the channel and give them a sec to happen*/
ftdm_wait_for_flag_cleared(ftdmchan, FTDM_CHANNEL_STATE_CHANGE, 5000); ftdm_wait_for_flag_cleared(ftdmchan, FTDM_CHANNEL_STATE_CHANGE, 500);
/* check the flag to confirm it is clear now */ /* check the flag to confirm it is clear now */
if (ftdm_test_flag(ftdmchan, FTDM_CHANNEL_STATE_CHANGE)) { if (ftdm_test_flag(ftdmchan, FTDM_CHANNEL_STATE_CHANGE)) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论