From 0f21cae665dc9d446a3e3e0462eb8f008b30094e Mon Sep 17 00:00:00 2001 From: Victor Seva Date: Tue, 30 Jul 2013 16:16:07 +0200 Subject: [PATCH] scenarios/invite_blockout_wlst: Added scenario.yml and cleanup. --- scenarios/invite_blockout_wlst/scenario.yml | 15 ++++++++ .../invite_blockout_wlst/sipp_scenario00.xml | 38 +++++++++---------- 2 files changed, 34 insertions(+), 19 deletions(-) create mode 100644 scenarios/invite_blockout_wlst/scenario.yml diff --git a/scenarios/invite_blockout_wlst/scenario.yml b/scenarios/invite_blockout_wlst/scenario.yml new file mode 100644 index 00000000..ef678cdb --- /dev/null +++ b/scenarios/invite_blockout_wlst/scenario.yml @@ -0,0 +1,15 @@ +scenarios: + - ip: 127.126.0.1 + user: testuser1002 + domain: spce.test + username: testuser1002 + password: testuser + responders: + - ip: 127.1.0.1 + number: 4311003 + user: testuser1003 + domain: spce.test + register: no + username: testuser1003 + password: testuser + active: no diff --git a/scenarios/invite_blockout_wlst/sipp_scenario00.xml b/scenarios/invite_blockout_wlst/sipp_scenario00.xml index 77140475..0d5cb8a0 100644 --- a/scenarios/invite_blockout_wlst/sipp_scenario00.xml +++ b/scenarios/invite_blockout_wlst/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] @@ -84,13 +84,13 @@ ;tag=[pid]SIPpTag00[call_number] - To: [peer_tag_param] + From: ;tag=[pid]SIPpTag00[call_number] + To: [peer_tag_param] Call-ID: [call_id] 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