[asterisk-commits] mjordan: testsuite/asterisk/trunk r4973 - in /asterisk/trunk/tests/apps/disa/...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Sat Apr 19 13:05:49 CDT 2014


Author: mjordan
Date: Sat Apr 19 13:05:37 2014
New Revision: 4973

URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=4973
Log:
apps/disa/nominal/authenticate: Fix conflict with extensions.lua

When pbx_lua is loaded with the default extensions.lua, it will add extension
1000 at default. Depending on the order in which modules are loaded, this can
cause a 'match more' extension pattern match to believe that it should continue
to receive digits when looking for 100 at default. Since the DISA test was
attempting to jump to 100 at default, it would fail on the build agents, which
apparently load pbx_lua at a different time than my development machine. Go
Figure.

This patch simply makes the extension that we attempt to jump to 200 at default,
which avoids any conflict with the sample extensions.lua extensions.

Modified:
    asterisk/trunk/tests/apps/disa/nominal/authenticate/configs/ast1/extensions.conf
    asterisk/trunk/tests/apps/disa/nominal/authenticate/test-config.yaml

Modified: asterisk/trunk/tests/apps/disa/nominal/authenticate/configs/ast1/extensions.conf
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/apps/disa/nominal/authenticate/configs/ast1/extensions.conf?view=diff&rev=4973&r1=4972&r2=4973
==============================================================================
--- asterisk/trunk/tests/apps/disa/nominal/authenticate/configs/ast1/extensions.conf (original)
+++ asterisk/trunk/tests/apps/disa/nominal/authenticate/configs/ast1/extensions.conf Sat Apr 19 13:05:37 2014
@@ -38,7 +38,7 @@
     same => n,Answer()
     same => n,DISA(1234,default)
 
-exten => 100,1,NoOp()
+exten => 200,1,NoOp()
     same => n,UserEvent(TestResult,result:pass)
     same => n,Hangup()
 

Modified: asterisk/trunk/tests/apps/disa/nominal/authenticate/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/apps/disa/nominal/authenticate/test-config.yaml?view=diff&rev=4973&r1=4972&r2=4973
==============================================================================
--- asterisk/trunk/tests/apps/disa/nominal/authenticate/test-config.yaml (original)
+++ asterisk/trunk/tests/apps/disa/nominal/authenticate/test-config.yaml Sat Apr 19 13:05:37 2014
@@ -36,7 +36,7 @@
                 -
                   action-type: 'send-dtmf'
                   delay: 1
-                  dtmf: '1234#100'
+                  dtmf: '1234#200'
             -
               type: 'headermatch'
               conditions:




More information about the asterisk-commits mailing list