[asterisk-commits] kmoore: testsuite/asterisk/trunk r3435 - /asterisk/trunk/tests/channels/iax2/...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu Aug 16 13:46:32 CDT 2012
Author: kmoore
Date: Thu Aug 16 13:46:28 2012
New Revision: 3435
URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=3435
Log:
Ignore hangup information about the caller
When handling hangup cause information in the h extension, the calling
channel will have already been hung up and may have generated its own
hangup cause information. This information is not necessary for this
test.
Modified:
asterisk/trunk/tests/channels/iax2/hangupcause/configs/ast2/extensions.conf
Modified: asterisk/trunk/tests/channels/iax2/hangupcause/configs/ast2/extensions.conf
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/channels/iax2/hangupcause/configs/ast2/extensions.conf?view=diff&rev=3435&r1=3434&r2=3435
==============================================================================
--- asterisk/trunk/tests/channels/iax2/hangupcause/configs/ast2/extensions.conf (original)
+++ asterisk/trunk/tests/channels/iax2/hangupcause/configs/ast2/extensions.conf Thu Aug 16 13:46:28 2012
@@ -8,7 +8,9 @@
exten => 3333,1,Set(TEST=local)
same => n,Dial(local/3333 at isolated)
-exten => h,1,Set(ARRAY(C1,C2)=${HANGUPCAUSE_KEYS()})
+exten => h,1,Set(HUC_KEYS=${HANGUPCAUSE_KEYS()})
+same => n,Set(HUC_KEYS=${LISTFILTER(HUC_KEYS,,${CHANNEL})})
+same => n,Set(ARRAY(C1,C2)=${HUC_KEYS})
same => n,UserEvent(HUCStatus,status: ${TEST},chan1: ${C1},chan2: ${C2},res1: ${HANGUPCAUSE(${C1},tech)},res2: ${HANGUPCAUSE(${C2},tech)},hangupcause: ${HANGUPCAUSE})
[isolated]
More information about the asterisk-commits
mailing list