From ea2291fa418800f628289bc9d273a4f625ed4ff9 Mon Sep 17 00:00:00 2001 From: Victor Seva Date: Tue, 17 Jun 2014 09:40:05 +0200 Subject: [PATCH] MT#7535 add invite_no_refer test. The config allow_no_refer_method is no by default. --- scenarios/invite_no_refer/0003_test.yml.tt2 | 35 +++++ scenarios/invite_no_refer/0005_test.yml.tt2 | 147 +++++++++++++++++ scenarios/invite_no_refer/0009_test.yml.tt2 | 26 +++ scenarios/invite_no_refer/0010_test.yml.tt2 | 46 ++++++ scenarios/invite_no_refer/scenario.yml | 25 +++ scenarios/invite_no_refer/sipp_scenario00.xml | 148 ++++++++++++++++++ .../sipp_scenario_responder00.xml | 79 ++++++++++ 7 files changed, 506 insertions(+) create mode 100644 scenarios/invite_no_refer/0003_test.yml.tt2 create mode 100644 scenarios/invite_no_refer/0005_test.yml.tt2 create mode 100644 scenarios/invite_no_refer/0009_test.yml.tt2 create mode 100644 scenarios/invite_no_refer/0010_test.yml.tt2 create mode 100644 scenarios/invite_no_refer/scenario.yml create mode 100644 scenarios/invite_no_refer/sipp_scenario00.xml create mode 100644 scenarios/invite_no_refer/sipp_scenario_responder00.xml diff --git a/scenarios/invite_no_refer/0003_test.yml.tt2 b/scenarios/invite_no_refer/0003_test.yml.tt2 new file mode 100644 index 00000000..3eecc097 --- /dev/null +++ b/scenarios/invite_no_refer/0003_test.yml.tt2 @@ -0,0 +1,35 @@ +# 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' + - 'Contact: sip:testuser1002@' + - 'To: + + + + ;tag=[pid]SIPpTag00[call_number] + To: + Call-ID: [call_id] + CSeq: 1 INVITE + Contact: sip:[field0 file="caller.csv"]@[local_ip]:[local_port] + Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, COMET, REFER, SUBSCRIBE, NOTIFY, INFO, UPDATE, REGISTER + 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"]@[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"]@[local_ip]:[local_port] + Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, COMET, REFER, SUBSCRIBE, NOTIFY, INFO, UPDATE, REGISTER + Max-Forwards: 70 + [field1 file="caller.csv"] + 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"]@[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"]@[local_ip]:[local_port] + [routes] + Max-Forwards: 70 + Content-Length: 0 + + ]]> + + + + + + + + + + +