diff --git a/scenarios/invite_tcp_udp/0003_test.yml.tt2 b/scenarios/invite_tcp_udp/0003_test.yml.tt2 index 9013dd93..6e275424 100644 --- a/scenarios/invite_tcp_udp/0003_test.yml.tt2 +++ b/scenarios/invite_tcp_udp/0003_test.yml.tt2 @@ -23,8 +23,8 @@ flow: - exit|ROUTE_EXIT: sip_in: - '^INVITE' - - 'Contact: ;tag=[\w-]+' - - 'To: ' + - 'INVITE sip:[% scenarios.0.responders.0.username %]@[% scenarios.0.responders.0.ip %]:[% scenarios.0.responders.0.port %] SIP/2.0' + - 'From: ;tag=[\w-]+' + - 'To: ' - 'CSeq: \d+ INVITE' - 'P-LB-Uptime: \d+' - - 'P-Asserted-Identity: ' - - 'P-Caller-UUID: [% spce_test.testuser1002.uuid %]' - - 'P-NGCP-Caller-Info: ;ip=127.0.0.1;port=51602;primary=4311002' - - 'P-NGCP-Callee-Info: ;ip=127.0.0.1;port=5060;primary=4311003' + - 'P-Asserted-Identity: ' + - 'P-Caller-UUID: [% invite_tcp_udp_scenarios_test.testuser1002.uuid %]' + - 'P-NGCP-Caller-Info: ;ip=127.0.0.1;port=51602;primary=[% invite_tcp_udp_scenarios_test.testuser1002.phone_number %]' + - 'P-NGCP-Callee-Info: ;ip=127.0.0.1;port=5060;primary=[% invite_tcp_udp_scenarios_test.testuser1003.phone_number %]' - 'P-D-Uri: sip:lb@127.0.0.1;lr;socket=sip:127.0.0.1:5060' - 'Content-Type: application/sdp' - 'Contact: ' @@ -29,22 +29,22 @@ sip_in: sip_out: - [ 'SIP/2.0 100 Trying', - 'From: ;tag=[\w-]+', - 'To: ', + 'From: ;tag=[\w-]+', + 'To: ', 'CSeq: \d+ INVITE', 'Server: Sipwise NGCP Proxy', 'Content-Length: 0', ] - [ - 'INVITE sip:testuser1003@127.1.0.1:\d+ SIP/2.0', - 'From: ;tag=[\w-]+', - 'To: ', + 'INVITE sip:[% scenarios.0.responders.0.username %]@[% scenarios.0.responders.0.ip %]:[% scenarios.0.responders.0.port %] SIP/2.0', + 'From: ;tag=[\w-]+', + 'To: ', 'CSeq: \d+ INVITE', 'P-LB-Uptime: \d+', - 'P-Asserted-Identity: ', - 'P-Caller-UUID: [% spce_test.testuser1002.uuid %]', - 'P-NGCP-Caller-Info: ;ip=127.0.0.1;port=51602;primary=4311002', - 'P-NGCP-Callee-Info: ;ip=127.0.0.1;port=5060;primary=4311003', + 'P-Asserted-Identity: ', + 'P-Caller-UUID: [% invite_tcp_udp_scenarios_test.testuser1002.uuid %]', + 'P-NGCP-Caller-Info: ;ip=127.0.0.1;port=51602;primary=[% invite_tcp_udp_scenarios_test.testuser1002.phone_number %]', + 'P-NGCP-Callee-Info: ;ip=127.0.0.1;port=5060;primary=[% invite_tcp_udp_scenarios_test.testuser1003.phone_number %]', 'P-D-Uri: sip:lb@127.0.0.1;lr;socket=sip:127.0.0.1:5060', 'Content-Type: application/sdp', 'Contact: ', diff --git a/scenarios/invite_tcp_udp/0015_test.yml.tt2 b/scenarios/invite_tcp_udp/0015_test.yml.tt2 index 3f46cbd9..1baf75e6 100644 --- a/scenarios/invite_tcp_udp/0015_test.yml.tt2 +++ b/scenarios/invite_tcp_udp/0015_test.yml.tt2 @@ -30,27 +30,27 @@ flow: $avp(proto): ["tcp"] sip_in: - '^BYE sip:127.0.0.1:5080(;prxroute=1)? SIP/2.0' - - 'Contact: