From 7e3b3e8c0cfcef0c1d81806633f630acfcee620e Mon Sep 17 00:00:00 2001 From: Andrew Pogrebennyk Date: Tue, 16 Jul 2013 11:55:21 +0200 Subject: [PATCH] Add allowed_clis tests. --- .../invite_allowedcli_match/0003_test.yml.tt2 | 32 ++++ .../invite_allowedcli_match/0005_test.yml.tt2 | 132 ++++++++++++++++ .../invite_allowedcli_match/0009_test.yml.tt2 | 26 ++++ .../invite_allowedcli_match/0010_test.yml.tt2 | 46 ++++++ scenarios/invite_allowedcli_match/prefs.yml | 4 + .../sipp_scenario00.xml | 144 ++++++++++++++++++ .../sipp_scenario_responder01.xml | 64 ++++++++ .../sipp_scenario_responder01_reg.xml | 55 +++++++ .../sipp_scenario_responder01_unreg.xml | 55 +++++++ .../0003_test.yml.tt2 | 32 ++++ .../0005_test.yml.tt2 | 132 ++++++++++++++++ .../0009_test.yml.tt2 | 26 ++++ .../0010_test.yml.tt2 | 46 ++++++ .../invite_allowedcli_nonmatch/prefs.yml | 4 + .../sipp_scenario00.xml | 144 ++++++++++++++++++ .../sipp_scenario_responder01.xml | 64 ++++++++ .../sipp_scenario_responder01_reg.xml | 55 +++++++ .../sipp_scenario_responder01_unreg.xml | 55 +++++++ 18 files changed, 1116 insertions(+) create mode 100644 scenarios/invite_allowedcli_match/0003_test.yml.tt2 create mode 100644 scenarios/invite_allowedcli_match/0005_test.yml.tt2 create mode 100644 scenarios/invite_allowedcli_match/0009_test.yml.tt2 create mode 100644 scenarios/invite_allowedcli_match/0010_test.yml.tt2 create mode 100644 scenarios/invite_allowedcli_match/prefs.yml create mode 100644 scenarios/invite_allowedcli_match/sipp_scenario00.xml create mode 100644 scenarios/invite_allowedcli_match/sipp_scenario_responder01.xml create mode 100644 scenarios/invite_allowedcli_match/sipp_scenario_responder01_reg.xml create mode 100644 scenarios/invite_allowedcli_match/sipp_scenario_responder01_unreg.xml create mode 100644 scenarios/invite_allowedcli_nonmatch/0003_test.yml.tt2 create mode 100644 scenarios/invite_allowedcli_nonmatch/0005_test.yml.tt2 create mode 100644 scenarios/invite_allowedcli_nonmatch/0009_test.yml.tt2 create mode 100644 scenarios/invite_allowedcli_nonmatch/0010_test.yml.tt2 create mode 100644 scenarios/invite_allowedcli_nonmatch/prefs.yml create mode 100644 scenarios/invite_allowedcli_nonmatch/sipp_scenario00.xml create mode 100644 scenarios/invite_allowedcli_nonmatch/sipp_scenario_responder01.xml create mode 100644 scenarios/invite_allowedcli_nonmatch/sipp_scenario_responder01_reg.xml create mode 100644 scenarios/invite_allowedcli_nonmatch/sipp_scenario_responder01_unreg.xml diff --git a/scenarios/invite_allowedcli_match/0003_test.yml.tt2 b/scenarios/invite_allowedcli_match/0003_test.yml.tt2 new file mode 100644 index 00000000..0f137b91 --- /dev/null +++ b/scenarios/invite_allowedcli_match/0003_test.yml.tt2 @@ -0,0 +1,32 @@ +# 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: + - 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] + 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] + 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 + + ]]> + + + + + + + + + + +