From 79e9cd9fd8f87c070d6da1fb624dac0344ab86c1 Mon Sep 17 00:00:00 2001 From: Andrew Pogrebennyk Date: Thu, 23 Oct 2014 11:23:38 +0200 Subject: [PATCH] MT#6243 add test for emergency call with multipart body --- .../0001_test.yml.tt2 | 34 ++++ .../0003_test.yml.tt2 | 155 ++++++++++++++++++ .../0007_test.yml.tt2 | 26 +++ .../0008_test.yml.tt2 | 46 ++++++ .../invite_peerout_emergency/peer.yml | 30 ++++ .../invite_peerout_emergency/prefs.yml | 6 + .../invite_peerout_emergency/rewrite.yml | 13 ++ .../invite_peerout_emergency/scenario.yml | 18 ++ .../sipp_scenario00.xml | 146 +++++++++++++++++ .../sipp_scenario_responder00.xml | 78 +++++++++ 10 files changed, 552 insertions(+) create mode 100644 scenarios_disabled/invite_peerout_emergency/0001_test.yml.tt2 create mode 100644 scenarios_disabled/invite_peerout_emergency/0003_test.yml.tt2 create mode 100644 scenarios_disabled/invite_peerout_emergency/0007_test.yml.tt2 create mode 100644 scenarios_disabled/invite_peerout_emergency/0008_test.yml.tt2 create mode 100644 scenarios_disabled/invite_peerout_emergency/peer.yml create mode 100644 scenarios_disabled/invite_peerout_emergency/prefs.yml create mode 100644 scenarios_disabled/invite_peerout_emergency/rewrite.yml create mode 100644 scenarios_disabled/invite_peerout_emergency/scenario.yml create mode 100644 scenarios_disabled/invite_peerout_emergency/sipp_scenario00.xml create mode 100644 scenarios_disabled/invite_peerout_emergency/sipp_scenario_responder00.xml diff --git a/scenarios_disabled/invite_peerout_emergency/0001_test.yml.tt2 b/scenarios_disabled/invite_peerout_emergency/0001_test.yml.tt2 new file mode 100644 index 00000000..4d6183e5 --- /dev/null +++ b/scenarios_disabled/invite_peerout_emergency/0001_test.yml.tt2 @@ -0,0 +1,34 @@ +# REGISTER scenario +flow: + - start|MAIN: + - start|ROUTE_NET_INFO: + - end|ROUTE_NET_INFO: + - start|ROUTE_PRX_REQUEST: + - start|ROUTE_INVITE: + - start|ROUTE_LOAD_CALLEE_DOMAIN_PREF: + - start|ROUTE_CLEAR_CALLEE_DOMAIN_PREF: + - end|ROUTE_CLEAR_CALLEE_DOMAIN_PREF: + - end|ROUTE_LOAD_CALLEE_DOMAIN_PREF: + - start|ROUTE_FIND_CALLER: + - start|ROUTE_AUTH: + - exit|ROUTE_AUTH: +sip_in: + - '^INVITE sip:112@' + - 'Contact: sip:testuser1002@' + - 'To: + + + + ;tag=[pid]SIPpTag00[call_number] + To: + Call-ID: [call_id] + CSeq: 1 INVITE + Contact: sip:[field0 file="caller.csv" line=0]@[local_ip]:[local_port] + Max-Forwards: 70 + Content-Type: application/sdp + Content-Length: [len] + + v=0 + o=user1 53655765 2353687637 IN IP[local_ip_type] [local_ip] + s=- + c=IN IP[media_ip_type] [media_ip] + t=0 0 + m=audio [media_port] RTP/AVP 8 + a=rtpmap:8 PCMA/8000 + a=ptime:50 + + ]]> + + + + + + + + + ;tag=[pid]SIPpTag00[call_number] + To: [peer_tag_param] + Call-ID: [call_id] + CSeq: 1 ACK + Contact: sip:[field0 file="caller.csv" line=0]@[local_ip]:[local_port] + Max-Forwards: 70 + Content-Length: 0 + + ]]> + + + + + + ;tag=[pid]SIPpTag00[call_number] + To: + Call-ID: [call_id] + CSeq: 2 INVITE + Contact: sip:[field0 file="caller.csv" line=0]@[local_ip]:[local_port] + Max-Forwards: 70 + [field1 file="caller.csv" line=0] + Content-Type: application/sdp + Content-Length: [len] + + v=0 + o=user1 53655765 2353687637 IN IP[local_ip_type] [local_ip] + s=- + c=IN IP[media_ip_type] [media_ip] + t=0 0 + m=audio [media_port] RTP/AVP 8 + a=rtpmap:8 PCMA/8000 + a=ptime:50 + + ]]> + + + + + + + + + + + + + + + + ;tag=[pid]SIPpTag00[call_number] + To: [peer_tag_param] + Call-ID: [call_id] + [routes] + CSeq: 2 ACK + Contact: sip:[field0 file="caller.csv" line=0]@[local_ip]:[local_port] + Max-Forwards: 70 + Content-Length: 0 + + ]]> + + + + + + + + + + + + + ;tag=[pid]SIPpTag00[call_number] + To: [peer_tag_param] + Call-ID: [call_id] + CSeq: 3 BYE + Contact: sip:[field0 file="caller.csv" line=0]@[local_ip]:[local_port] + [routes] + Max-Forwards: 70 + Content-Length: 0 + + ]]> + + + + + + + + + + +