diff --git a/scenarios/invite_callforward/scenario.yml b/scenarios/invite_callforward/scenario.yml new file mode 100644 index 00000000..23299fb0 --- /dev/null +++ b/scenarios/invite_callforward/scenario.yml @@ -0,0 +1,42 @@ +scenarios: + - ip: 127.126.0.1 + user: testuser1002 + domain: spce.test + username: testuser1002 + password: testuser + responders: + - ip: 127.1.0.1 + number: 4311001 + user: testuser1001 + domain: spce.test + register: no + active: no + username: testuser1001 + password: testuser + - ip: 127.1.0.3 + number: 4311003 + user: testuser1003 + domain: spce.test + register: yes + username: testuser1003 + password: testuser + - ip: 127.126.0.1 + user: testuser1002 + domain: spce.test + username: testuser1002 + password: testuser + responders: + - ip: 127.1.0.4 + number: 4311004 + user: testuser1004 + domain: spce.test + register: yes + username: testuser1004 + password: testuser + - ip: 127.1.0.5 + number: 4311005 + user: testuser1005 + domain: spce.test + register: yes + username: testuser1005 + password: testuser diff --git a/scenarios/invite_callforward/sipp_scenario00.xml b/scenarios/invite_callforward/sipp_scenario00.xml index a69113eb..9057392c 100644 --- a/scenarios/invite_callforward/sipp_scenario00.xml +++ b/scenarios/invite_callforward/sipp_scenario00.xml @@ -1,16 +1,16 @@ - + ;tag=[pid]SIPpTag00[call_number] - To: + From: ;tag=[pid]SIPpTag00[call_number] + To: Call-ID: [call_id] CSeq: 1 INVITE - Contact: sip:[field0 file="caller.csv"]@[local_ip]:[local_port] + Contact: sip:[field0 file="caller.csv" line=0]@[local_ip]:[local_port] Max-Forwards: 70 Content-Type: application/sdp Content-Length: [len] @@ -35,31 +35,31 @@ ;tag=[pid]SIPpTag00[call_number] - To: [peer_tag_param] + From: ;tag=[pid]SIPpTag00[call_number] + To: [peer_tag_param] Call-ID: [call_id] CSeq: 1 ACK - Contact: sip:[field0 file="caller.csv"]@[local_ip]:[local_port] + Contact: sip:[field0 file="caller.csv" line=0]@[local_ip]:[local_port] Max-Forwards: 70 Content-Length: 0 ]]> - + ;tag=[pid]SIPpTag00[call_number] - To: + From: ;tag=[pid]SIPpTag00[call_number] + To: Call-ID: [call_id] CSeq: 2 INVITE - Contact: sip:[field0 file="caller.csv"]@[local_ip]:[local_port] + Contact: sip:[field0 file="caller.csv" line=0]@[local_ip]:[local_port] Max-Forwards: 70 - [field1 file="caller.csv"] + [field1 file="caller.csv" line=0] Content-Type: application/sdp Content-Length: [len] @@ -92,12 +92,12 @@ ACK [next_url] SIP/2.0 Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch] - From: ;tag=[pid]SIPpTag00[call_number] - To: [peer_tag_param] + From: ;tag=[pid]SIPpTag00[call_number] + To: [peer_tag_param] Call-ID: [call_id] [routes] CSeq: 2 ACK - Contact: sip:[field0 file="caller.csv"]@[local_ip]:[local_port] + Contact: sip:[field0 file="caller.csv" line=0]@[local_ip]:[local_port] Max-Forwards: 70 Content-Length: 0 @@ -113,16 +113,16 @@ - + ;tag=[pid]SIPpTag00[call_number] - To: [peer_tag_param] + From: ;tag=[pid]SIPpTag00[call_number] + To: [peer_tag_param] Call-ID: [call_id] CSeq: 3 BYE - Contact: sip:[field0 file="caller.csv"]@[local_ip]:[local_port] + Contact: sip:[field0 file="caller.csv" line=0]@[local_ip]:[local_port] [routes] Max-Forwards: 70 Content-Length: 0 diff --git a/scenarios/invite_callforward/sipp_scenario01.xml b/scenarios/invite_callforward/sipp_scenario01.xml index 477686dd..c38413e8 100644 --- a/scenarios/invite_callforward/sipp_scenario01.xml +++ b/scenarios/invite_callforward/sipp_scenario01.xml @@ -6,11 +6,11 @@ INVITE sip:[field0 file="callee.csv" line=2]@[field3 file="callee.csv" line=2] SIP/2.0 Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch] - From: ;tag=[pid]SIPpTag00[call_number] + From: ;tag=[pid]SIPpTag00[call_number] To: Call-ID: [call_id] CSeq: 1 INVITE - Contact: sip:[field0 file="caller.csv"]@[local_ip]:[local_port] + Contact: sip:[field0 file="caller.csv" line=1]@[local_ip]:[local_port] Max-Forwards: 70 Content-Type: application/sdp Content-Length: [len] @@ -37,11 +37,11 @@ ACK sip:[field0 file="callee.csv" line=2]@[field3 file="callee.csv" line=2]:[remote_port] SIP/2.0 [last_Via:] - From: ;tag=[pid]SIPpTag00[call_number] + From: ;tag=[pid]SIPpTag00[call_number] To: [peer_tag_param] Call-ID: [call_id] CSeq: 1 ACK - Contact: sip:[field0 file="caller.csv"]@[local_ip]:[local_port] + Contact: sip:[field0 file="caller.csv" line=1]@[local_ip]:[local_port] Max-Forwards: 70 Content-Length: 0 @@ -53,13 +53,13 @@ INVITE sip:[field0 file="callee.csv" line=2]@[field3 file="callee.csv" line=2] SIP/2.0 Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch] - From: ;tag=[pid]SIPpTag00[call_number] + From: ;tag=[pid]SIPpTag00[call_number] To: Call-ID: [call_id] CSeq: 2 INVITE - Contact: sip:[field0 file="caller.csv"]@[local_ip]:[local_port] + Contact: sip:[field0 file="caller.csv" line=1]@[local_ip]:[local_port] Max-Forwards: 70 - [field1 file="caller.csv"] + [field1 file="caller.csv" line=1] Content-Type: application/sdp Content-Length: [len] @@ -92,12 +92,12 @@ ACK [next_url] SIP/2.0 Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch] - From: ;tag=[pid]SIPpTag00[call_number] + From: ;tag=[pid]SIPpTag00[call_number] To: [peer_tag_param] Call-ID: [call_id] [routes] CSeq: 2 ACK - Contact: sip:[field0 file="caller.csv"]@[local_ip]:[local_port] + Contact: sip:[field0 file="caller.csv" line=1]@[local_ip]:[local_port] Max-Forwards: 70 Content-Length: 0 @@ -118,11 +118,11 @@ BYE [next_url] SIP/2.0 Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch] - From: ;tag=[pid]SIPpTag00[call_number] + From: ;tag=[pid]SIPpTag00[call_number] To: [peer_tag_param] Call-ID: [call_id] CSeq: 3 BYE - Contact: sip:[field0 file="caller.csv"]@[local_ip]:[local_port] + Contact: sip:[field0 file="caller.csv" line=1]@[local_ip]:[local_port] [routes] Max-Forwards: 70 Content-Length: 0 diff --git a/scenarios/invite_callforward/sipp_scenario_responder01_reg.xml b/scenarios/invite_callforward/sipp_scenario_responder01_reg.xml deleted file mode 100644 index d9cc4973..00000000 --- a/scenarios/invite_callforward/sipp_scenario_responder01_reg.xml +++ /dev/null @@ -1,55 +0,0 @@ - - - - - - ;tag=[pid]SIPpTag00[call_number] - To: - Call-ID: [call_id] - CSeq: 1 REGISTER - Contact: sip:[field0 file="callee.csv" line=0]@[local_ip]:[local_port] - Expires: 600 - Max-Forwards: 70 - Content-Length: 0 - - ]]> - - - - - - - - - ;tag=[pid]SIPpTag00[call_number] - To: - Call-ID: [call_id] - CSeq: 2 REGISTER - [field2 file="callee.csv" line=0] - Contact: sip:[field0 file="callee.csv" line=0]@[local_ip]:[local_port] - Expires: 600 - Max-Forwards: 70 - Content-Length: 0 - - ]]> - - - - - - - - - - - - diff --git a/scenarios/invite_callforward/sipp_scenario_responder01_unreg.xml b/scenarios/invite_callforward/sipp_scenario_responder01_unreg.xml deleted file mode 100644 index ec70b8d6..00000000 --- a/scenarios/invite_callforward/sipp_scenario_responder01_unreg.xml +++ /dev/null @@ -1,55 +0,0 @@ - - - - - - ;tag=[pid]SIPpTag00[call_number] - To: - Call-ID: [call_id] - CSeq: 1 REGISTER - Contact: sip:[field0 file="callee.csv" line=0]@[local_ip]:[local_port] - Expires: 600 - Max-Forwards: 70 - Content-Length: 0 - - ]]> - - - - - - - - - ;tag=[pid]SIPpTag00[call_number] - To: - Call-ID: [call_id] - CSeq: 2 REGISTER - [field2 file="callee.csv" line=0] - Contact: sip:[field0 file="callee.csv" line=0]@[local_ip]:[local_port] - Expires: 0 - Max-Forwards: 70 - Content-Length: 0 - - ]]> - - - - - - - - - - - - diff --git a/scenarios/invite_callforward/sipp_scenario_responder02_reg.xml b/scenarios/invite_callforward/sipp_scenario_responder02_reg.xml deleted file mode 100644 index 7ad43126..00000000 --- a/scenarios/invite_callforward/sipp_scenario_responder02_reg.xml +++ /dev/null @@ -1,55 +0,0 @@ - - - - - - ;tag=[pid]SIPpTag00[call_number] - To: - Call-ID: [call_id] - CSeq: 1 REGISTER - Contact: sip:[field0 file="callee.csv" line=2]@[local_ip]:[local_port] - Expires: 600 - Max-Forwards: 70 - Content-Length: 0 - - ]]> - - - - - - - - - ;tag=[pid]SIPpTag00[call_number] - To: - Call-ID: [call_id] - CSeq: 2 REGISTER - [field2 file="callee.csv" line=2] - Contact: sip:[field0 file="callee.csv" line=2]@[local_ip]:[local_port] - Expires: 600 - Max-Forwards: 70 - Content-Length: 0 - - ]]> - - - - - - - - - - - - diff --git a/scenarios/invite_callforward/sipp_scenario_responder02_unreg.xml b/scenarios/invite_callforward/sipp_scenario_responder02_unreg.xml deleted file mode 100644 index 081152c9..00000000 --- a/scenarios/invite_callforward/sipp_scenario_responder02_unreg.xml +++ /dev/null @@ -1,55 +0,0 @@ - - - - - - ;tag=[pid]SIPpTag00[call_number] - To: - Call-ID: [call_id] - CSeq: 1 REGISTER - Contact: sip:[field0 file="callee.csv" line=2]@[local_ip]:[local_port] - Expires: 600 - Max-Forwards: 70 - Content-Length: 0 - - ]]> - - - - - - - - - ;tag=[pid]SIPpTag00[call_number] - To: - Call-ID: [call_id] - CSeq: 2 REGISTER - [field2 file="callee.csv" line=2] - Contact: sip:[field0 file="callee.csv" line=2]@[local_ip]:[local_port] - Expires: 0 - Max-Forwards: 70 - Content-Length: 0 - - ]]> - - - - - - - - - - - - diff --git a/scenarios/invite_callforward/sipp_scenario_responder03_reg.xml b/scenarios/invite_callforward/sipp_scenario_responder03_reg.xml deleted file mode 100644 index e896c85e..00000000 --- a/scenarios/invite_callforward/sipp_scenario_responder03_reg.xml +++ /dev/null @@ -1,55 +0,0 @@ - - - - - - ;tag=[pid]SIPpTag00[call_number] - To: - Call-ID: [call_id] - CSeq: 1 REGISTER - Contact: sip:[field0 file="callee.csv" line=3]@[local_ip]:[local_port] - Expires: 600 - Max-Forwards: 70 - Content-Length: 0 - - ]]> - - - - - - - - - ;tag=[pid]SIPpTag00[call_number] - To: - Call-ID: [call_id] - CSeq: 2 REGISTER - [field2 file="callee.csv" line=3] - Contact: sip:[field0 file="callee.csv" line=3]@[local_ip]:[local_port] - Expires: 600 - Max-Forwards: 70 - Content-Length: 0 - - ]]> - - - - - - - - - - - - diff --git a/scenarios/invite_callforward/sipp_scenario_responder03_unreg.xml b/scenarios/invite_callforward/sipp_scenario_responder03_unreg.xml deleted file mode 100644 index ba9a3d88..00000000 --- a/scenarios/invite_callforward/sipp_scenario_responder03_unreg.xml +++ /dev/null @@ -1,55 +0,0 @@ - - - - - - ;tag=[pid]SIPpTag00[call_number] - To: - Call-ID: [call_id] - CSeq: 1 REGISTER - Contact: sip:[field0 file="callee.csv" line=3]@[local_ip]:[local_port] - Expires: 600 - Max-Forwards: 70 - Content-Length: 0 - - ]]> - - - - - - - - - ;tag=[pid]SIPpTag00[call_number] - To: - Call-ID: [call_id] - CSeq: 2 REGISTER - [field2 file="callee.csv" line=3] - Contact: sip:[field0 file="callee.csv" line=3]@[local_ip]:[local_port] - Expires: 0 - Max-Forwards: 70 - Content-Length: 0 - - ]]> - - - - - - - - - - - -