Loading ttcn/LibIms_Templates.ttcn +1 −728 Original line number Diff line number Diff line Loading @@ -476,708 +476,7 @@ group HeaderFieldTemplates{ } // end group HeaderFieldTemplates group MessageBodyTemplates { group XMLTemplates { // template XmlBody m_XmlBody_ACR_ICB(template Incoming_communication_barring p_icb) := // { // icb := p_icb // }; // template XmlBody m_XmlBody_ACR_OCB(template Outgoing_communication_barring p_ocb) := // { // ocb := p_ocb // }; template XmlBody m_XmlBody_ConfInfo(template Conference_type p_confInfo) := { conference_type := p_confInfo }; template XmlBody m_XmlBody_CUG(template Cug p_cug) := { cug := p_cug }; template XmlBody m_XmlBody_MCID(template Mcid p_mcid) := { mcid := p_mcid }; template XmlBody m_XmlBody_PSTNTransit(template PSTN_transit p_pstn) := { pstnTransit := p_pstn }; template XmlBody m_XmlBody_simservs(template Simservs p_simservs) := { simservs := p_simservs }; template XmlBody m_XmlBody_ACR_ICB(template (value) Incoming_communication_barring p_icb) := { simservs := { anyAttributes := omit, choice := {{incoming_communication_barring := p_icb}}, extensions := omit } } template XmlBody m_XmlBody_ACR_OCB(template (value) Outgoing_communication_barring p_ocb) := { simservs := { anyAttributes := omit, choice := { { outgoing_communication_barring := p_ocb } }, extensions := omit } }; template XmlBody m_XmlBody_CDIVN(template Comm_div_info_type p_cdivn) := { cdivn := p_cdivn }; // template XmlBody m_XmlBody_CDIVN(template Comm_div_info p_cdivn) := // { // cdivn := p_cdivn // }; template XmlBody mw_XmlBody_ConfInfo(template Conference_type p_confInfo) := { conference_type := p_confInfo }; template XmlBody mw_XmlBody_CUG(template Cug p_cug) := { cug := p_cug }; template XmlBody mw_XmlBody_MCID(template Mcid p_mcid) := { mcid := p_mcid }; template XmlBody mw_XmlBody_PSTNTransit(template PSTN_transit p_pstn) := { pstnTransit := p_pstn }; template XmlBody mw_XmlBody_CDIVN(template Comm_div_info_type p_cdivn) := { cdivn := p_cdivn }; template XmlBody mw_XmlBody_simservs(template Simservs p_simservs) := { simservs := p_simservs }; template XmlBody mw_XmlBody_ResourceLists(template Resource_lists p_resourceLists) := { resourceLists := p_resourceLists }; }// end group XMLTemplates group ACR_CBTemplates { template Incoming_communication_barring m_ICB(RuleType p_ruleType) := { active := omit, anyAttributes := omit, ruleset := { rule:= {p_ruleType} } } template Outgoing_communication_barring m_OCB(RuleType p_ruleType) := { active := omit, anyAttributes := omit, ruleset := { rule:= {p_ruleType} } } template RuleType m_ruleType_actionFalse(template ConditionsType p_condition) := { id := "rule66", conditions := p_condition, actions := {elem:={{boolean := false}}}, transformations := omit } template ConditionsType m_conditionsType_identity(template charstring p_id, template charstring p_scheme) := { content := {{ identity := {{ content := {{ one := { id := p_id, //scheme := p_scheme, //any_1 := omit elem := {charstring := p_scheme} } }} }} }} } } //end group ACR_CBTemplates group CUGTemplates { template Cug m_CUG ( template CugRequestType p_crt, template NetworkIdentityType p_nit, template SixteenbitType p_cibc, template TwoBitType p_cci ):= { active := omit, anyAttributes := omit, cugCallOperation := p_crt, networkIndicator := p_nit, cugInterlockBinaryCode := p_cibc, cugCommunicationIndicator :=p_cci } template Cug mw_CUG ( template CugRequestType p_crt, template NetworkIdentityType p_nit, template SixteenbitType p_cibc, template TwoBitType p_cci ):= { active := omit, anyAttributes := omit, cugCallOperation := p_crt, networkIndicator := p_nit, cugInterlockBinaryCode := p_cibc, cugCommunicationIndicator := p_cci } template CugRequestType m_cugReqType(boolean p_outAccessRequest, integer p_cugIndex) := { // outgoingAccessRequest := p_outAccessRequest, // cugIndex := p_cugIndex //TODO: workaround for ttwb118 outgoingAccessRequest := {bool:=p_outAccessRequest}, cugIndex := p_cugIndex } template CugRequestType mw_cugReqType(template boolean p_outAccessRequest, template integer p_cugIndex) := { outgoingAccessRequest := {bool:=p_outAccessRequest}, cugIndex := p_cugIndex } }//end group CUGTemplates group MCIDTemplates { template Mcid m_mcid_request_mcidIndicatorTrue := { choice := { request := {mcidRequestIndicator := bit2str('1'B), holdingIndicator := bit2str('0'B)} } } template Mcid m_mcid_request_mcidIndicatorTrue_holdIndTrue := { choice := { request := {mcidRequestIndicator := bit2str('1'B), holdingIndicator := bit2str('1'B)} } } template Mcid m_mcid_response_mcidIndicatorTrue := { choice := { response := {mcidResponseIndicator := bit2str('1'B), holdingProvidedIndicator := bit2str('0'B)} } } template Mcid mw_mcid_request_mcidIndicatorTrue := { choice := { request := {mcidRequestIndicator := bit2str('1'B), holdingIndicator := ?} } } template Mcid mw_mcid_response_mcidIndicatorTrue := { choice := { response := {mcidResponseIndicator := bit2str('1'B), holdingProvidedIndicator := ?} } } template Mcid mw_mcid_response_mcidIndicatorTrue_holdProvIndFalse := { choice := { response := {mcidResponseIndicator := bit2str('1'B), holdingProvidedIndicator := bit2str('0'B)} } } template Mcid mw_mcid_response_mcidIndicatorTrue_holdProvIndTrue := { choice := { response := {mcidResponseIndicator := bit2str('1'B), holdingProvidedIndicator := bit2str('1'B)} } } } //end group MCIDTemplates group PSTNTemplates { template PSTN_transit m_PSTN_transit(template BearerCapabilityType p_bct, template BearerCapabilityType p_bct2, template HighLayerCompatibilityType p_hlc, template HighLayerCompatibilityType p_hlc2, template LowLayerCompatibilityType p_llc, template ProgressIndicatorType p_pi, template DisplayType p_d) := { bearerInfomationElement := {p_bct, p_bct2}, highLayerCompatibility := {p_hlc, p_hlc2}, lowLayerCompatibility := p_llc, progressIndicator := {p_pi}, display_ := {p_d} } template PSTN_transit m_PSTN_transit_2PI(template BearerCapabilityType p_bct, template BearerCapabilityType p_bct2, template HighLayerCompatibilityType p_hlc, template HighLayerCompatibilityType p_hlc2, template LowLayerCompatibilityType p_llc, template ProgressIndicatorType p_pi, template ProgressIndicatorType p_pi2, template DisplayType p_d) := { bearerInfomationElement := {p_bct, p_bct2}, highLayerCompatibility := {p_hlc, p_hlc2}, lowLayerCompatibility := p_llc, progressIndicator := {p_pi, p_pi2}, display_ := {p_d} } template PSTN_transit m_PSTN_transit_3PI(template BearerCapabilityType p_bct, template BearerCapabilityType p_bct2, template HighLayerCompatibilityType p_hlc, template HighLayerCompatibilityType p_hlc2, template LowLayerCompatibilityType p_llc, template ProgressIndicatorType p_pi, template ProgressIndicatorType p_pi2, template ProgressIndicatorType p_pi3, template DisplayType p_d) := { bearerInfomationElement := {p_bct, p_bct2}, highLayerCompatibility := {p_hlc, p_hlc2}, lowLayerCompatibility := p_llc, progressIndicator := {p_pi, p_pi2, p_pi3}, display_ := {p_d} } template PSTN_transit mw_PSTN_transit_bc(template BearerCapabilityType p_bct, template BearerCapabilityType p_bct2) := { bearerInfomationElement := {p_bct, p_bct2}, highLayerCompatibility := {*, *}, lowLayerCompatibility := *, progressIndicator := {*}, display_ := {*} } template BearerCapabilityType m_BearerCapabilityType (Bit5 p_InfoTrfCap):= { bCoctet3 := {codingStandard := bit2str('00'B), //Coding standard = CCITT standardized coding informationTransferCabability := bit2str(p_InfoTrfCap)},//Information transfer capability bCoctet4 := {transferMode := bit2str('00'B), //Coding standard = CCITT standardized coding informationTransferRate := bit2str('10000'B)}, //Information transfer rate = 64 kbit/s bCoctet4_1 := omit, bCoctet5 := omit, bCoctet5a := omit, bCoctet5bV110 := omit, bCoctet5bV120 := omit, bCoctet5c := omit, bCoctet5d := omit, bCoctet6 := omit, bCoctet7 := omit, bCoctet7a := omit, bCoctet7b := omit } template ProgressIndicatorType m_ProgressIndicatorType (Bit7 p_progDesc) := { progressOctet3 := {codingStandard := bit2str('00'B), location := bit2str('0000'B) }, progressOctet4 := {progressDescription := bit2str(p_progDesc)} } template LowLayerCompatibilityType m_LowLayerCompatibilityType (Bit5 p_InfoTrfCap) := { lLOctet3 := {codingStandard := bit2str('00'B), //Coding standard = CCITT standardized coding informationTransferCapability := bit2str(p_InfoTrfCap)},//Information transfer capability lLOctet3a := omit, lLOctet4 := {transferMode := bit2str('00'B), //Coding standard = CCITT standardized coding informationTransferRate := bit2str('10000'B)}, //Information transfer rate = 64 kbit/s lLOctet4_1 := omit, lLOctet5 := omit, lLOctet5a := omit, lLOctet5bV110 := omit, lLOctet5bV120 := omit, lLOctet5c := omit, lLOctet5d := omit, lLOctet6 := omit, lLOctet6aHDLC := omit, lLOctet6aUserSpecific := omit, lLOctet6b := omit, lLOctet7 := {layer3Identification := bit2str('10'B), //TODO check valueand if parameter is mandatory userInfoLayer3Protocol := bit2str('10000'B)}, //TODO check value and if parameter is mandatory lLOctet7aUserSpecific := omit, lLOctet7aX25 := omit, lLOctet7bX25 := omit, lLOctet7c := omit, lLOctet7aTR9577 := omit, lLOctet7bTR9577 := omit } template HighLayerCompatibilityType m_HighLayerCompatibilityType (Bit7 p_HLOctet4):= { hLOctet3 := { codingStandard :=bit2str('00'B), interpretation :=bit2str('100'B), presentationMethod := bit2str('01'B) }, hLOctet4 := { highLayerCharacteristics := bit2str(p_HLOctet4) }, hLOctet4aMaintenance := omit, hLOctet4Audio := omit } template BearerCapabilityType mw_BearerCapabilityType (template BCOctet3Type p_BCOctet3Type, template BCOctet4Type p_BCOctet4Type):= { bCoctet3 := p_BCOctet3Type, bCoctet4 := p_BCOctet4Type, bCoctet4_1 := * , bCoctet5 := * , bCoctet5a := * , bCoctet5bV110 := * , bCoctet5bV120 := * , bCoctet5c := * , bCoctet5d := * , bCoctet6 := * , bCoctet7 := * , bCoctet7a := * , bCoctet7b := * } template BearerCapabilityType mw_BearerCapabilityType_TrfCap (Bit5 p_InfoTrfCap):= { bCoctet3 := {codingStandard := bit2str('00'B), //Coding standard = CCITT standardized coding informationTransferCabability := bit2str(p_InfoTrfCap)},//Information transfer capability bCoctet4 := {transferMode := bit2str('00'B), //Coding standard = CCITT standardized coding informationTransferRate := bit2str('10000'B)}, //Information transfer rate = 64 kbit/s bCoctet4_1 := * , bCoctet5 := * , bCoctet5a := * , bCoctet5bV110 := * , bCoctet5bV120 := * , bCoctet5c := * , bCoctet5d := * , bCoctet6 := * , bCoctet7 := * , bCoctet7a := * , bCoctet7b := * } template ProgressIndicatorType mw_ProgressIndicatorType (template ProgressOctet3Type p_ProgressOctet3Type, template ProgressOctet4Type p_ProgressOctet4Type) := { progressOctet3 := p_ProgressOctet3Type, progressOctet4 := p_ProgressOctet4Type } template LowLayerCompatibilityType mw_LowLayerCompatibilityType (template LLOctet3Type p_LLOctet3, template LLOctet4Type p_LLOctet4, template LLOctet7Type p_LLOctet7) := { lLOctet3 := p_LLOctet3, lLOctet3a := * , lLOctet4 := p_LLOctet4, lLOctet4_1 := * , lLOctet5 := * , lLOctet5a := * , lLOctet5bV110 := * , lLOctet5bV120 := * , lLOctet5c := * , lLOctet5d := * , lLOctet6 := * , lLOctet6aHDLC := * , lLOctet6aUserSpecific := * , lLOctet6b := * , lLOctet7 := p_LLOctet7, lLOctet7aUserSpecific := * , lLOctet7aX25 := * , lLOctet7bX25 := * , lLOctet7c := * , lLOctet7aTR9577 := * , lLOctet7bTR9577 := * } template HighLayerCompatibilityType mw_HighLayerCompatibilityType (template HLOctet3Type p_HLOctet3, template HLOctet4Type p_HLOctet4):= { hLOctet3 := p_HLOctet3, hLOctet4 := p_HLOctet4, hLOctet4aMaintenance := *, hLOctet4Audio := * } } //end group PSTNTemplates group CDIVNTemplates { /* general CDIVN subscription */ template Comm_div_info_type m_CDIVN_sub := { entity := "comm-div-info", comm_div_subs_info := { anyAttributes := omit, comm_div_selection_criteria := { anyAttributes := omit, originating_user_selection_criteria := omit, diverting_user_selection_criteria := omit, diverted_to_user_selection_criteria := omit, diversion_time_selection_criteria := omit, diversion_reason_selection_criteria := omit, elem := omit }, comm_div_ntfy_trigger_criteria := omit, comm_div_info_selection_criteria := omit, elem := omit }, comm_div_ntfy_info := omit, elem := omit } } // end grouup CDIVNTemplates group ResourceListsTemplates { template Resource_lists m_ResourceList_2Users( EntryType p_user1, EntryType p_user2 ) := { sequence := { { list := { name := omit, anyAttributes := omit, display_name := omit, sequence_list := { { choice := { entry := p_user1 } }, { choice := { entry := p_user2 } } }, elem := omit } } } } template EntryType m_EntryUser(SipUrl p_user) := { uri := p_user.userInfo.userOrTelephoneSubscriber & "@" & p_user.hostPort.host, anyAttributes := omit, display_name := omit, elem := omit } }// end grouup ResourceListsTemplates group Ims3gppTemplates { //TODO:check commented and below templates when test will be validated template TIMS3GPP mw_Ims_3gpp_CW := { version := 1.0, anyAttributes := ?, choice := { alternative_service := { anyAttributes := *, type_ := ?, reason := ?, elem := * } }, elem := * } // template TIMS3GPP mw_Ims_3gpp_CW := { // version := 1.0, // anyAttributes := ?, // choice_1 := { // alternative_service := { // anyAttributes := ?, // type_ := ?, // reason := ?, // action_ := { // anyAttributes := ?, // emergency_registration := *, // call_waiting_indication := {}, // any_1 := * // }, // any_1 := * // } // }, // any_1 := * // } } // end group Ims3gpp group CONFTemplates { template booleanXSD boolXSD_true:={bool:=true} template booleanXSD boolXSD_false:={bool:=false} template anyAttributes m_emptyAnyAttributes:={} template ietf_params_xml_ns_conference_info.Media_type m_mediatype_status(template Media_status_type p_status):= { id:="1", anyAttributes:=omit,//m_emptyAnyAttributes, display_text :=omit, type_ :=omit, label_ :=omit, src_id:=omit, status:= p_status, elem:=omit } template Endpoint_type m_endpoint(template charstring p_Uri,template Endpoint_status_type p_epStatus,template Joining_type p_joinMethod, template Disconnection_type p_discMethod, template ietf_params_xml_ns_conference_info.Media_type p_mediastatus):= { entity:=p_Uri, state:=full, anyAttributes:=omit,//m_emptyAnyAttributes, display_text:=omit, referred:=omit, status:=p_epStatus, joining_method:=p_joinMethod, joining_info:=omit, disconnection_method:=omit, disconnection_info:=omit, media:={p_mediastatus},// optional, call_info:=omit, elem:=omit } template User_type m_1user (template charstring p_Uri,template Endpoint_type p_endpoint) := { entity:=p_Uri, state:=full, anyAttributes:=omit,//m_emptyAnyAttributes, display_text:=omit, associated_aors:=omit, roles:=omit, languages :=omit, cascaded_focus :=omit, endpoint:={p_endpoint},// optional, elem:=omit } template Users_type m_users_1user_full(template User_type p_user):={ state:=full, anyAttributes := omit,//m_emptyAnyAttributes, user:={p_user}, elem:=omit } template Users_type m_users_2user_full(template User_type p_user1,template User_type p_user2):={ state:=full, anyAttributes := omit,//m_emptyAnyAttributes, user:={p_user1,p_user2}, elem:=omit } template Conference_state_type m_conference_state(template unsignedInt p_nUsers, template booleanXSD p_active, template booleanXSD p_locked) := { anyAttributes:=omit,//m_emptyAnyAttributes, user_count:=p_nUsers, active:=p_active, locked:=p_locked, elem := omit } template Conference_type m_ci_cUri_cState_userEntity(template charstring p_cUri, template Conference_state_type p_cState, template Users_type p_users ) := { entity := p_cUri, state := full, version := 1, anyAttributes := omit,//m_emptyAnyAttributes,//*,// {{name:="",val:=""}}, conference_description := omit, host_info := omit, conference_state := p_cState, users := p_users, sidebars_by_ref := omit, sidebars_by_val := omit, elem := omit } template Conference_type mw_conferenceInfo_active := { entity := ?, state := *, version := *, anyAttributes := ?, conference_description := *, host_info := *, conference_state := ?, users := { state := ?, anyAttributes := ?, user := { { entity := *, state := *, anyAttributes := *, display_text := *, associated_aors := *, roles := *, languages := *, cascaded_focus := *, endpoint := { { entity := *, state := *, anyAttributes := ?, display_text := *, referred := *, status := connected, joining_method := dialed_in, joining_info := *, disconnection_method := *, disconnection_info := *, media := *, call_info := *, elem := * } }, elem := * } }, elem := omit }, sidebars_by_ref := *, sidebars_by_val := *, elem := * } } } // end group MessageBodyTemplates group MessageBodyTemplates {} // end group MessageBodyTemplates group MessageTemplates { Loading Loading @@ -2259,32 +1558,6 @@ group request_receive { messageBody := ? } template INVITE_Request mw_INVITE_Request_IMS_cug (template PChargingVector p_pChargingVector, template RecordRoute p_recordRoute, template Route p_route, template Via p_via, template Cug p_cug ) modifies mw_INVITE_Request_Base := { msgHeader := { pChargingVector := p_pChargingVector, recordRoute := p_recordRoute, route := p_route, via := p_via }, messageBody := (mw_MBody_XML(mw_XmlBody_CUG(p_cug)), mw_MBody_MIMESdpXml(?, mw_XmlBody_CUG(p_cug))) } template INVITE_Request mw_INVITE_Request_IMS_pstn (template PChargingVector p_pChargingVector, template RecordRoute p_recordRoute, template Route p_route, template Via p_via, template PSTN_transit p_pstn ) modifies mw_INVITE_Request_Base := { msgHeader := { pChargingVector := p_pChargingVector, recordRoute := p_recordRoute, route := p_route, via := p_via }, messageBody := (mw_MBody_XML(mw_XmlBody_PSTNTransit(p_pstn)), mw_MBody_MIMESdpXml(?, mw_XmlBody_PSTNTransit(p_pstn)))//m_MBody_PSTN(p_pstn)//PSTN_transit } /* * * @desc Await INVITE using topology hiding Loading Loading
ttcn/LibIms_Templates.ttcn +1 −728 Original line number Diff line number Diff line Loading @@ -476,708 +476,7 @@ group HeaderFieldTemplates{ } // end group HeaderFieldTemplates group MessageBodyTemplates { group XMLTemplates { // template XmlBody m_XmlBody_ACR_ICB(template Incoming_communication_barring p_icb) := // { // icb := p_icb // }; // template XmlBody m_XmlBody_ACR_OCB(template Outgoing_communication_barring p_ocb) := // { // ocb := p_ocb // }; template XmlBody m_XmlBody_ConfInfo(template Conference_type p_confInfo) := { conference_type := p_confInfo }; template XmlBody m_XmlBody_CUG(template Cug p_cug) := { cug := p_cug }; template XmlBody m_XmlBody_MCID(template Mcid p_mcid) := { mcid := p_mcid }; template XmlBody m_XmlBody_PSTNTransit(template PSTN_transit p_pstn) := { pstnTransit := p_pstn }; template XmlBody m_XmlBody_simservs(template Simservs p_simservs) := { simservs := p_simservs }; template XmlBody m_XmlBody_ACR_ICB(template (value) Incoming_communication_barring p_icb) := { simservs := { anyAttributes := omit, choice := {{incoming_communication_barring := p_icb}}, extensions := omit } } template XmlBody m_XmlBody_ACR_OCB(template (value) Outgoing_communication_barring p_ocb) := { simservs := { anyAttributes := omit, choice := { { outgoing_communication_barring := p_ocb } }, extensions := omit } }; template XmlBody m_XmlBody_CDIVN(template Comm_div_info_type p_cdivn) := { cdivn := p_cdivn }; // template XmlBody m_XmlBody_CDIVN(template Comm_div_info p_cdivn) := // { // cdivn := p_cdivn // }; template XmlBody mw_XmlBody_ConfInfo(template Conference_type p_confInfo) := { conference_type := p_confInfo }; template XmlBody mw_XmlBody_CUG(template Cug p_cug) := { cug := p_cug }; template XmlBody mw_XmlBody_MCID(template Mcid p_mcid) := { mcid := p_mcid }; template XmlBody mw_XmlBody_PSTNTransit(template PSTN_transit p_pstn) := { pstnTransit := p_pstn }; template XmlBody mw_XmlBody_CDIVN(template Comm_div_info_type p_cdivn) := { cdivn := p_cdivn }; template XmlBody mw_XmlBody_simservs(template Simservs p_simservs) := { simservs := p_simservs }; template XmlBody mw_XmlBody_ResourceLists(template Resource_lists p_resourceLists) := { resourceLists := p_resourceLists }; }// end group XMLTemplates group ACR_CBTemplates { template Incoming_communication_barring m_ICB(RuleType p_ruleType) := { active := omit, anyAttributes := omit, ruleset := { rule:= {p_ruleType} } } template Outgoing_communication_barring m_OCB(RuleType p_ruleType) := { active := omit, anyAttributes := omit, ruleset := { rule:= {p_ruleType} } } template RuleType m_ruleType_actionFalse(template ConditionsType p_condition) := { id := "rule66", conditions := p_condition, actions := {elem:={{boolean := false}}}, transformations := omit } template ConditionsType m_conditionsType_identity(template charstring p_id, template charstring p_scheme) := { content := {{ identity := {{ content := {{ one := { id := p_id, //scheme := p_scheme, //any_1 := omit elem := {charstring := p_scheme} } }} }} }} } } //end group ACR_CBTemplates group CUGTemplates { template Cug m_CUG ( template CugRequestType p_crt, template NetworkIdentityType p_nit, template SixteenbitType p_cibc, template TwoBitType p_cci ):= { active := omit, anyAttributes := omit, cugCallOperation := p_crt, networkIndicator := p_nit, cugInterlockBinaryCode := p_cibc, cugCommunicationIndicator :=p_cci } template Cug mw_CUG ( template CugRequestType p_crt, template NetworkIdentityType p_nit, template SixteenbitType p_cibc, template TwoBitType p_cci ):= { active := omit, anyAttributes := omit, cugCallOperation := p_crt, networkIndicator := p_nit, cugInterlockBinaryCode := p_cibc, cugCommunicationIndicator := p_cci } template CugRequestType m_cugReqType(boolean p_outAccessRequest, integer p_cugIndex) := { // outgoingAccessRequest := p_outAccessRequest, // cugIndex := p_cugIndex //TODO: workaround for ttwb118 outgoingAccessRequest := {bool:=p_outAccessRequest}, cugIndex := p_cugIndex } template CugRequestType mw_cugReqType(template boolean p_outAccessRequest, template integer p_cugIndex) := { outgoingAccessRequest := {bool:=p_outAccessRequest}, cugIndex := p_cugIndex } }//end group CUGTemplates group MCIDTemplates { template Mcid m_mcid_request_mcidIndicatorTrue := { choice := { request := {mcidRequestIndicator := bit2str('1'B), holdingIndicator := bit2str('0'B)} } } template Mcid m_mcid_request_mcidIndicatorTrue_holdIndTrue := { choice := { request := {mcidRequestIndicator := bit2str('1'B), holdingIndicator := bit2str('1'B)} } } template Mcid m_mcid_response_mcidIndicatorTrue := { choice := { response := {mcidResponseIndicator := bit2str('1'B), holdingProvidedIndicator := bit2str('0'B)} } } template Mcid mw_mcid_request_mcidIndicatorTrue := { choice := { request := {mcidRequestIndicator := bit2str('1'B), holdingIndicator := ?} } } template Mcid mw_mcid_response_mcidIndicatorTrue := { choice := { response := {mcidResponseIndicator := bit2str('1'B), holdingProvidedIndicator := ?} } } template Mcid mw_mcid_response_mcidIndicatorTrue_holdProvIndFalse := { choice := { response := {mcidResponseIndicator := bit2str('1'B), holdingProvidedIndicator := bit2str('0'B)} } } template Mcid mw_mcid_response_mcidIndicatorTrue_holdProvIndTrue := { choice := { response := {mcidResponseIndicator := bit2str('1'B), holdingProvidedIndicator := bit2str('1'B)} } } } //end group MCIDTemplates group PSTNTemplates { template PSTN_transit m_PSTN_transit(template BearerCapabilityType p_bct, template BearerCapabilityType p_bct2, template HighLayerCompatibilityType p_hlc, template HighLayerCompatibilityType p_hlc2, template LowLayerCompatibilityType p_llc, template ProgressIndicatorType p_pi, template DisplayType p_d) := { bearerInfomationElement := {p_bct, p_bct2}, highLayerCompatibility := {p_hlc, p_hlc2}, lowLayerCompatibility := p_llc, progressIndicator := {p_pi}, display_ := {p_d} } template PSTN_transit m_PSTN_transit_2PI(template BearerCapabilityType p_bct, template BearerCapabilityType p_bct2, template HighLayerCompatibilityType p_hlc, template HighLayerCompatibilityType p_hlc2, template LowLayerCompatibilityType p_llc, template ProgressIndicatorType p_pi, template ProgressIndicatorType p_pi2, template DisplayType p_d) := { bearerInfomationElement := {p_bct, p_bct2}, highLayerCompatibility := {p_hlc, p_hlc2}, lowLayerCompatibility := p_llc, progressIndicator := {p_pi, p_pi2}, display_ := {p_d} } template PSTN_transit m_PSTN_transit_3PI(template BearerCapabilityType p_bct, template BearerCapabilityType p_bct2, template HighLayerCompatibilityType p_hlc, template HighLayerCompatibilityType p_hlc2, template LowLayerCompatibilityType p_llc, template ProgressIndicatorType p_pi, template ProgressIndicatorType p_pi2, template ProgressIndicatorType p_pi3, template DisplayType p_d) := { bearerInfomationElement := {p_bct, p_bct2}, highLayerCompatibility := {p_hlc, p_hlc2}, lowLayerCompatibility := p_llc, progressIndicator := {p_pi, p_pi2, p_pi3}, display_ := {p_d} } template PSTN_transit mw_PSTN_transit_bc(template BearerCapabilityType p_bct, template BearerCapabilityType p_bct2) := { bearerInfomationElement := {p_bct, p_bct2}, highLayerCompatibility := {*, *}, lowLayerCompatibility := *, progressIndicator := {*}, display_ := {*} } template BearerCapabilityType m_BearerCapabilityType (Bit5 p_InfoTrfCap):= { bCoctet3 := {codingStandard := bit2str('00'B), //Coding standard = CCITT standardized coding informationTransferCabability := bit2str(p_InfoTrfCap)},//Information transfer capability bCoctet4 := {transferMode := bit2str('00'B), //Coding standard = CCITT standardized coding informationTransferRate := bit2str('10000'B)}, //Information transfer rate = 64 kbit/s bCoctet4_1 := omit, bCoctet5 := omit, bCoctet5a := omit, bCoctet5bV110 := omit, bCoctet5bV120 := omit, bCoctet5c := omit, bCoctet5d := omit, bCoctet6 := omit, bCoctet7 := omit, bCoctet7a := omit, bCoctet7b := omit } template ProgressIndicatorType m_ProgressIndicatorType (Bit7 p_progDesc) := { progressOctet3 := {codingStandard := bit2str('00'B), location := bit2str('0000'B) }, progressOctet4 := {progressDescription := bit2str(p_progDesc)} } template LowLayerCompatibilityType m_LowLayerCompatibilityType (Bit5 p_InfoTrfCap) := { lLOctet3 := {codingStandard := bit2str('00'B), //Coding standard = CCITT standardized coding informationTransferCapability := bit2str(p_InfoTrfCap)},//Information transfer capability lLOctet3a := omit, lLOctet4 := {transferMode := bit2str('00'B), //Coding standard = CCITT standardized coding informationTransferRate := bit2str('10000'B)}, //Information transfer rate = 64 kbit/s lLOctet4_1 := omit, lLOctet5 := omit, lLOctet5a := omit, lLOctet5bV110 := omit, lLOctet5bV120 := omit, lLOctet5c := omit, lLOctet5d := omit, lLOctet6 := omit, lLOctet6aHDLC := omit, lLOctet6aUserSpecific := omit, lLOctet6b := omit, lLOctet7 := {layer3Identification := bit2str('10'B), //TODO check valueand if parameter is mandatory userInfoLayer3Protocol := bit2str('10000'B)}, //TODO check value and if parameter is mandatory lLOctet7aUserSpecific := omit, lLOctet7aX25 := omit, lLOctet7bX25 := omit, lLOctet7c := omit, lLOctet7aTR9577 := omit, lLOctet7bTR9577 := omit } template HighLayerCompatibilityType m_HighLayerCompatibilityType (Bit7 p_HLOctet4):= { hLOctet3 := { codingStandard :=bit2str('00'B), interpretation :=bit2str('100'B), presentationMethod := bit2str('01'B) }, hLOctet4 := { highLayerCharacteristics := bit2str(p_HLOctet4) }, hLOctet4aMaintenance := omit, hLOctet4Audio := omit } template BearerCapabilityType mw_BearerCapabilityType (template BCOctet3Type p_BCOctet3Type, template BCOctet4Type p_BCOctet4Type):= { bCoctet3 := p_BCOctet3Type, bCoctet4 := p_BCOctet4Type, bCoctet4_1 := * , bCoctet5 := * , bCoctet5a := * , bCoctet5bV110 := * , bCoctet5bV120 := * , bCoctet5c := * , bCoctet5d := * , bCoctet6 := * , bCoctet7 := * , bCoctet7a := * , bCoctet7b := * } template BearerCapabilityType mw_BearerCapabilityType_TrfCap (Bit5 p_InfoTrfCap):= { bCoctet3 := {codingStandard := bit2str('00'B), //Coding standard = CCITT standardized coding informationTransferCabability := bit2str(p_InfoTrfCap)},//Information transfer capability bCoctet4 := {transferMode := bit2str('00'B), //Coding standard = CCITT standardized coding informationTransferRate := bit2str('10000'B)}, //Information transfer rate = 64 kbit/s bCoctet4_1 := * , bCoctet5 := * , bCoctet5a := * , bCoctet5bV110 := * , bCoctet5bV120 := * , bCoctet5c := * , bCoctet5d := * , bCoctet6 := * , bCoctet7 := * , bCoctet7a := * , bCoctet7b := * } template ProgressIndicatorType mw_ProgressIndicatorType (template ProgressOctet3Type p_ProgressOctet3Type, template ProgressOctet4Type p_ProgressOctet4Type) := { progressOctet3 := p_ProgressOctet3Type, progressOctet4 := p_ProgressOctet4Type } template LowLayerCompatibilityType mw_LowLayerCompatibilityType (template LLOctet3Type p_LLOctet3, template LLOctet4Type p_LLOctet4, template LLOctet7Type p_LLOctet7) := { lLOctet3 := p_LLOctet3, lLOctet3a := * , lLOctet4 := p_LLOctet4, lLOctet4_1 := * , lLOctet5 := * , lLOctet5a := * , lLOctet5bV110 := * , lLOctet5bV120 := * , lLOctet5c := * , lLOctet5d := * , lLOctet6 := * , lLOctet6aHDLC := * , lLOctet6aUserSpecific := * , lLOctet6b := * , lLOctet7 := p_LLOctet7, lLOctet7aUserSpecific := * , lLOctet7aX25 := * , lLOctet7bX25 := * , lLOctet7c := * , lLOctet7aTR9577 := * , lLOctet7bTR9577 := * } template HighLayerCompatibilityType mw_HighLayerCompatibilityType (template HLOctet3Type p_HLOctet3, template HLOctet4Type p_HLOctet4):= { hLOctet3 := p_HLOctet3, hLOctet4 := p_HLOctet4, hLOctet4aMaintenance := *, hLOctet4Audio := * } } //end group PSTNTemplates group CDIVNTemplates { /* general CDIVN subscription */ template Comm_div_info_type m_CDIVN_sub := { entity := "comm-div-info", comm_div_subs_info := { anyAttributes := omit, comm_div_selection_criteria := { anyAttributes := omit, originating_user_selection_criteria := omit, diverting_user_selection_criteria := omit, diverted_to_user_selection_criteria := omit, diversion_time_selection_criteria := omit, diversion_reason_selection_criteria := omit, elem := omit }, comm_div_ntfy_trigger_criteria := omit, comm_div_info_selection_criteria := omit, elem := omit }, comm_div_ntfy_info := omit, elem := omit } } // end grouup CDIVNTemplates group ResourceListsTemplates { template Resource_lists m_ResourceList_2Users( EntryType p_user1, EntryType p_user2 ) := { sequence := { { list := { name := omit, anyAttributes := omit, display_name := omit, sequence_list := { { choice := { entry := p_user1 } }, { choice := { entry := p_user2 } } }, elem := omit } } } } template EntryType m_EntryUser(SipUrl p_user) := { uri := p_user.userInfo.userOrTelephoneSubscriber & "@" & p_user.hostPort.host, anyAttributes := omit, display_name := omit, elem := omit } }// end grouup ResourceListsTemplates group Ims3gppTemplates { //TODO:check commented and below templates when test will be validated template TIMS3GPP mw_Ims_3gpp_CW := { version := 1.0, anyAttributes := ?, choice := { alternative_service := { anyAttributes := *, type_ := ?, reason := ?, elem := * } }, elem := * } // template TIMS3GPP mw_Ims_3gpp_CW := { // version := 1.0, // anyAttributes := ?, // choice_1 := { // alternative_service := { // anyAttributes := ?, // type_ := ?, // reason := ?, // action_ := { // anyAttributes := ?, // emergency_registration := *, // call_waiting_indication := {}, // any_1 := * // }, // any_1 := * // } // }, // any_1 := * // } } // end group Ims3gpp group CONFTemplates { template booleanXSD boolXSD_true:={bool:=true} template booleanXSD boolXSD_false:={bool:=false} template anyAttributes m_emptyAnyAttributes:={} template ietf_params_xml_ns_conference_info.Media_type m_mediatype_status(template Media_status_type p_status):= { id:="1", anyAttributes:=omit,//m_emptyAnyAttributes, display_text :=omit, type_ :=omit, label_ :=omit, src_id:=omit, status:= p_status, elem:=omit } template Endpoint_type m_endpoint(template charstring p_Uri,template Endpoint_status_type p_epStatus,template Joining_type p_joinMethod, template Disconnection_type p_discMethod, template ietf_params_xml_ns_conference_info.Media_type p_mediastatus):= { entity:=p_Uri, state:=full, anyAttributes:=omit,//m_emptyAnyAttributes, display_text:=omit, referred:=omit, status:=p_epStatus, joining_method:=p_joinMethod, joining_info:=omit, disconnection_method:=omit, disconnection_info:=omit, media:={p_mediastatus},// optional, call_info:=omit, elem:=omit } template User_type m_1user (template charstring p_Uri,template Endpoint_type p_endpoint) := { entity:=p_Uri, state:=full, anyAttributes:=omit,//m_emptyAnyAttributes, display_text:=omit, associated_aors:=omit, roles:=omit, languages :=omit, cascaded_focus :=omit, endpoint:={p_endpoint},// optional, elem:=omit } template Users_type m_users_1user_full(template User_type p_user):={ state:=full, anyAttributes := omit,//m_emptyAnyAttributes, user:={p_user}, elem:=omit } template Users_type m_users_2user_full(template User_type p_user1,template User_type p_user2):={ state:=full, anyAttributes := omit,//m_emptyAnyAttributes, user:={p_user1,p_user2}, elem:=omit } template Conference_state_type m_conference_state(template unsignedInt p_nUsers, template booleanXSD p_active, template booleanXSD p_locked) := { anyAttributes:=omit,//m_emptyAnyAttributes, user_count:=p_nUsers, active:=p_active, locked:=p_locked, elem := omit } template Conference_type m_ci_cUri_cState_userEntity(template charstring p_cUri, template Conference_state_type p_cState, template Users_type p_users ) := { entity := p_cUri, state := full, version := 1, anyAttributes := omit,//m_emptyAnyAttributes,//*,// {{name:="",val:=""}}, conference_description := omit, host_info := omit, conference_state := p_cState, users := p_users, sidebars_by_ref := omit, sidebars_by_val := omit, elem := omit } template Conference_type mw_conferenceInfo_active := { entity := ?, state := *, version := *, anyAttributes := ?, conference_description := *, host_info := *, conference_state := ?, users := { state := ?, anyAttributes := ?, user := { { entity := *, state := *, anyAttributes := *, display_text := *, associated_aors := *, roles := *, languages := *, cascaded_focus := *, endpoint := { { entity := *, state := *, anyAttributes := ?, display_text := *, referred := *, status := connected, joining_method := dialed_in, joining_info := *, disconnection_method := *, disconnection_info := *, media := *, call_info := *, elem := * } }, elem := * } }, elem := omit }, sidebars_by_ref := *, sidebars_by_val := *, elem := * } } } // end group MessageBodyTemplates group MessageBodyTemplates {} // end group MessageBodyTemplates group MessageTemplates { Loading Loading @@ -2259,32 +1558,6 @@ group request_receive { messageBody := ? } template INVITE_Request mw_INVITE_Request_IMS_cug (template PChargingVector p_pChargingVector, template RecordRoute p_recordRoute, template Route p_route, template Via p_via, template Cug p_cug ) modifies mw_INVITE_Request_Base := { msgHeader := { pChargingVector := p_pChargingVector, recordRoute := p_recordRoute, route := p_route, via := p_via }, messageBody := (mw_MBody_XML(mw_XmlBody_CUG(p_cug)), mw_MBody_MIMESdpXml(?, mw_XmlBody_CUG(p_cug))) } template INVITE_Request mw_INVITE_Request_IMS_pstn (template PChargingVector p_pChargingVector, template RecordRoute p_recordRoute, template Route p_route, template Via p_via, template PSTN_transit p_pstn ) modifies mw_INVITE_Request_Base := { msgHeader := { pChargingVector := p_pChargingVector, recordRoute := p_recordRoute, route := p_route, via := p_via }, messageBody := (mw_MBody_XML(mw_XmlBody_PSTNTransit(p_pstn)), mw_MBody_MIMESdpXml(?, mw_XmlBody_PSTNTransit(p_pstn)))//m_MBody_PSTN(p_pstn)//PSTN_transit } /* * * @desc Await INVITE using topology hiding Loading