[asterisk-commits] pjsip/transfers/blind transfer/goto on blindxfr: Use separat... (testsuite[master])

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Jul 5 11:18:43 CDT 2016


Anonymous Coward #1000019 has submitted this change and it was merged.

Change subject: pjsip/transfers/blind_transfer/goto_on_blindxfr: Use separate transports.
......................................................................


pjsip/transfers/blind_transfer/goto_on_blindxfr: Use separate transports.

It has been observed on some systems that sending multiple SIP INVITEs
to the local loopback at the same time may result in one of them receiving
EPERM (Operation Not Permitted). Why this is... is not quite known.

This change fixes the issue by having a separate transport for
each endpoint involved in this test so that multiple SIP INVITEs
are not sent on the same one.

Change-Id: I318b3f805b25ff805ee870bb7e23fe4450b22d01
---
M tests/channels/pjsip/transfers/blind_transfer/goto_on_blindxfr/configs/ast1/pjsip.conf
1 file changed, 24 insertions(+), 4 deletions(-)

Approvals:
  George Joseph: Looks good to me, but someone else must approve
  Anonymous Coward #1000019: Verified
  Joshua Colp: Looks good to me, approved



diff --git a/tests/channels/pjsip/transfers/blind_transfer/goto_on_blindxfr/configs/ast1/pjsip.conf b/tests/channels/pjsip/transfers/blind_transfer/goto_on_blindxfr/configs/ast1/pjsip.conf
index 908c127..e6dac9b 100644
--- a/tests/channels/pjsip/transfers/blind_transfer/goto_on_blindxfr/configs/ast1/pjsip.conf
+++ b/tests/channels/pjsip/transfers/blind_transfer/goto_on_blindxfr/configs/ast1/pjsip.conf
@@ -7,6 +7,26 @@
 bind=127.0.0.1
 protocol=udp
 
+[local-transport2]
+type=transport
+bind=127.0.0.1:5062
+protocol=udp
+
+[local-transport3]
+type=transport
+bind=127.0.0.1:5063
+protocol=udp
+
+[local-transport4]
+type=transport
+bind=127.0.0.1:5064
+protocol=udp
+
+[local-transport5]
+type=transport
+bind=127.0.0.1:5065
+protocol=udp
+
 [my_endpoint](!)
 type=endpoint
 context=testsuite
@@ -19,7 +39,7 @@
 
 [alice]
 type=aor
-contact=sip:alice at 127.0.0.1:5060\;transport=udp
+contact=sip:alice at 127.0.0.1:5062\;transport=udp
 
 [bob](my_endpoint)
 from_user=bob
@@ -27,7 +47,7 @@
 
 [bob]
 type=aor
-contact=sip:bob at 127.0.0.1:5060\;transport=udp
+contact=sip:bob at 127.0.0.1:5063\;transport=udp
 
 [charlie](my_endpoint)
 from_user=charlie
@@ -35,7 +55,7 @@
 
 [charlie]
 type=aor
-contact=sip:charlie at 127.0.0.1:5060\;transport=udp
+contact=sip:charlie at 127.0.0.1:5064\;transport=udp
 
 [david](my_endpoint)
 from_user=david
@@ -43,5 +63,5 @@
 
 [david]
 type=aor
-contact=sip:david at 127.0.0.1:5060\;transport=udp
+contact=sip:david at 127.0.0.1:5065\;transport=udp
 

-- 
To view, visit https://gerrit.asterisk.org/3147
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I318b3f805b25ff805ee870bb7e23fe4450b22d01
Gerrit-PatchSet: 1
Gerrit-Project: testsuite
Gerrit-Branch: master
Gerrit-Owner: Joshua Colp <jcolp at digium.com>
Gerrit-Reviewer: Anonymous Coward #1000019
Gerrit-Reviewer: George Joseph <gjoseph at digium.com>
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>



More information about the asterisk-commits mailing list