[asterisk-commits] mjordan: testsuite/asterisk/trunk r3723 - in /asterisk/trunk/tests/channels/S...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Sat Apr 20 10:51:50 CDT 2013
Author: mjordan
Date: Sat Apr 20 10:51:46 2013
New Revision: 3723
URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=3723
Log:
Check version against 12, not 11
11-branch is technically greater than 11.0.0, so we were
still registering for the wrong event
Modified:
asterisk/trunk/tests/channels/SIP/info_dtmf/run-test
asterisk/trunk/tests/channels/SIP/sip_tls_call/run-test
Modified: asterisk/trunk/tests/channels/SIP/info_dtmf/run-test
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/channels/SIP/info_dtmf/run-test?view=diff&rev=3723&r1=3722&r2=3723
==============================================================================
--- asterisk/trunk/tests/channels/SIP/info_dtmf/run-test (original)
+++ asterisk/trunk/tests/channels/SIP/info_dtmf/run-test Sat Apr 20 10:51:46 2013
@@ -54,7 +54,7 @@
Keyword Arguments:
ami - The StarPY manager object that connected
"""
- if (AsteriskVersion() > AsteriskVersion('11')):
+ if (AsteriskVersion() >= AsteriskVersion('12')):
ami.registerEvent('DTMFEnd', self.handle_dtmf_end_event)
else:
ami.registerEvent('DTMF', self.handle_dtmf_event)
Modified: asterisk/trunk/tests/channels/SIP/sip_tls_call/run-test
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/channels/SIP/sip_tls_call/run-test?view=diff&rev=3723&r1=3722&r2=3723
==============================================================================
--- asterisk/trunk/tests/channels/SIP/sip_tls_call/run-test (original)
+++ asterisk/trunk/tests/channels/SIP/sip_tls_call/run-test Sat Apr 20 10:51:46 2013
@@ -80,7 +80,7 @@
# End of additional setup for config files and keys
def ami_connect(self, ami):
- if (AsteriskVersion() > AsteriskVersion('11')):
+ if (AsteriskVersion() >= AsteriskVersion('12')):
ami.registerEvent('DTMFEnd', self.ami_test)
else:
ami.registerEvent('DTMF', self.ami_test)
More information about the asterisk-commits
mailing list