[asterisk-commits] espiceland: testsuite/asterisk/trunk r785 - /asterisk/trunk/tests/fastagi/con...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu Sep 2 08:05:13 CDT 2010
Author: espiceland
Date: Thu Sep 2 08:05:08 2010
New Revision: 785
URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=785
Log:
Fix possible race condition with BackgroundDetect.
Modified:
asterisk/trunk/tests/fastagi/configs/extensions.conf
Modified: asterisk/trunk/tests/fastagi/configs/extensions.conf
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/fastagi/configs/extensions.conf?view=diff&rev=785&r1=784&r2=785
==============================================================================
--- asterisk/trunk/tests/fastagi/configs/extensions.conf (original)
+++ asterisk/trunk/tests/fastagi/configs/extensions.conf Thu Sep 2 08:05:08 2010
@@ -53,7 +53,7 @@
exten => td_and_agi_notify,1,Answer()
exten => td_and_agi_notify,n,Set(GLOBAL(DEBUG)=FAIL - td_and_agi_notify answered)
exten => td_and_agi_notify,n,Set(TALK_DETECTED=0)
-exten => td_and_agi_notify,n,BackgroundDetect(silence/10,100,100,20000)
+exten => td_and_agi_notify,n,BackgroundDetect(silence/10,100,10,20000)
exten => td_and_agi_notify,n,Wait(15)
exten => td_and_agi_notify,n,Set(GLOBAL(DEBUG)=FAIL - td_and_agi_notify listening for sounds)
exten => td_and_agi_notify,n,GoToIf($[${TALK_DETECTED}=0]?fail:pass)
More information about the asterisk-commits
mailing list