diff --git a/scenarios/invite_peerout_stir/0001_test.yml.tt2 b/scenarios/invite_peerout_stir/0001_test.yml.tt2 index aab6ff9c..2e3e6d9e 100644 --- a/scenarios/invite_peerout_stir/0001_test.yml.tt2 +++ b/scenarios/invite_peerout_stir/0001_test.yml.tt2 @@ -21,9 +21,9 @@ flow: - return|ROUTE_RUNTIME: - exit|ROUTE_EXIT: sip_in: - - '^INVITE sip:[% scenarios.0.responders.0.username %]@' - - 'Contact: sip:[% scenarios.0.username %]@' - - 'To: ]+)?>' + - 'To: ' - 'CSeq: 1 INVITE' - 'Max-Forwards: 69' - 'Content-Type: application/sdp' diff --git a/scenarios/invite_peerout_stir/0003_test.yml.tt2 b/scenarios/invite_peerout_stir/0003_test.yml.tt2 index ff5374b7..d385a140 100644 --- a/scenarios/invite_peerout_stir/0003_test.yml.tt2 +++ b/scenarios/invite_peerout_stir/0003_test.yml.tt2 @@ -189,8 +189,8 @@ flow: "outgoing" ] sip_in: - - '^INVITE sip:[% scenarios.0.responders.0.username %]@' - - 'Contact: sip:[% scenarios.0.username %]@' + - '^INVITE sip:[% scenarios.0.responders.0.username %]@invite-peerout-stir.scenarios.test' + - 'Contact: ]+)?>' - 'CSeq: 2 INVITE' - 'Max-Forwards: 69' - 'Content-Type: application/sdp' diff --git a/scenarios/invite_peerout_stir/0011_test.yml.tt2 b/scenarios/invite_peerout_stir/0011_test.yml.tt2 index 75d737a7..4cf312ec 100644 --- a/scenarios/invite_peerout_stir/0011_test.yml.tt2 +++ b/scenarios/invite_peerout_stir/0011_test.yml.tt2 @@ -26,7 +26,7 @@ flow: - exit|ROUTE_EXIT: sip_in: - '^ACK sip:127.0.0.1:5080(;prxroute=1)? SIP/2.0' - - 'Contact: sip:[% scenarios.0.username %]@' + - 'Contact: ]+)?>' - 'CSeq: 2 ACK' - 'Max-Forwards: 69' - 'Content-Length: 0' @@ -36,7 +36,7 @@ sip_in: sip_out: - [ '^ACK sip:127.0.0.1:5080(;prxroute=1)? SIP/2.0', - 'Contact: sip:[% scenarios.0.username %]@', + 'Contact: ]+)?>', 'CSeq: 2 ACK', 'Max-Forwards: 68', 'Content-Length: 0', diff --git a/scenarios/invite_peerout_stir/0013_test.yml.tt2 b/scenarios/invite_peerout_stir/0013_test.yml.tt2 index 0b236aac..7cd3149b 100644 --- a/scenarios/invite_peerout_stir/0013_test.yml.tt2 +++ b/scenarios/invite_peerout_stir/0013_test.yml.tt2 @@ -30,7 +30,7 @@ flow: - exit|ROUTE_EXIT: sip_in: - '^BYE sip:127.0.0.1:5080(;prxroute=1)? SIP/2.0' - - 'Contact: sip:[% scenarios.0.username %]@' + - 'Contact: ]+)?>' - 'CSeq: 3 BYE' - 'Max-Forwards: 69' - 'Content-Length: 0' @@ -47,7 +47,7 @@ sip_out: ] - [ '^BYE sip:127.0.0.1:5080(;prxroute=1)? SIP/2.0', - 'Contact: sip:[% scenarios.0.username %]@', + 'Contact: ]+)?>', 'CSeq: 3 BYE', 'Max-Forwards: 68', 'Content-Length: 0', diff --git a/scenarios/invite_peerout_stir/sipp_scenario00.xml b/scenarios/invite_peerout_stir/sipp_scenario00.xml index 750a70e4..b5921982 100644 --- a/scenarios/invite_peerout_stir/sipp_scenario00.xml +++ b/scenarios/invite_peerout_stir/sipp_scenario00.xml @@ -10,7 +10,7 @@ To: Call-ID: NGCP%[field4 file="callee.csv" line=0]%///[call_id] CSeq: 1 INVITE - Contact: sip:[field0 file="caller.csv" line=0]@[local_ip]:[local_port] + Contact: Max-Forwards: 70 Content-Type: application/sdp Content-Length: [len] @@ -41,7 +41,7 @@ To: [peer_tag_param] Call-ID: NGCP%[field4 file="callee.csv" line=0]%///[call_id] CSeq: 1 ACK - Contact: sip:[field0 file="caller.csv" line=0]@[local_ip]:[local_port] + Contact: Max-Forwards: 70 Content-Length: 0 @@ -59,7 +59,7 @@ To: Call-ID: NGCP%[field4 file="callee.csv" line=0]%///[call_id] CSeq: 2 INVITE - Contact: sip:[field0 file="caller.csv" line=0]@[local_ip]:[local_port] + Contact: Max-Forwards: 70 [field1 file="caller.csv" line=0] Content-Type: application/sdp @@ -99,7 +99,7 @@ Call-ID: NGCP%[field4 file="callee.csv" line=0]%///[call_id] [routes] CSeq: 2 ACK - Contact: sip:[field0 file="caller.csv" line=0]@[local_ip]:[local_port] + Contact: Max-Forwards: 70 Content-Length: 0 @@ -124,7 +124,7 @@ To: [peer_tag_param] Call-ID: NGCP%[field4 file="callee.csv" line=0]%///[call_id] CSeq: 3 BYE - Contact: sip:[field0 file="caller.csv" line=0]@[local_ip]:[local_port] + Contact: [routes] Max-Forwards: 70 Content-Length: 0