[asterisk-commits] kmoore: testsuite/asterisk/trunk r3348 - in /asterisk/trunk/tests: channels/S...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Fri Jul 20 10:47:06 CDT 2012
Author: kmoore
Date: Fri Jul 20 10:47:03 2012
New Revision: 3348
URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=3348
Log:
Update tests for modified HANGUPCAUSE implementation
This brings tests in line with the new version of the HANGUPCAUSE function
and translation capabilities.
(closes issue SWP-4223)
Modified:
asterisk/trunk/tests/channels/SIP/hangupcause/configs/ast2/extensions.conf
asterisk/trunk/tests/iax2/hangupcause/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=3348&r1=3347&r2=3348
==============================================================================
--- asterisk/trunk/tests/channels/SIP/hangupcause/configs/ast2/extensions.conf (original)
+++ asterisk/trunk/tests/channels/SIP/hangupcause/configs/ast2/extensions.conf Fri Jul 20 10:47:03 2012
@@ -8,8 +8,8 @@
exten => 3333,1,Set(TEST=local)
exten => 3333,2,Dial(local/3333 at isolated)
-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})
+exten => _XXXX,3,Set(ARRAY(C1,C2)=${HANGUPCAUSE_KEYS()})
+exten => _XXXX,4,UserEvent(HUCStatus,status: ${TEST},chan1: ${C1},chan2: ${C2},res1: ${HANGUPCAUSE(${C1},tech)},res2: ${HANGUPCAUSE(${C2},tech)},hangupcause: ${HANGUPCAUSE})
[isolated]
exten => 3333,1,Dial(sip/bob&sip/alice)
Modified: asterisk/trunk/tests/iax2/hangupcause/configs/ast2/extensions.conf
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/iax2/hangupcause/configs/ast2/extensions.conf?view=diff&rev=3348&r1=3347&r2=3348
==============================================================================
--- asterisk/trunk/tests/iax2/hangupcause/configs/ast2/extensions.conf (original)
+++ asterisk/trunk/tests/iax2/hangupcause/configs/ast2/extensions.conf Fri Jul 20 10:47:03 2012
@@ -8,8 +8,8 @@
exten => 3333,1,Set(TEST=local)
same => n,Dial(local/3333 at isolated)
-exten => h,1,Set(ARRAY(C1,C2)=${HASHKEYS(HANGUPCAUSE)})
-same => n,UserEvent(HUCStatus,status: ${TEST},chan1: ${C1},chan2: ${C2},res1: ${HASH(HANGUPCAUSE,${C1})},res2: ${HASH(HANGUPCAUSE,${C2})},hangupcause: ${HANGUPCAUSE})
+exten => h,1,Set(ARRAY(C1,C2)=${HANGUPCAUSE_KEYS()})
+same => n,UserEvent(HUCStatus,status: ${TEST},chan1: ${C1},chan2: ${C2},res1: ${HANGUPCAUSE(${C1},tech)},res2: ${HANGUPCAUSE(${C2},tech)},hangupcause: ${HANGUPCAUSE})
[isolated]
exten => 3333,1,Dial(iax2/bob&iax2/alice)
More information about the asterisk-commits
mailing list