[asterisk-commits] jbigelow: testsuite/asterisk/trunk r5914 - /asterisk/trunk/tests/channels/pjs...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Fri Nov 7 16:17:43 CST 2014
Author: jbigelow
Date: Fri Nov 7 16:17:39 2014
New Revision: 5914
URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=5914
Log:
Fix test by retrying outbound registration attempts.
This test has been failing on the build agents due to the outbound
registrations via TCP occurring before the SIPp instances are up and running.
The pjsip.conf configuration has been changed to allow 1 retry after 5 seconds
of the first failed attempt. Changes were made for both TCP and UDP outbound
registrations just to prevent fixing the same problem in the future for UDP.
Modified:
asterisk/trunk/tests/channels/pjsip/registration/outbound/unregister/unauthed/configs/ast1/pjsip.conf
Modified: asterisk/trunk/tests/channels/pjsip/registration/outbound/unregister/unauthed/configs/ast1/pjsip.conf
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/channels/pjsip/registration/outbound/unregister/unauthed/configs/ast1/pjsip.conf?view=diff&rev=5914&r1=5913&r2=5914
==============================================================================
--- asterisk/trunk/tests/channels/pjsip/registration/outbound/unregister/unauthed/configs/ast1/pjsip.conf (original)
+++ asterisk/trunk/tests/channels/pjsip/registration/outbound/unregister/unauthed/configs/ast1/pjsip.conf Fri Nov 7 16:17:39 2014
@@ -20,8 +20,8 @@
[registrar-ipv4-udp]
type=registration
-max_retries=0
-retry_interval=60
+max_retries=1
+retry_interval=5
forbidden_retry_interval=0
client_uri=sip:ua-ipv4-udp at 127.0.0.1:5060\;transport=udp
server_uri=sip:ua-ipv4-udp at 127.0.0.1:5061\;transport=udp
@@ -30,8 +30,8 @@
[registrar-ipv4-tcp]
type=registration
-max_retries=0
-retry_interval=60
+max_retries=1
+retry_interval=5
forbidden_retry_interval=0
client_uri=sip:ua-ipv4-tcp at 127.0.0.1:5060\;transport=tcp
server_uri=sip:ua-ipv4-tcp at 127.0.0.1:5061\;transport=tcp
@@ -40,8 +40,8 @@
[registrar-ipv6-udp]
type=registration
-max_retries=0
-retry_interval=60
+max_retries=1
+retry_interval=5
forbidden_retry_interval=0
client_uri=sip:ua-ipv6-udp@[::1]:5060\;transport=udp
server_uri=sip:ua-ipv6-udp@[::1]:5061\;transport=udp
@@ -50,8 +50,8 @@
[registrar-ipv6-tcp]
type=registration
-max_retries=0
-retry_interval=60
+max_retries=1
+retry_interval=5
forbidden_retry_interval=0
client_uri=sip:ua-ipv6-tcp@[::1]:5060\;transport=tcp
server_uri=sip:ua-ipv6-tcp@[::1]:5061\;transport=tcp
More information about the asterisk-commits
mailing list