diff --git a/scenarios/invite_concurrent_max_out_per_account/0001_test.yml.tt2 b/scenarios/invite_concurrent_max_out_per_account/0001_test.yml.tt2 index 72a51010..22220999 100644 --- a/scenarios/invite_concurrent_max_out_per_account/0001_test.yml.tt2 +++ b/scenarios/invite_concurrent_max_out_per_account/0001_test.yml.tt2 @@ -21,9 +21,9 @@ flow: - return|ROUTE_RUNTIME: - exit|ROUTE_EXIT: sip_in: - - '^INVITE sip:004321001@' + - '^INVITE sip:[% scenarios.0.responders.0.username %]@' - 'Contact: sip:testuser1002@' - - 'To: ;tag=[\w-]+' - - 'To: ' + - 'INVITE sip:[% scenarios.0.responders.0.username %]@[% scenarios.0.responders.0.ip %]:[% scenarios.0.responders.0.port %];transport=udp 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.126.0.1;port=\d+;primary=4311002' - - 'P-NGCP-Callee-Info: ;ip=127.0.2.1;port=\d+' - - 'P-D-Uri: sip:127.0.0.1:5060;received=sip:127.0.2.1:\d+%3blr%3btransport%3dudp' + - 'P-Asserted-Identity: ' + - 'P-Caller-UUID: [% invite_concurrent_max_out_per_account_scenarios_test.testuser1002.uuid %]' + - 'P-NGCP-Caller-Info: ;ip=[% scenarios.0.ip %];port=[% scenarios.0.port %];primary=[% invite_concurrent_max_out_per_account_scenarios_test.testuser1002.phone_number %]' + - 'P-NGCP-Callee-Info: ;ip=[% scenarios.0.responders.0.ip %];port=[% scenarios.0.responders.0.port %]' + - 'P-D-Uri: sip:127.0.0.1:5060;received=sip:[% scenarios.0.responders.0.ip %]:[% scenarios.0.responders.0.port %]%3blr%3btransport%3dudp' - 'Content-Type: application/sdp' - 'Contact: ' - 'Content-Length:\s+\d+' 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:004321001@127.0.2.1:\d+;transport=udp SIP/2.0', - 'From: ;tag=[\w-]+', - 'To: ', + 'INVITE sip:[% scenarios.0.responders.0.username %]@[% scenarios.0.responders.0.ip %]:[% scenarios.0.responders.0.port %];transport=udp 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.126.0.1;port=\d+;primary=4311002', - 'P-NGCP-Callee-Info: ;ip=127.0.2.1;port=\d+', - 'P-D-Uri: sip:127.0.0.1:5060;received=sip:127.0.2.1:\d+%3blr%3btransport%3dudp', + 'P-Asserted-Identity: ', + 'P-Caller-UUID: [% invite_concurrent_max_out_per_account_scenarios_test.testuser1002.uuid %]', + 'P-NGCP-Caller-Info: ;ip=[% scenarios.0.ip %];port=[% scenarios.0.port %];primary=[% invite_concurrent_max_out_per_account_scenarios_test.testuser1002.phone_number %]', + 'P-NGCP-Callee-Info: ;ip=[% scenarios.0.responders.0.ip %];port=[% scenarios.0.responders.0.port %]', + 'P-D-Uri: sip:127.0.0.1:5060;received=sip:[% scenarios.0.responders.0.ip %]:[% scenarios.0.responders.0.port %]%3blr%3btransport%3dudp', 'Content-Type: application/sdp', 'Contact: ', 'Content-Length:\s+\d+', diff --git a/scenarios/invite_concurrent_max_out_per_account/0010_test.yml.tt2 b/scenarios/invite_concurrent_max_out_per_account/0010_test.yml.tt2 index 3df88c2e..1cb0dbef 100644 --- a/scenarios/invite_concurrent_max_out_per_account/0010_test.yml.tt2 +++ b/scenarios/invite_concurrent_max_out_per_account/0010_test.yml.tt2 @@ -17,13 +17,13 @@ flow: - return|dialog:start: $avp(lua_dlg_profile): [ "accountout:[% customer_test.id %]", - "userout:[% spce_test.testuser1002.uuid %]", + "userout:[% invite_concurrent_max_out_per_account_scenarios_test.testuser1002.uuid %]", "account:[% customer_test.id %]", - "user:[% spce_test.testuser1002.uuid %]", + "user:[% invite_concurrent_max_out_per_account_scenarios_test.testuser1002.uuid %]", "totalaccountout:[% customer_test.id %]", - "totaluserout:[% spce_test.testuser1002.uuid %]", + "totaluserout:[% invite_concurrent_max_out_per_account_scenarios_test.testuser1002.uuid %]", "totalaccount:[% customer_test.id %]", - "totaluser:[% spce_test.testuser1002.uuid %]", + "totaluser:[% invite_concurrent_max_out_per_account_scenarios_test.testuser1002.uuid %]", "total", "relay", "peerout:[% peer_00_host0.id %]", @@ -39,5 +39,5 @@ sip_out: '^SIP/2.0 200 OK', 'CSeq: 2 INVITE', 'From: