Skip to content

Commit 356e6ce

Browse files
author
Maria Farooq
committed
dial DID with proper org
1 parent 9f28a32 commit 356e6ce

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

restcomm/restcomm.testsuite/src/test/java/org/restcomm/connect/testsuite/telephony/ReferOrganizationTest.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -605,7 +605,7 @@ public void testTransferHangupByBob() throws ParseException, InterruptedExceptio
605605

606606
final SipCall bobCall = bobPhone.createSipCall();
607607

608-
bobCall.initiateOutgoingCall(bobContact, "sip:1111@127.0.0.1:5080", null, body, "application", "sdp", null, null);
608+
bobCall.initiateOutgoingCall(bobContact, dialRestcommOrg3, null, body, "application", "sdp", null, null);
609609

610610
assertLastOperationSuccess(bobCall);
611611
assertTrue(bobCall.waitOutgoingCallResponse(5 * 1000));
@@ -733,7 +733,7 @@ public void testTransferByBob() throws ParseException, InterruptedException, Mal
733733

734734
final SipCall bobCall = bobPhone.createSipCall();
735735

736-
bobCall.initiateOutgoingCall(bobContact, "sip:1111@127.0.0.1:5080", null, body, "application", "sdp", null, null);
736+
bobCall.initiateOutgoingCall(bobContact, dialRestcommOrg3, null, body, "application", "sdp", null, null);
737737

738738
assertLastOperationSuccess(bobCall);
739739
assertTrue(bobCall.waitOutgoingCallResponse(5 * 1000));
@@ -927,7 +927,7 @@ public void testTransferWithOutOfDialogRefer() throws ParseException, Interrupte
927927

928928
final SipCall bobCall = bobPhone.createSipCall();
929929

930-
bobCall.initiateOutgoingCall(bobContact, "sip:1111@127.0.0.1:5080", null, body, "application", "sdp", null, null);
930+
bobCall.initiateOutgoingCall(bobContact, dialRestcommOrg3, null, body, "application", "sdp", null, null);
931931

932932
assertLastOperationSuccess(bobCall);
933933
assertTrue(bobCall.waitOutgoingCallResponse(5 * 1000));
@@ -994,7 +994,7 @@ public void testTransferIncorrectReferTarget() throws ParseException, Interrupte
994994

995995
final SipCall bobCall = bobPhone.createSipCall();
996996

997-
bobCall.initiateOutgoingCall(bobContact, "sip:1111@127.0.0.1:5080", null, body, "application", "sdp", null, null);
997+
bobCall.initiateOutgoingCall(bobContact, dialRestcommOrg3, null, body, "application", "sdp", null, null);
998998

999999
assertLastOperationSuccess(bobCall);
10001000
assertTrue(bobCall.waitOutgoingCallResponse(5 * 1000));

0 commit comments

Comments
 (0)