[asterisk-commits] dvossel: testsuite/asterisk/trunk r424 - /asterisk/trunk/tests/feature_attend...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Jun 22 16:41:16 CDT 2010
Author: dvossel
Date: Tue Jun 22 16:41:13 2010
New Revision: 424
URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=424
Log:
Addition of some more debugging to feature attended transfer test
Modified:
asterisk/trunk/tests/feature_attended_transfer/configs/extensions.conf
Modified: asterisk/trunk/tests/feature_attended_transfer/configs/extensions.conf
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/feature_attended_transfer/configs/extensions.conf?view=diff&rev=424&r1=423&r2=424
==============================================================================
--- asterisk/trunk/tests/feature_attended_transfer/configs/extensions.conf (original)
+++ asterisk/trunk/tests/feature_attended_transfer/configs/extensions.conf Tue Jun 22 16:41:13 2010
@@ -10,6 +10,8 @@
; __________________ A ______________________
exten => a_exten,1,Answer()
+exten => a_exten,n,Set(GLOBAL(ATT_TEST_A_LEG)=FAIL-answered the call, begin waiting)
+
;Play back audio while B leg begins to start transfer. This
;involves some timing. Playback is done 4 times to guarantee
;that B has begun the transfer before we start listening for DTMF.
@@ -19,11 +21,12 @@
exten => a_exten,n,Playback(${TALK_AUDIO})
;WAIT FOR DTMF FROM C TO KNOW IT IS UP AND SYNCED
+exten => a_exten,n,Set(GLOBAL(ATT_TEST_A_LEG)=FAIL-while reading DTMF from C)
exten => a_exten,n,Read(A_READ,,3,,,25)
exten => a_exten,n,NoOp(A READ IS ${A_READ})
;CHECK DTMF FROM C
-exten => a_exten,n,Set(GLOBAL(ATT_TEST_A_LEG)=FAIL-while checking dtmf results)
+exten => a_exten,n,Set(GLOBAL(ATT_TEST_A_LEG)=FAIL-while checking DTMF results)
exten => a_exten,n,GoToIf($[${A_READ}=100]?dtmfpass:dtmffail)
exten => a_exten,n(dtmffail),Set(GLOBAL(ATT_TEST_A_LEG)=FAIL-DTMF_FROM_C_FAILED ${A_READ})
exten => a_exten,n,Hangup()
More information about the asterisk-commits
mailing list