Loading test_purposes/psap.tplan2 0 → 100644 +118 −0 Original line number Diff line number Diff line /* ETSI Software License * As long as the hereunder conditions are respected, non-exclusive permission is hereby granted, * free of charge, to use, reproduce and modify this software source code, under the following conditions: * This source code is provided AS IS with no warranties, express or implied, including but not limited to, * the warranties of merchantability, fitness for a particular purpose and warranties for non-infringement * of intellectual property rights. * ETSI shall not be held liable in any event for any direct or indirect damages whatsoever (including, without * limitation, damages for loss of profits, business interruption, loss of information, or any other pecuniary * loss) arising out of or related to the use of or inability to use the source code. * This permission is granted to facilitate the implementation of the related ETSI standard, provided that * ETSI is given the right to use, reproduce and amend the modified source code under the same conditions * as the present permission. * This permission does not apply to any documentation associated with this source code for which ETSI keeps * all rights reserved. * The present ETSI Source Code license shall be included in all copies of whole or part of this source code * and shall not imply any sub-license right. * (c) ETSI 2018 */ Package NG112_PSAP { Domain { pics: - PICS_SERVICE_PSAP ; entities: - IUT - MTC ; events: - acceptingIncomingCalls //PSAP ready to receive incoming calls - receives //for packets coming from the network to the IUT - sends //for packets sent by the IUT to the network - establishesIncomingCall //[ref psap.txt:establishesIncomingCall] the incoming call is established ; } // Const { // SDP: [ref psap.txt:SDP]; // SDP_AND_PIDF_MULTIPART [ref psap.txt:SDP_AND_PIDF_MULTIPART]; // } // Data { // type PDU; // } // Configuration { // Interface Type defaultGT accepts PDU; // Component Type NG112Comp with gate g of type defaultGT; // Test Configuration CFG_ESRP_01 // containing // Tester component BCF of type NG112Comp // Tester component LIS of type NG112Comp // Tester component ECRF of type NG112Comp // SUT component IUT of type NG112Comp // connection between BCF.g and IUT.g // connection between LIS.g and IUT.g // connection between ECRF.g and IUT.g; // } Test Purpose { TP Id TP_PSAP_SIP_INVITE_BV_01 Test objective "IUT successfully handles SIP INVITE with service urn" Reference "Next Generation 112 Long Term Definition http://www.eena.org/uploads/gallery/files/pdf/2013-03-15-eena_ng_longtermdefinitionupdated.pdf Clause 4.7", "https://tools.ietf.org/html/rfc5031" //Config Id CFG_PSAP_01 PICS Selection PICS_SERVICE_PSAP Initial conditions with { the IUT entity acceptingIncomingCalls } Expected behaviour ensure that { when { the IUT entity receives a SIP_INVITE containing Request_URI indicating value "urn:service:sos.police", Content_Type indicating value "application/sdp", body containing SDP ; ; } then { the IUT entity establishesIncomingCall } } } //End of TP_PSAP_SIP_INVITE_BV_01 Test Purpose { TP Id TP_PSAP_SIP_INVITE_BV_02 Test objective "IUT successfully handles SIP INVITE with SDP and PIDF-LO content" Reference "Next Generation 112 Long Term Definition http://www.eena.org/uploads/gallery/files/pdf/2013-03-15-eena_ng_longtermdefinitionupdated.pdf Clause 4.7", "https://tools.ietf.org/html/rfc5031" //Config Id CFG_PSAP_01 PICS Selection PICS_SERVICE_PSAP Initial conditions with { the IUT entity acceptingIncomingCalls } Expected behaviour ensure that { when { the IUT entity receives a SIP_INVITE containing Request_URI indicating value "urn:service:sos.police", Content_Type indicating value "multipart/mixed", body containing SDP_AND_PIDF_MULTIPART ; ; } then { the IUT entity establishesIncomingCall } } } //End of TP_PSAP_SIP_INVITE_BV_02 } No newline at end of file test_purposes/psap.txt 0 → 100644 +60 −0 Original line number Diff line number Diff line *** establishesIncomingCall THEN IUT sends TRYING (optional) THEN IUT sends RINGING (optional) THEN IUT sends OK THEN IUT receives ACK *** SDP v=0 o=alice 2890844526 2890842807 IN IP4 atlanta.example.com s=- c=IN IP4 192.0.2.1 t=0 0 m=audio 20000 RTP/AVP 0 a=rtpmap:0 PCMU/8000 m=video 20002 RTP/AVP 31 a=rtpmap:31 H261/90000 *** SDP_AND_PIDF_MULTIPART --boundary1 Content-Type: application/sdp v=0 o=alice 2890844526 2890842807 IN IP4 atlanta.example.com s=- c=IN IP4 192.0.2.1 t=0 0 m=audio 20000 RTP/AVP 0 a=rtpmap:0 PCMU/8000 m=video 20002 RTP/AVP 31 a=rtpmap:31 H261/90000 --boundary1 Content-Type: application/pidf+xml Content-ID: <target123@atlanta.example.com> <?xml version="1.0" encoding="UTF-8"?> <presence xmlns="urn:ietf:params:xml:ns:pidf" entity="pres:3650n87934c@ls.example.com"> <tuple id="b650sf789nd"> <status> <geopriv xmlns="urn:ietf:params:xml:ns:pidf:geopriv10"> <location-info> <Point xmlns="http://www.opengis.net/gml" srsName="urn:ogc:def:crs:EPSG::4326"> <pos>-34.407 150.88001</pos> </Point> </location-info> <usage-rules xmlns:gbp="urn:ietf:params:xml:ns:pidf:geopriv10:basicPolicy"> <gbp:retention-expiry>2006-01-11T03:42:28+00:00 </gbp:retention-expiry> </usage-rules> <method>Wiremap</method> </geopriv> </status> <timestamp>2006-01-10T03:42:28+00:00</timestamp> </tuple> </presence> --boundary1-- No newline at end of file Loading
test_purposes/psap.tplan2 0 → 100644 +118 −0 Original line number Diff line number Diff line /* ETSI Software License * As long as the hereunder conditions are respected, non-exclusive permission is hereby granted, * free of charge, to use, reproduce and modify this software source code, under the following conditions: * This source code is provided AS IS with no warranties, express or implied, including but not limited to, * the warranties of merchantability, fitness for a particular purpose and warranties for non-infringement * of intellectual property rights. * ETSI shall not be held liable in any event for any direct or indirect damages whatsoever (including, without * limitation, damages for loss of profits, business interruption, loss of information, or any other pecuniary * loss) arising out of or related to the use of or inability to use the source code. * This permission is granted to facilitate the implementation of the related ETSI standard, provided that * ETSI is given the right to use, reproduce and amend the modified source code under the same conditions * as the present permission. * This permission does not apply to any documentation associated with this source code for which ETSI keeps * all rights reserved. * The present ETSI Source Code license shall be included in all copies of whole or part of this source code * and shall not imply any sub-license right. * (c) ETSI 2018 */ Package NG112_PSAP { Domain { pics: - PICS_SERVICE_PSAP ; entities: - IUT - MTC ; events: - acceptingIncomingCalls //PSAP ready to receive incoming calls - receives //for packets coming from the network to the IUT - sends //for packets sent by the IUT to the network - establishesIncomingCall //[ref psap.txt:establishesIncomingCall] the incoming call is established ; } // Const { // SDP: [ref psap.txt:SDP]; // SDP_AND_PIDF_MULTIPART [ref psap.txt:SDP_AND_PIDF_MULTIPART]; // } // Data { // type PDU; // } // Configuration { // Interface Type defaultGT accepts PDU; // Component Type NG112Comp with gate g of type defaultGT; // Test Configuration CFG_ESRP_01 // containing // Tester component BCF of type NG112Comp // Tester component LIS of type NG112Comp // Tester component ECRF of type NG112Comp // SUT component IUT of type NG112Comp // connection between BCF.g and IUT.g // connection between LIS.g and IUT.g // connection between ECRF.g and IUT.g; // } Test Purpose { TP Id TP_PSAP_SIP_INVITE_BV_01 Test objective "IUT successfully handles SIP INVITE with service urn" Reference "Next Generation 112 Long Term Definition http://www.eena.org/uploads/gallery/files/pdf/2013-03-15-eena_ng_longtermdefinitionupdated.pdf Clause 4.7", "https://tools.ietf.org/html/rfc5031" //Config Id CFG_PSAP_01 PICS Selection PICS_SERVICE_PSAP Initial conditions with { the IUT entity acceptingIncomingCalls } Expected behaviour ensure that { when { the IUT entity receives a SIP_INVITE containing Request_URI indicating value "urn:service:sos.police", Content_Type indicating value "application/sdp", body containing SDP ; ; } then { the IUT entity establishesIncomingCall } } } //End of TP_PSAP_SIP_INVITE_BV_01 Test Purpose { TP Id TP_PSAP_SIP_INVITE_BV_02 Test objective "IUT successfully handles SIP INVITE with SDP and PIDF-LO content" Reference "Next Generation 112 Long Term Definition http://www.eena.org/uploads/gallery/files/pdf/2013-03-15-eena_ng_longtermdefinitionupdated.pdf Clause 4.7", "https://tools.ietf.org/html/rfc5031" //Config Id CFG_PSAP_01 PICS Selection PICS_SERVICE_PSAP Initial conditions with { the IUT entity acceptingIncomingCalls } Expected behaviour ensure that { when { the IUT entity receives a SIP_INVITE containing Request_URI indicating value "urn:service:sos.police", Content_Type indicating value "multipart/mixed", body containing SDP_AND_PIDF_MULTIPART ; ; } then { the IUT entity establishesIncomingCall } } } //End of TP_PSAP_SIP_INVITE_BV_02 } No newline at end of file
test_purposes/psap.txt 0 → 100644 +60 −0 Original line number Diff line number Diff line *** establishesIncomingCall THEN IUT sends TRYING (optional) THEN IUT sends RINGING (optional) THEN IUT sends OK THEN IUT receives ACK *** SDP v=0 o=alice 2890844526 2890842807 IN IP4 atlanta.example.com s=- c=IN IP4 192.0.2.1 t=0 0 m=audio 20000 RTP/AVP 0 a=rtpmap:0 PCMU/8000 m=video 20002 RTP/AVP 31 a=rtpmap:31 H261/90000 *** SDP_AND_PIDF_MULTIPART --boundary1 Content-Type: application/sdp v=0 o=alice 2890844526 2890842807 IN IP4 atlanta.example.com s=- c=IN IP4 192.0.2.1 t=0 0 m=audio 20000 RTP/AVP 0 a=rtpmap:0 PCMU/8000 m=video 20002 RTP/AVP 31 a=rtpmap:31 H261/90000 --boundary1 Content-Type: application/pidf+xml Content-ID: <target123@atlanta.example.com> <?xml version="1.0" encoding="UTF-8"?> <presence xmlns="urn:ietf:params:xml:ns:pidf" entity="pres:3650n87934c@ls.example.com"> <tuple id="b650sf789nd"> <status> <geopriv xmlns="urn:ietf:params:xml:ns:pidf:geopriv10"> <location-info> <Point xmlns="http://www.opengis.net/gml" srsName="urn:ogc:def:crs:EPSG::4326"> <pos>-34.407 150.88001</pos> </Point> </location-info> <usage-rules xmlns:gbp="urn:ietf:params:xml:ns:pidf:geopriv10:basicPolicy"> <gbp:retention-expiry>2006-01-11T03:42:28+00:00 </gbp:retention-expiry> </usage-rules> <method>Wiremap</method> </geopriv> </status> <timestamp>2006-01-10T03:42:28+00:00</timestamp> </tuple> </presence> --boundary1-- No newline at end of file