[asterisk-commits] kmoore: testsuite/asterisk/trunk r3237 - in /asterisk/trunk/tests/channels/SI...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri May 25 10:39:19 CDT 2012


Author: kmoore
Date: Fri May 25 10:39:15 2012
New Revision: 3237

URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=3237
Log:
Ensure that cause event generation has enough time to execute

In certain circumstances, the hangup extension would take too long to
execute and would be stopped before finishing. This change ensures that
this situation can no longer occur.

Modified:
    asterisk/trunk/tests/channels/SIP/hangupcause/configs/ast2/extensions.conf
    asterisk/trunk/tests/channels/SIP/sip_cause/configs/ast2/extensions.conf

Modified: asterisk/trunk/tests/channels/SIP/hangupcause/configs/ast2/extensions.conf
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/channels/SIP/hangupcause/configs/ast2/extensions.conf?view=diff&rev=3237&r1=3236&r2=3237
==============================================================================
--- asterisk/trunk/tests/channels/SIP/hangupcause/configs/ast2/extensions.conf (original)
+++ asterisk/trunk/tests/channels/SIP/hangupcause/configs/ast2/extensions.conf Fri May 25 10:39:15 2012
@@ -8,8 +8,8 @@
 exten => 3333,1,Set(TEST=local)
 exten => 3333,2,Dial(local/3333 at isolated)
 
-exten => h,1,Set(ARRAY(C1,C2)=${HASHKEYS(HANGUPCAUSE)})
-exten => h,2,UserEvent(HUCStatus,status: ${TEST},chan1: ${C1},chan2: ${C2},res1: ${HASH(HANGUPCAUSE,${C1})},res2: ${HASH(HANGUPCAUSE,${C2})},hangupcause: ${HANGUPCAUSE})
+exten => _XXXX,3,Set(ARRAY(C1,C2)=${HASHKEYS(HANGUPCAUSE)})
+exten => _XXXX,4,UserEvent(HUCStatus,status: ${TEST},chan1: ${C1},chan2: ${C2},res1: ${HASH(HANGUPCAUSE,${C1})},res2: ${HASH(HANGUPCAUSE,${C2})},hangupcause: ${HANGUPCAUSE})
 
 [isolated]
 exten => 3333,1,Dial(sip/bob&sip/alice)

Modified: asterisk/trunk/tests/channels/SIP/sip_cause/configs/ast2/extensions.conf
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/channels/SIP/sip_cause/configs/ast2/extensions.conf?view=diff&rev=3237&r1=3236&r2=3237
==============================================================================
--- asterisk/trunk/tests/channels/SIP/sip_cause/configs/ast2/extensions.conf (original)
+++ asterisk/trunk/tests/channels/SIP/sip_cause/configs/ast2/extensions.conf Fri May 25 10:39:15 2012
@@ -8,9 +8,9 @@
 exten => 3333,1,Set(TEST=local)
 exten => 3333,2,Dial(local/3333 at isolated)
 
-exten => h,1,Wait(2)
-exten => h,n,Set(ARRAY(C1,C2)=${HASHKEYS(SIP_CAUSE)})
-exten => h,n,UserEvent(SCStatus,status: ${TEST},chan1: ${C1},chan2: ${C2},res1: ${HASH(SIP_CAUSE,${C1})},res2: ${HASH(SIP_CAUSE,${C2})},hangupcause: ${HANGUPCAUSE})
+exten => _XXXX,3,Wait(2)
+exten => _XXXX,4,Set(ARRAY(C1,C2)=${HASHKEYS(SIP_CAUSE)})
+exten => _XXXX,5,UserEvent(SCStatus,status: ${TEST},chan1: ${C1},chan2: ${C2},res1: ${HASH(SIP_CAUSE,${C1})},res2: ${HASH(SIP_CAUSE,${C2})},hangupcause: ${HANGUPCAUSE})
 
 [isolated]
 exten => 3333,1,Dial(sip/bob&sip/alice)




More information about the asterisk-commits mailing list