[svn-commits] kmoore: testsuite/asterisk/trunk r4265 - in /asterisk/trunk/tests/apps/page: ...
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Sat Oct 19 16:51:47 CDT 2013
Author: kmoore
Date: Sat Oct 19 16:51:40 2013
New Revision: 4265
URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=4265
Log:
Fix outbound dialing in app_page integration test
This fixes outbound dialing and address resolution in the app_page
integration test. The address "localhost" resolves to multiple
addresses and the first address in the list is "::1" which is now
accepted since IAX2 supports IPv6. In addition, chan_iax2 is explicitly
bound to 127.0.0.1 which can not accept IPv6 traffic. The outbound
dials now explicitly request "127.0.0.1".
Review: https://reviewboard.asterisk.org/r/2935/
Modified:
asterisk/trunk/tests/apps/page/configs/ast1/extensions.conf
asterisk/trunk/tests/apps/page/run-test
Modified: asterisk/trunk/tests/apps/page/configs/ast1/extensions.conf
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/apps/page/configs/ast1/extensions.conf?view=diff&rev=4265&r1=4264&r2=4265
==============================================================================
--- asterisk/trunk/tests/apps/page/configs/ast1/extensions.conf (original)
+++ asterisk/trunk/tests/apps/page/configs/ast1/extensions.conf Sat Oct 19 16:51:40 2013
@@ -5,7 +5,7 @@
[pagetest]
exten => 1000,1,Answer()
-exten => 1000,n,Page(IAX2/localhost/2000)
+exten => 1000,n,Page(IAX2/127.0.0.1/2000)
exten => 2000,1,Answer()
exten => 2000,n,AMD()
Modified: asterisk/trunk/tests/apps/page/run-test
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/apps/page/run-test?view=diff&rev=4265&r1=4264&r2=4265
==============================================================================
--- asterisk/trunk/tests/apps/page/run-test (original)
+++ asterisk/trunk/tests/apps/page/run-test Sat Oct 19 16:51:40 2013
@@ -26,7 +26,7 @@
def ami_connect(self, ami):
self.ami[0].registerEvent("UserEvent", self.check_amd_status_result)
- self.ami[0].originate(channel = "IAX2/localhost/1000",
+ self.ami[0].originate(channel = "IAX2/127.0.0.1/1000",
application = "Playback",
data = "demo-congrats")
More information about the svn-commits
mailing list