From 8c429d837b9f17a49a9cc587fed86b85e07fefd4 Mon Sep 17 00:00:00 2001 From: Victor Seva Date: Wed, 21 Apr 2021 12:37:22 +0200 Subject: [PATCH] TT#116100 scenarios/timer_session_supported * domain per scenario * dynamic IP/port and numbers Change-Id: Ie2704204b817acbaee854bdf73d0250d2b623cae --- .../timer_session_supported/0003_test.yml.tt2 | 34 +++++++++---------- .../timer_session_supported/0005_test.yml.tt2 | 28 +++++++-------- .../timer_session_supported/0009_test.yml.tt2 | 16 ++++----- .../timer_session_supported/0010_test.yml.tt2 | 8 ++--- .../timer_session_supported/0014_test.yml.tt2 | 28 +++++++-------- .../timer_session_supported/0017_test.yml.tt2 | 16 ++++----- .../timer_session_supported/0018_test.yml.tt2 | 8 ++--- .../timer_session_supported/0021_test.yml.tt2 | 22 ++++++------ .../timer_session_supported/0022_test.yml.tt2 | 20 +++++------ .../timer_session_supported/0023_test.yml.tt2 | 16 ++++----- .../timer_session_supported/0024_test.yml.tt2 | 8 ++--- scenarios/timer_session_supported/peer.yml | 20 +++++------ .../{prefs.json => prefs.json.tt2} | 6 ++-- .../timer_session_supported/scenario.yml | 12 ++++--- 14 files changed, 122 insertions(+), 120 deletions(-) rename scenarios/timer_session_supported/{prefs.json => prefs.json.tt2} (75%) diff --git a/scenarios/timer_session_supported/0003_test.yml.tt2 b/scenarios/timer_session_supported/0003_test.yml.tt2 index 6885a023..4b900e8e 100644 --- a/scenarios/timer_session_supported/0003_test.yml.tt2 +++ b/scenarios/timer_session_supported/0003_test.yml.tt2 @@ -143,16 +143,16 @@ flow: - return|ROUTE_RUNTIME: - exit|ROUTE_EXIT: sip_in: - - 'INVITE sip:testuser1001@spce.test SIP/2.0' + - 'INVITE sip:[% scenarios.0.responders.0.username %]@timer-session-supported.scenarios.test SIP/2.0' - 'Supported: timer' - - 'From: ;tag=[\w-]+' - - 'To: ' + - 'From: ;tag=[\w-]+' + - 'To: ' - 'CSeq: \d+ INVITE' - - 'Contact: ' + - 'Contact: ' - 'Min-SE: 2' - 'Content-Type: application/sdp' - 'Content-Length: 0' - - 'P-NGCP-Src-Ip: 127.0.2.1' + - 'P-NGCP-Src-Ip: [% scenarios.0.ip %]' - 'P-NGCP-Src-Port: \d+' - 'P-NGCP-Src-Proto: udp' - 'P-NGCP-Src-Af: 4' @@ -161,34 +161,34 @@ sip_in: sip_out: - [ 'SIP/2.0 100 Trying', - 'From: ;tag=[\w-]+', - 'To: ', + 'From: ;tag=[\w-]+', + 'To: ', 'CSeq: \d+ INVITE', 'P-Out-Socket: udp:127.0.0.1:5060', - 'P-NGCP-Auth-IP: 127.0.2.1', + 'P-NGCP-Auth-IP: [% scenarios.0.ip %]', 'P-NGCP-Auth-UA: ', 'Server: Sipwise NGCP Proxy', 'Content-Length: 0', ] - [ - 'INVITE sip:testuser1001@127.1.0.1:\d+ SIP/2.0', + 'INVITE sip:[% scenarios.0.responders.0.username %]@[% scenarios.0.responders.0.ip %]:[% scenarios.0.responders.0.port %] SIP/2.0', 'Supported: timer', - 'From: ;tag=[\w-]+', - 'To: ', + 'From: ;tag=[\w-]+', + 'To: ', 'CSeq: \d+ INVITE', - 'Contact: ', + 'Contact: ', 'Min-SE: 2', 'Content-Type: application/sdp', 'Content-Length: 0', 'P-LB-Uptime: \d+', - 'P-Asserted-Identity: ', + 'P-Asserted-Identity: ', 'P-Caller-UUID: 0', - 'P-Callee-UUID: [% spce_test.testuser1001.uuid %]', - 'P-Called-Party-ID: ', + 'P-Callee-UUID: [% timer_session_supported_scenarios_test.testuser1001.uuid %]', + 'P-Called-Party-ID: ', 'P-App-Param: ;calltimer=21600;aleg_sst_enable=yes;aleg_sst_expires=10;aleg_sst_min_timer=2;aleg_sst_max_timer=20;aleg_sst_refresh_method=INVITE;sst_enable=yes;sst_expires=8;sst_min_timer=2;sst_max_timer=20;sst_refresh_method=INVITE;hold_alter_b2b_bleg=no;hold_alter_b2b_aleg=no;(fast_ack=no;)?b_park_domain=[% customer_test.id %]', 'P-App-Name: sbc', - 'P-NGCP-Caller-Info: ;ip=127.0.2.1;port=\d+', - 'P-NGCP-Callee-Info: ;ip=127.0.0.1;port=5060;primary=4311001', + 'P-NGCP-Caller-Info: ;ip=[% scenarios.0.ip %];port=[% scenarios.0.port %]', + 'P-NGCP-Callee-Info: ;ip=127.0.0.1;port=5060;primary=[% timer_session_supported_scenarios_test.testuser1001.phone_number %]', 'P-D-Uri: sip:lb@127.0.0.1;lr;socket=sip:127.0.0.1:5060', 'P-Proxy-Uri: sip:127.0.0.1:5062', ] diff --git a/scenarios/timer_session_supported/0005_test.yml.tt2 b/scenarios/timer_session_supported/0005_test.yml.tt2 index 04a501c3..9f09dc9c 100644 --- a/scenarios/timer_session_supported/0005_test.yml.tt2 +++ b/scenarios/timer_session_supported/0005_test.yml.tt2 @@ -14,16 +14,16 @@ flow: - return|ROUTE_RUNTIME: - exit|ROUTE_EXIT: sip_in: - - 'INVITE sip:testuser1001@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' - 'Supported: timer' - 'P-LB-Uptime: \d+' - - 'P-Asserted-Identity: ' + - 'P-Asserted-Identity: ' - 'P-Caller-UUID: 0' - - 'P-NGCP-Caller-Info: ;ip=127.0.2.1;port=\d+' - - 'P-NGCP-Callee-Info: ;ip=127.0.0.1;port=5060;primary=4311001' + - 'P-NGCP-Caller-Info: ;ip=[% scenarios.0.ip %];port=[% scenarios.0.port %]' + - 'P-NGCP-Callee-Info: ;ip=127.0.0.1;port=5060;primary=[% timer_session_supported_scenarios_test.testuser1001.phone_number %]' - 'P-D-Uri: sip:lb@127.0.0.1;lr;socket=sip:127.0.0.1:5060' - 'Min-SE: 2' - 'Contact: ' @@ -31,23 +31,23 @@ 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:testuser1001@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', 'Supported: timer', 'P-LB-Uptime: \d+', - 'P-Asserted-Identity: ', + 'P-Asserted-Identity: ', 'P-Caller-UUID: 0', - 'P-NGCP-Caller-Info: ;ip=127.0.2.1;port=\d+', - 'P-NGCP-Callee-Info: ;ip=127.0.0.1;port=5060;primary=4311001', + 'P-NGCP-Caller-Info: ;ip=[% scenarios.0.ip %];port=[% scenarios.0.port %]', + 'P-NGCP-Callee-Info: ;ip=127.0.0.1;port=5060;primary=[% timer_session_supported_scenarios_test.testuser1001.phone_number %]', 'P-D-Uri: sip:lb@127.0.0.1;lr;socket=sip:127.0.0.1:5060', 'Min-SE: 2', 'Contact: ', diff --git a/scenarios/timer_session_supported/0009_test.yml.tt2 b/scenarios/timer_session_supported/0009_test.yml.tt2 index 49bac3c3..596ca0cc 100644 --- a/scenarios/timer_session_supported/0009_test.yml.tt2 +++ b/scenarios/timer_session_supported/0009_test.yml.tt2 @@ -14,13 +14,13 @@ sip_in: - 'SIP/2.0 200 OK' - 'Require: timer' - 'Supported: timer' - - 'From: ;tag=[\w-]+' - - 'To: ;tag=[\w-]+' + - 'From: ;tag=[\w-]+' + - 'To: ;tag=[\w-]+' - 'CSeq: \d+ INVITE' - - 'Contact: ' + - 'Contact: ' - 'Content-Type: application/sdp' - 'Content-Length: \s+0' - - 'P-NGCP-Src-Ip: 127.1.0.1' + - 'P-NGCP-Src-Ip: [% scenarios.0.responders.0.ip %]' - 'P-NGCP-Src-Port: \d+' - 'P-NGCP-Src-Proto: udp' - 'P-NGCP-Src-Af: 4' @@ -29,13 +29,13 @@ sip_out: 'SIP/2.0 200 OK', 'Require: timer', 'Supported: timer', - 'From: ;tag=[\w-]+', - 'To: ;tag=[\w-]+', + 'From: ;tag=[\w-]+', + 'To: ;tag=[\w-]+', 'CSeq: \d+ INVITE', - 'Contact: ', + 'Contact: ', 'Content-Type: application/sdp', 'Content-Length: \s+0', - 'P-NGCP-Src-Ip: 127.1.0.1', + 'P-NGCP-Src-Ip: [% scenarios.0.responders.0.ip %]', 'P-NGCP-Src-Port: \d+', 'P-NGCP-Src-Proto: udp', 'P-NGCP-Src-Af: 4', diff --git a/scenarios/timer_session_supported/0010_test.yml.tt2 b/scenarios/timer_session_supported/0010_test.yml.tt2 index 5f963de4..47f6d238 100644 --- a/scenarios/timer_session_supported/0010_test.yml.tt2 +++ b/scenarios/timer_session_supported/0010_test.yml.tt2 @@ -17,8 +17,8 @@ flow: - return|dialog:start: sip_in: - 'SIP/2.0 200 OK' - - 'From: ;tag=[\w-]+' - - 'To: ;tag=[\w-]+' + - 'From: ;tag=[\w-]+' + - 'To: ;tag=[\w-]+' - 'CSeq: \d+ INVITE' - 'Require: timer' - 'Supported: timer' @@ -27,8 +27,8 @@ sip_in: sip_out: - [ 'SIP/2.0 200 OK', - 'From: ;tag=[\w-]+', - 'To: ;tag=[\w-]+', + 'From: ;tag=[\w-]+', + 'To: ;tag=[\w-]+', 'CSeq: \d+ INVITE', 'Require: timer', 'Supported: timer', diff --git a/scenarios/timer_session_supported/0014_test.yml.tt2 b/scenarios/timer_session_supported/0014_test.yml.tt2 index 858c02bd..21552673 100644 --- a/scenarios/timer_session_supported/0014_test.yml.tt2 +++ b/scenarios/timer_session_supported/0014_test.yml.tt2 @@ -13,15 +13,15 @@ flow: - return|ROUTE_RUNTIME: - exit|ROUTE_EXIT: sip_in: - - 'INVITE sip:127.1.0.1:\d+;transport=UDP SIP/2.0' - - 'From: ;tag=[\w-]+' - - 'To: ;tag=[\w-]+' + - 'INVITE sip:[% scenarios.0.responders.0.ip %]:[% scenarios.0.responders.0.port %];transport=UDP SIP/2.0' + - 'From: ;tag=[\w-]+' + - 'To: ;tag=[\w-]+' - 'CSeq: \d+ INVITE' - 'P-LB-Uptime: \d+' - - 'P-Asserted-Identity: ' + - 'P-Asserted-Identity: ' - 'P-Caller-UUID: 0' - - 'P-NGCP-Caller-Info: ;ip=127.0.2.1;port=\d+' - - 'P-NGCP-Callee-Info: ;ip=127.0.0.1;port=5060;primary=4311001' + - 'P-NGCP-Caller-Info: ;ip=[% scenarios.0.ip %];port=[% scenarios.0.port %]' + - 'P-NGCP-Callee-Info: ;ip=127.0.0.1;port=5060;primary=[% timer_session_supported_scenarios_test.testuser1001.phone_number %]' - 'P-D-Uri: sip:lb@127.0.0.1;lr;socket=sip:127.0.0.1:5060' - 'Supported: timer' - 'Min-SE: 2' @@ -30,22 +30,22 @@ sip_in: sip_out: - [ 'SIP/2.0 100 Trying', - 'From: ;tag=[\w-]+', - 'To: ;tag=[\w-]+', + 'From: ;tag=[\w-]+', + 'To: ;tag=[\w-]+', 'CSeq: \d+ INVITE', 'Server: Sipwise NGCP Proxy', 'Content-Length: 0', ] - [ - 'INVITE sip:127.1.0.1:\d+;transport=UDP SIP/2.0', - 'From: ;tag=[\w-]+', - 'To: ;tag=[\w-]+', + 'INVITE sip:[% scenarios.0.responders.0.ip %]:[% scenarios.0.responders.0.port %];transport=UDP SIP/2.0', + 'From: ;tag=[\w-]+', + 'To: ;tag=[\w-]+', 'CSeq: \d+ INVITE', 'P-LB-Uptime: \d+', - 'P-Asserted-Identity: ', + 'P-Asserted-Identity: ', 'P-Caller-UUID: 0', - 'P-NGCP-Caller-Info: ;ip=127.0.2.1;port=\d+', - 'P-NGCP-Callee-Info: ;ip=127.0.0.1;port=5060;primary=4311001', + 'P-NGCP-Caller-Info: ;ip=[% scenarios.0.ip %];port=[% scenarios.0.port %]', + 'P-NGCP-Callee-Info: ;ip=127.0.0.1;port=5060;primary=[% timer_session_supported_scenarios_test.testuser1001.phone_number %]', 'P-D-Uri: sip:lb@127.0.0.1;lr;socket=sip:127.0.0.1:5060', 'Supported: timer', 'Min-SE: 2', diff --git a/scenarios/timer_session_supported/0017_test.yml.tt2 b/scenarios/timer_session_supported/0017_test.yml.tt2 index b15a20f7..f45fb872 100644 --- a/scenarios/timer_session_supported/0017_test.yml.tt2 +++ b/scenarios/timer_session_supported/0017_test.yml.tt2 @@ -11,13 +11,13 @@ sip_in: - 'SIP/2.0 200 OK' - 'Require: timer' - 'Supported: timer' - - 'From: ;tag=[\w-]+' - - 'To: ;tag=[\w-]+' + - 'From: ;tag=[\w-]+' + - 'To: ;tag=[\w-]+' - 'CSeq: \d+ INVITE' - - 'Contact: ' + - 'Contact: ' - 'Content-Type: application/sdp' - 'Content-Length: \s+0' - - 'P-NGCP-Src-Ip: 127.1.0.1' + - 'P-NGCP-Src-Ip: [% scenarios.0.responders.0.ip %]' - 'P-NGCP-Src-Port: \d+' - 'P-NGCP-Src-Proto: udp' - 'P-NGCP-Src-Af: 4' @@ -26,13 +26,13 @@ sip_out: 'SIP/2.0 200 OK', 'Require: timer', 'Supported: timer', - 'From: ;tag=[\w-]+', - 'To: ;tag=[\w-]+', + 'From: ;tag=[\w-]+', + 'To: ;tag=[\w-]+', 'CSeq: \d+ INVITE', - 'Contact: ', + 'Contact: ', 'Content-Type: application/sdp', 'Content-Length: \s+0', - 'P-NGCP-Src-Ip: 127.1.0.1', + 'P-NGCP-Src-Ip: [% scenarios.0.responders.0.ip %]', 'P-NGCP-Src-Port: \d+', 'P-NGCP-Src-Proto: udp', 'P-NGCP-Src-Af: 4', diff --git a/scenarios/timer_session_supported/0018_test.yml.tt2 b/scenarios/timer_session_supported/0018_test.yml.tt2 index c873d722..baa70cf5 100644 --- a/scenarios/timer_session_supported/0018_test.yml.tt2 +++ b/scenarios/timer_session_supported/0018_test.yml.tt2 @@ -14,8 +14,8 @@ flow: - exit|ROUTE_EXIT: sip_in: - 'SIP/2.0 200 OK' - - 'From: ;tag=[\w-]+' - - 'To: ;tag=[\w-]+' + - 'From: ;tag=[\w-]+' + - 'To: ;tag=[\w-]+' - 'CSeq: \d+ INVITE' - 'Supported: timer' - 'Contact: ' @@ -23,8 +23,8 @@ sip_in: sip_out: - [ 'SIP/2.0 200 OK', - 'From: ;tag=[\w-]+', - 'To: ;tag=[\w-]+', + 'From: ;tag=[\w-]+', + 'To: ;tag=[\w-]+', 'CSeq: \d+ INVITE', 'Supported: timer', 'Contact: ', diff --git a/scenarios/timer_session_supported/0021_test.yml.tt2 b/scenarios/timer_session_supported/0021_test.yml.tt2 index 70f202c5..5cdfb116 100644 --- a/scenarios/timer_session_supported/0021_test.yml.tt2 +++ b/scenarios/timer_session_supported/0021_test.yml.tt2 @@ -28,12 +28,12 @@ flow: - exit|ROUTE_EXIT: sip_in: - 'BYE sip:127.0.0.1:508[08];prxroute=1 SIP/2.0' - - 'From: ;tag=[\w-]+' - - 'To: ;tag=[\w-]+' + - 'From: ;tag=[\w-]+' + - 'To: ;tag=[\w-]+' - 'CSeq: \d+ BYE' - - 'Contact: ' + - 'Contact: ' - 'Content-Length: 0' - - 'P-NGCP-Src-Ip: 127.0.2.1' + - 'P-NGCP-Src-Ip: [% scenarios.0.ip %]' - 'P-NGCP-Src-Port: \d+' - 'P-NGCP-Src-Proto: udp' - 'P-NGCP-Src-Af: 4' @@ -42,22 +42,22 @@ sip_in: sip_out: - [ 'SIP/2.0 100 Trying', - 'From: ;tag=[\w-]+', - 'To: ;tag=[\w-]+', + 'From: ;tag=[\w-]+', + 'To: ;tag=[\w-]+', 'CSeq: \d+ BYE', 'P-Out-Socket: udp:127.0.0.1:5060', - 'P-NGCP-Auth-IP: 127.0.2.1', + 'P-NGCP-Auth-IP: [% scenarios.0.ip %]', 'P-NGCP-Auth-UA: ', 'Server: Sipwise NGCP Proxy', 'Content-Length: 0', ] - [ 'BYE sip:127.0.0.1:508[08];prxroute=1 SIP/2.0', - 'From: ;tag=[\w-]+', - 'To: ;tag=[\w-]+', + 'From: ;tag=[\w-]+', + 'To: ;tag=[\w-]+', 'CSeq: \d+ BYE', - 'Contact: ', + 'Contact: ', 'Content-Length: 0', 'P-LB-Uptime: \d+', - 'P-Asserted-Identity: ', + 'P-Asserted-Identity: ', ] diff --git a/scenarios/timer_session_supported/0022_test.yml.tt2 b/scenarios/timer_session_supported/0022_test.yml.tt2 index 646bfdb9..241e125f 100644 --- a/scenarios/timer_session_supported/0022_test.yml.tt2 +++ b/scenarios/timer_session_supported/0022_test.yml.tt2 @@ -25,28 +25,28 @@ flow: - return|ROUTE_RUNTIME: - exit|ROUTE_EXIT: sip_in: - - 'BYE sip:127.1.0.1:\d+;transport=UDP SIP/2.0' - - 'From: ;tag=[\w-]+' - - 'To: ;tag=[\w-]+' + - 'BYE sip:[% scenarios.0.responders.0.ip %]:[% scenarios.0.responders.0.port %];transport=UDP SIP/2.0' + - 'From: ;tag=[\w-]+' + - 'To: ;tag=[\w-]+' - 'CSeq: \d+ BYE' - 'P-LB-Uptime: \d+' - - 'P-Asserted-Identity: ' + - 'P-Asserted-Identity: ' - 'Content-Length: 0' sip_out: - [ 'SIP/2.0 100 Trying', - 'From: ;tag=[\w-]+', - 'To: ;tag=[\w-]+', + 'From: ;tag=[\w-]+', + 'To: ;tag=[\w-]+', 'CSeq: \d+ BYE', 'Server: Sipwise NGCP Proxy', 'Content-Length: 0', ] - [ - 'BYE sip:127.1.0.1:\d+;transport=UDP SIP/2.0', - 'From: ;tag=[\w-]+', - 'To: ;tag=[\w-]+', + 'BYE sip:[% scenarios.0.responders.0.ip %]:[% scenarios.0.responders.0.port %];transport=UDP SIP/2.0', + 'From: ;tag=[\w-]+', + 'To: ;tag=[\w-]+', 'CSeq: \d+ BYE', 'P-LB-Uptime: \d+', - 'P-Asserted-Identity: ', + 'P-Asserted-Identity: ', 'Content-Length: 0', ] diff --git a/scenarios/timer_session_supported/0023_test.yml.tt2 b/scenarios/timer_session_supported/0023_test.yml.tt2 index f95a68e7..67410a1f 100644 --- a/scenarios/timer_session_supported/0023_test.yml.tt2 +++ b/scenarios/timer_session_supported/0023_test.yml.tt2 @@ -14,26 +14,26 @@ flow: - exit|ROUTE_EXIT: sip_in: - 'SIP/2.0 200 OK' - - 'From: ;tag=[\w-]+' - - 'To: ;tag=[\w-]+' + - 'From: ;tag=[\w-]+' + - 'To: ;tag=[\w-]+' - 'CSeq: \d+ BYE' - - 'Contact: ' + - 'Contact: ' - 'Content-Type: application/sdp' - 'Content-Length: 0' - - 'P-NGCP-Src-Ip: 127.1.0.1' + - 'P-NGCP-Src-Ip: [% scenarios.0.responders.0.ip %]' - 'P-NGCP-Src-Port: \d+' - 'P-NGCP-Src-Proto: udp' - 'P-NGCP-Src-Af: 4' sip_out: - [ 'SIP/2.0 200 OK', - 'From: ;tag=[\w-]+', - 'To: ;tag=[\w-]+', + 'From: ;tag=[\w-]+', + 'To: ;tag=[\w-]+', 'CSeq: \d+ BYE', - 'Contact: ', + 'Contact: ', 'Content-Type: application/sdp', 'Content-Length: 0', - 'P-NGCP-Src-Ip: 127.1.0.1', + 'P-NGCP-Src-Ip: [% scenarios.0.responders.0.ip %]', 'P-NGCP-Src-Port: \d+', 'P-NGCP-Src-Proto: udp', 'P-NGCP-Src-Af: 4', diff --git a/scenarios/timer_session_supported/0024_test.yml.tt2 b/scenarios/timer_session_supported/0024_test.yml.tt2 index c9d3a660..fe322a74 100644 --- a/scenarios/timer_session_supported/0024_test.yml.tt2 +++ b/scenarios/timer_session_supported/0024_test.yml.tt2 @@ -14,15 +14,15 @@ flow: - exit|ROUTE_EXIT: sip_in: - 'SIP/2.0 200 OK' - - 'From: ;tag=[\w-]+' - - 'To: ;tag=[\w-]+' + - 'From: ;tag=[\w-]+' + - 'To: ;tag=[\w-]+' - 'CSeq: \d+ BYE' - 'Content-Length: 0' sip_out: - [ 'SIP/2.0 200 OK', - 'From: ;tag=[\w-]+', - 'To: ;tag=[\w-]+', + 'From: ;tag=[\w-]+', + 'To: ;tag=[\w-]+', 'CSeq: \d+ BYE', 'Content-Length: 0', 'P-Out-Socket: udp:127.0.0.1:5060', diff --git a/scenarios/timer_session_supported/peer.yml b/scenarios/timer_session_supported/peer.yml index 3c12853c..83c23180 100644 --- a/scenarios/timer_session_supported/peer.yml +++ b/scenarios/timer_session_supported/peer.yml @@ -1,33 +1,33 @@ --- -peer_00: +peer_timer_session_supported: contact: - company: peer_00 - email: peer_00@host0.not + company: peer_timer_session_supported + email: peer_timer_session_supported@host0.not contract: billing_profile_id: 1 status: active type: sippeering groups: - - name: peer_00_group + - name: peer_timer_session_supported_group priority: 1 description: rules: - - group_id: peer_00_group + - group_id: peer_timer_session_supported_group callee_prefix: "" callee_pattern: '' - caller_pattern: '^sip:.+@spce.test' + caller_pattern: '^sip:.+@timer-session-supported.scenarios.test' description: "" inboundrules: - - group_id: peer_00_group + - group_id: peer_timer_session_supported_group field: "ruri_uri" pattern: '.*' priority: 50 enabled: 1 hosts: - - group_id: peer_00_group - name: peer_00_host0 + - group_id: peer_timer_session_supported_group + name: peer_timer_session_supported_host0 ip: 127.0.2.1 port: 51602 host: transport: 1 - weight: 1 \ No newline at end of file + weight: 1 diff --git a/scenarios/timer_session_supported/prefs.json b/scenarios/timer_session_supported/prefs.json.tt2 similarity index 75% rename from scenarios/timer_session_supported/prefs.json rename to scenarios/timer_session_supported/prefs.json.tt2 index 3c8641a7..4d04b40f 100644 --- a/scenarios/timer_session_supported/prefs.json +++ b/scenarios/timer_session_supported/prefs.json.tt2 @@ -1,19 +1,19 @@ { - "@spce.test": { + "@timer-session-supported.scenarios.test": { "sst_refresh_method": "INVITE", "sst_enable": "yes", "sst_expires": 6, "sst_min_timer": 2, "sst_max_timer": 20 }, - "testuser1001@spce.test": { + "testuser1001@timer-session-supported.scenarios.test": { "sst_refresh_method": "INVITE", "sst_enable": "yes", "sst_expires": 8, "sst_min_timer": 2, "sst_max_timer": 20 }, - "peer_00_host0": { + "peer_timer_session_supported_host0": { "sst_refresh_method": "INVITE", "sst_enable": "yes", "sst_expires": 10, diff --git a/scenarios/timer_session_supported/scenario.yml b/scenarios/timer_session_supported/scenario.yml index 640883f2..0b37217e 100644 --- a/scenarios/timer_session_supported/scenario.yml +++ b/scenarios/timer_session_supported/scenario.yml @@ -1,6 +1,7 @@ +--- test_uuid: timer_session_supported domains: - 'spce.test': + timer-session-supported.scenarios.test: reseller_id: 1 customers: 'customer.test': @@ -13,7 +14,7 @@ customers: billing_profile_id: 1 reseller_id: 1 subscribers: - spce.test: + timer-session-supported.scenarios.test: testuser1001: customer: 'customer.test' password: testuser @@ -23,9 +24,10 @@ subscribers: scenarios: - ip: 127.0.2.1 username: 004321001 - domain: 127.0.2.1 + domain: timer-session-supported.host0.scenarios.test + peer_host: peer_timer_session_supported_host0 responders: - ip: 127.1.0.1 username: testuser1001 - domain: spce.test - register: yes + domain: timer-session-supported.scenarios.test + register: 'yes'