Newer
Older
* @desc This module defines RfRo Diameter Templates for message, header, and
* structured types. <br>
* Note that any changes made to the definitions in this module
* may be overwritten by future releases of this library
* End users are encouraged to contact the distributers of this
* module regarding their modifications or additions
* Note that usage of encvalue command (codec function) returns bitstring
* length of the message or AVP with padding bytes. Therefore this function
* is not used on the first level where length of one single AVP can be
* calculated with lengthof function. It shall be used only on message level
* or in case where one AVP is group of other AVPs (ex. m_subsesEnforcementInfo_Operation_MultiBBERFact_AnGw).
* @remark Any additions to the templates shall follow the design rules
* and always modify base templates only;
*/
module DiameterRfRo_Templates {
// LibCommon
import from LibCommon_BasicTypesAndValues all;
import from LibDiameter_Types_Base_AVPs all;
import from LibDiameter_TypesAndValues all;
import from LibDiameter_Types_Gx_AVPs all;
import from LibDiameter_Types_Rx_AVPs all;
import from LibDiameter_Types_RfRo_AVPs all;
import from LibDiameter_Templates all;
template (value) Command_Flags m_cmdFlagsAns_CmdFlags_T modifies m_cmdFlagsAns := {
t_bit := '1'B
}
template (value) DiameterHeader m_diameterHeaderReq_CmdFlags_T(
in Command_Code p_cmdcode,
in UInt32 p_applid
) modifies m_diameterHeaderReq_dummy := {
cmdflags := m_cmdFlagsAns_CmdFlags_T
}
template DiameterHeader mw_diameterHeaderReq_CmdFlags(Command_Code p_cmdcode, template (present) UInt32 p_applid, template (present) Command_Flags p_commandFlags) modifies mw_diameterHeaderReq_dummy := {
cmdflags := p_commandFlags
}
template (present) DiameterHeader mw_diameterHeaderAns_CmdFlags(
Command_Code p_cmdcode,
template (present) UInt32 p_applid,
template (present) Command_Flags p_commandFlags
) modifies mw_diameterHeaderAns_dummy := {
} // End of template mw_diameterHeaderAns_CmdFlags
/**
* @desc Received generic command flag template
*/
template (present) Command_Flags mw_cmdFlagsReq_PET(in Bit1 p_P, in Bit1 p_E,in Bit1 p_T) := {
r_bit := '1'B, //Request message
p_bit := p_P,
e_bit := p_E,
t_bit := p_T,
reserved_bits := '0000'B
} // End of template mw_cmdFlagsAns
/**
* @desc Received generic command flag template
*/
template (present) Command_Flags mw_cmdFlagsAns_PET(in Bit1 p_P, in Bit1 p_E,in Bit1 p_T) := {
r_bit := '0'B, //Answer message
p_bit := p_P,
e_bit := p_E,
t_bit := p_T,
reserved_bits := '0000'B
} // End of template mw_cmdFlagsAns
} // End of group HeaderFieldTemplates
// Even if template is defined in DiameterS9_Templates module we keep it here to have RfRo specific
template (value) Subscription_Id_AVP m_subscription_Id(
in template (value) Subscription_Id_Type_AVP p_typeAVP,
in template (value) Subscription_Id_Data_AVP p_dataAVP
) := {
aVP_Header := m_aVP_HeaderVid_Mbit1(
c_subscription_Id_AVP_Code,
f_getByteAlignedLength(p_typeAVP.aVP_Header.aVP_len) +
f_getByteAlignedLength(p_dataAVP.aVP_Header.aVP_len),
omit),
subscription_Id_Type := p_typeAVP,
subscription_Id_Data := p_dataAVP
} // End of template m_subscription_Id
template (value) Subscription_Id_Type_AVP m_subscription_Id_Type(
in template (value) Subscription_Id_Ty_Type p_aVPData
aVP_Header := m_aVP_HeaderVid_Mbit1(c_subscription_Id_Type_AVP_Code, f_getEnumLength()),
} // End of template m_subscription_Id_Type
template (value) Subscription_Id_Data_AVP m_subscription_Id_Data(
in template (value) UTF8String p_aVPData
aVP_Header := m_aVP_HeaderVid_Mbit1(c_subscription_Id_Data_AVP_Code, f_getUTF8StringLength(valueof(p_aVPData))),
} // End of template m_subscription_Id_Data
group Rf_request_message_templates_send {
/**
* @desc Send template for ACR
* @param p_sessionId Session identifier
* @param p_acrBody ACR message body
*/
template (value) ACR_MSG md_aCR(
in template (value) Session_Id_AVP p_sessionId,
in template (value) ACR_Body_AVP p_acrBody
session_Id := p_sessionId,
aCR_Body := p_acrBody
} // End of template md_aCR
/**
* @desc Send template for ACR
* @param p_sessionId Session identifier
* @param p_acrBody ACR message body
*/
template (value) ACR_MSG md_aCR_TflagSet(
in template (value) Session_Id_AVP p_sessionId,
in template (value) ACR_Body_AVP p_acrBody
) modifies m_ACR_dummy := {
header := m_diameterHeaderReqDuplicated_dummy(ACR_E, c_applIdRfRo),
session_Id := p_sessionId,
aCR_Body := p_acrBody
} // End of template md_aCR
template (omit) ACR_Body_AVP md_acrBodyAvps_TypeOfCharging(
in template (value) Origin_Host_AVP p_originHost,
in template (value) Origin_Realm_AVP p_originRealm,
in template (value) Accounting_Record_Type_AVP p_accounting_Record_Type,
in template (value) Accounting_Record_Number_AVP p_accounting_Record_Number,
in template (omit) Event_Timestamp_AVP p_event_Timestamp := omit,
in template (omit) Service_Information_AVP p_service_Information := omit,
in template (omit) Service_Context_Id_AVP p_service_Context_Id := omit
) modifies m_ACR_Body_dummy := {
origin_Host := p_originHost,
origin_Realm := p_originRealm,
accounting_Record_Type := p_accounting_Record_Type,
accounting_Record_Number := p_accounting_Record_Number,
service_Information := p_service_Information,
service_Context_Id := p_service_Context_Id
} // End of template md_acrBodyAvps_TypeOfCharging_Session
} // End of group Rf_request_message_templates_send
group Rf_request_message_templates_receive {
group ACR_MSG_{
/**
* @desc Main receive message for CDF_Rf port
*/
template (present) ACR_MSG mdw_aCR(
in template (present) Session_Id_AVP p_sessionId,
in template (present) ACR_Body_AVP p_acrBody
) modifies mw_ACR_dummy := {
header := mw_diameterHeaderReq_dummy(ACR_E, c_applIdRfRo),
session_Id := p_sessionId,
aCR_Body := p_acrBody
} // End of template mdw_aCR
/**
* @desc Main receive message for CDF_Rf port
* @param p_aCR_MSG AC-Request message
*/
template (present) ACR_MSG mdw_aCR_Header_ACRBody(
in template (present) DiameterHeader p_header,
in template (present) Session_Id_AVP p_sessionId,
in template (present) ACR_Body_AVP p_acrBody
) modifies mw_ACR_dummy := {
header := p_header,
session_Id := p_sessionId,
aCR_Body := p_acrBody
} // End of template mdw_aCR
* @desc Await template for ACR
* @param p_header Diameter header
*/
template (present) ACR_MSG mw_ACR_CmdFlags_PET(in template (present) DiameterHeader p_header) modifies mw_ACR_dummy := {
header := p_header,
session_Id := ?,
aCR_Body := mw_ACR_Body_dummy
}// End of template mw_ACR_CmdFlags_PET
/**
* @desc Receive template for ACR message body
* @param p_resultCode Indicates whether a particular request was completed successfully or an error occurred
* @param p_originHost Identifies the endpoint that originated the Diameter message
* @param p_originRealm Realm of the originator
* @param p_destinationRealm Destination realm
* @param p_accounting_Record_Type
* @param p_accounting_Record_Number
* @param p_acct_application_id
template ACR_Body_AVP mdw_acrBodyAvps(
in template (present) Origin_Host_AVP p_originHost := ?,
in template (present) Origin_Realm_AVP p_originRealm := ?,
in template (present) Destination_Realm_AVP p_destinationRealm := ?,
in template (present) Accounting_Record_Type_AVP p_accounting_Record_Type := ?,
in template (present) Accounting_Record_Number_AVP p_accounting_Record_Number := ?
origin_Host := p_originHost,
origin_Realm := p_originRealm,
destination_Realm := p_destinationRealm,
accounting_Record_Type := p_accounting_Record_Type,
accounting_Record_Number := p_accounting_Record_Number,
acct_Application_Id := mw_acct_Application_Id(3)
} // End of template mdw_acrBodyAvps
/**
* @desc Receive template for ACR message body
* @param p_resultCode Indicates whether a particular request was completed successfully or an error occurred
* @param p_originHost Identifies the endpoint that originated the Diameter message
* @param p_originRealm Realm of the originator
* @param p_destinationRealm Destination realm
* @param p_accounting_Record_Type Accounting Record Type
* @param p_accounting_Record_Number Accounting Record Number
* @param p_acct_application_id Acct application Id
* @param p_service_Information Service Information
* @param p_event_Timestamp Event Timestamp
*/
template ACR_Body_AVP mdw_acrBody_ServiceInfo_EventTimestamp(
in template (present) Origin_Host_AVP p_originHost := ?,
in template (present) Origin_Realm_AVP p_originRealm := ?,
in template (present) Destination_Realm_AVP p_destinationRealm := ?,
in template (present) Accounting_Record_Type_AVP p_accounting_Record_Type := ?,
in template (present) Accounting_Record_Number_AVP p_accounting_Record_Number := ?,
in template Service_Information_AVP p_service_Information := *,
in template Event_Timestamp_AVP p_event_Timestamp := *
) modifies mdw_acrBodyAvps := {
service_Information := p_service_Information,
event_Timestamp := p_event_Timestamp
} // End of template mdw_acrBody_ServiceInfo_EventTimestamp
* @param p_sessionId Session identifier
* @param p_asrBody ASR message body
*/
template (present) ASR_MSG mdw_aSR(
in template (present) Session_Id_AVP p_sessionId,
in template (present) ASR_Body_AVP p_asrBody
) modifies mw_ASR_dummy := {
header := mw_diameterHeaderReq_dummy(ASR_E, c_applIdRfRo),
session_Id := p_sessionId,
aSR_Body := p_asrBody
} // End of template mdw_aSR
/**
* @desc Receive template for ASR message body
* @param p_resultCode Indicates whether a particular request was completed successfully or an error occurred
* @param p_originHost Identifies the endpoint that originated the Diameter message
* @param p_originRealm Realm of the originator
* @param p_destinationRealm Destination realm
*/
template (present) ASR_Body_AVP mdw_asrBodyAvps(
template (present) Origin_Host_AVP p_originHost,
template (present) Origin_Realm_AVP p_originRealm,
template (present) Destination_Realm_AVP p_destinationRealm,
template (present) Destination_Host_AVP p_destinationHost
origin_Host := p_originHost,
origin_Realm := p_originRealm,
destination_Realm := p_destinationRealm,
destination_Host := p_destinationHost,
pintar
committed
auth_Application_Id := mw_auth_Application_Id(3)
} // End of group Rf_request_message_templates_receive
group Rf_answer_message_templates_send {
/**
* @desc Send template for ACA
* @param p_sessionId Session identifier
* @param p_acaBody ACA message body
*/
template (value) ACA_MSG md_aCA(
in template (value) Session_Id_AVP p_sessionId,
in template (value) ACA_Body_AVP p_acaBody
header := m_diameterHeaderAns_dummy(ACA_E, c_applIdRfRo),
session_Id := p_sessionId,
aCA_Body := p_acaBody
} // End of template md_aCA
template (omit) ACA_Body_AVP md_acaBodyAvps(
in template (value) Result_Code_AVP p_resultCode,
in template (value) Origin_Host_AVP p_originHost,
in template (value) Origin_Realm_AVP p_originRealm,
in template (value) Accounting_Record_Type_AVP p_accounting_Record_Type,
in template (value) Accounting_Record_Number_AVP p_accounting_Record_Number
) modifies m_ACA_Body_dummy := {
result_Code := p_resultCode,
origin_Host := p_originHost,
origin_Realm := p_originRealm,
accounting_Record_Type := p_accounting_Record_Type,
accounting_Record_Number := p_accounting_Record_Number,
acct_Application_Id := m_acct_Application_Id(3)
} // End of template md_acaBodyAvps
template (omit) ACA_Body_AVP md_acaBody_AcctInterimInterval(
in template (value) Result_Code_AVP p_resultCode,
in template (value) Origin_Host_AVP p_originHost,
in template (value) Origin_Realm_AVP p_originRealm,
in template (value) Accounting_Record_Type_AVP p_accounting_Record_Type,
in template (value) Accounting_Record_Number_AVP p_accounting_Record_Number,
in template (omit) Acct_Interim_Interval_AVP p_acct_Interim_Interval := omit
) modifies md_acaBodyAvps := {
acct_Interim_Interval := p_acct_Interim_Interval
} // End of template md_acaBody_AcctInterimInterval
/**
* @desc Send template for ASA
* @param p_sessionId Session identifier
* @param p_asaBody ASA message body
*/
template (value) ASA_MSG md_aSA(
in template (value) Session_Id_AVP p_sessionId,
in template (value) ASA_Body_AVP p_asaBody
) modifies m_ASA_dummy := {
header := m_diameterHeaderAns_dummy(ASA_E, c_applIdRfRo),
session_Id := p_sessionId,
aSA_Body := p_asaBody
} // End of template md_aSA
template (value) ASA_Body_AVP md_asaBodyAvps(
in template (value) Result_Code_AVP p_resultCode,
in template (value) Origin_Host_AVP p_originHost,
in template (value) Origin_Realm_AVP p_originRealm
) modifies m_ASA_Body_dummy := {
result_Code := p_resultCode,
origin_Host := p_originHost,
origin_Realm := p_originRealm
} // End of template md_asaBodyAvps
} // End of group Rf_answer_message_templates_send
group Rf_answer_message_templates_receive {
template ACA_MSG mw_ACA_CmdFlags_PET(
) modifies mw_ACA_dummy := {
header := p_header,
session_Id := ?,
aCA_Body := mw_ACA_Body_dummy
}
/**
* @desc Send template for ACA
* @param p_sessionId Session identifier
* @param p_acaBody ACA message body
*/
template (present) ACA_MSG mdw_aCA(
template (present) Session_Id_AVP p_sessionId,
template (present) ACA_Body_AVP p_acaBody
) modifies mw_ACA_dummy := {
header := mw_diameterHeaderAns_dummy(ACA_E, c_applIdRfRo),
session_Id := p_sessionId,
aCA_Body := p_acaBody
} // End of template md_aCA
template (present) ACA_Body_AVP mdw_acaBodyAvps(
template (present) Result_Code_AVP p_resultCode,
template (present) Origin_Host_AVP p_originHost,
template (present) Origin_Realm_AVP p_originRealm,
template (present) Accounting_Record_Type_AVP p_accounting_Record_Type,
template (present) Accounting_Record_Number_AVP p_accounting_Record_Number
) modifies mw_ACA_Body_dummy := {
result_Code := p_resultCode,
origin_Host := p_originHost,
origin_Realm := p_originRealm,
accounting_Record_Type := p_accounting_Record_Type,
accounting_Record_Number := p_accounting_Record_Number
} // End of template mdw_acaBodyAvps
} // End of group ACA_MSG_
} // End of group Rf_answer_message_templates_receive
} // End of group Rf_message_templates
group Rf_avps_templates {
group Rf_dummy_avps_templates_send {
/**
* @desc The SDP-Media-Component send template
*
* @see ETSI TS 132 299 V10.18.0 Clause 7.2.180 SDP-Media-Component AVP
* @see ETSI TS 132 299 V10.18.0 Table 7.1: Use Of IETF Diameter AVPs
*/
template SDP_Media_Component_AVP m_sdp_Media_Component_AVP_dummy := {
aVP_Header := m_aVP_HeaderVid_Mbit1(c_sdp_Media_Component_AVP_Code, 0, c_vendId3gpp),
sdp_Media_Name := omit,
sdp_Media_Description := omit,
local_GW_Inserted_Indication := omit,
ip_Realm_Default_Indication := omit,
transcoder_Inserted_Indication := omit,
media_Initiator_Flag := omit,
media_Initiator_Party := omit,
threeGPP_Charging_Id := omit,
access_Network_Charging_Identifier_Value := omit,
sdp_Type := omit
} // End of template m_sdp_Media_Component_AVP_dummy
/**
* @desc The Trunk-Group-ID AVP, Basic send template
*
* @see ETSI TS 132 299 V10.18.0 Clause 7.2.24 7.2.237 Trunk-Group-ID AVP
* @see ETSI TS 132 299 V10.18.0 Table 7.1: Use Of IETF Diameter AVPs
*/
template Trunk_Group_ID_AVP m_trunk_Group_ID_AVP_dummy := {
aVP_Header := m_aVP_HeaderVid_Mbit1(c_trunk_Group_ID_AVP_Code, 0, c_vendId3gpp),
incoming_Trunk_Group_ID := omit,
outgoing_Trunk_Group_ID := omit
} // End of template m_trunk_Group_ID_AVP_dummy
/**
* @desc Service-Information AVP, Basic send template
*
* @see ETSI TS 132 299 V10.18.0 Clause 7.2.192 Service-Information AVP
* @see ETSI TS 132 299 V10.18.0 Table 7.2: 3GPP specific AVPs
*/
template (omit) Service_Information_AVP m_service_Information_AVP_dummy := {
aVP_Header := m_aVP_HeaderVid_Mbit1(c_service_Information_AVP_Code, 0, c_vendId3gpp),
subscription_Id := omit,
aoc_Information := omit,
ps_Information := omit,
wlan_Information := omit,
ims_Information := omit,
mms_Information := omit,
lcs_Information := omit,
poc_Information := omit,
mbms_Information := omit,
sms_Information := omit,
mmtel_Information := omit,
service_Generic_Information := omit,
im_Information := omit,
dcd_Information := omit
} // End of template m_service_Information_AVP_dummy
/**
* @desc PS-Information AVP, Basic send template
*
* @see ETSI TS 132 299 V10.18.0 Clause 7.2.158 PS-Information AVP
* @see ETSI TS 132 299 V10.18.0 Table 7.2: 3GPP specific AVPs
*/
template (omit) PS_Information_AVP m_ps_Information_AVP_dummy := {
aVP_Header := m_aVP_HeaderVid_Mbit1(c_ps_Information_AVP_Code, 0, c_vendId3gpp),
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
threeGPP_Charging_Id := omit,
pdn_Connection_Charging_ID := omit,
node_Id := omit,
threeGPP_PDP_Type := omit,
pdp_Address := omit,
pdp_Address_Prefix_Length := omit,
dynamic_Address_Flag := omit,
dynamic_Address_Flag_Extension := omit,
qos_Information := omit,
sgsn_Address := omit,
ggsn_Address := omit,
sgw_Address := omit,
cg_Address := omit,
serving_Node_Type := omit,
sgw_Change := omit,
threeGPP_IMSI_MCC_MNC := omit,
imsi_Unauthenticated_Flag := omit,
threeGPP_GGSN_MCC_MNC := omit,
threeGPP_NSAPI := omit,
called_Station_Id := omit,
threeGPP_Session_Stop_Indicator := omit,
threeGPP_Selection_Mode := omit,
threeGPP_Charging_Characteristics := omit,
charging_Characteristics_Selection_Mode := omit,
threeGPP_SGSN_MCC_MNC := omit,
threeGPP_MS_TimeZone := omit,
charging_Rule_Base_Name := omit,
threeGPP_User_Location_Info := omit,
user_CSG_Information := omit,
threeGPP2_BSID := omit,
threeGPP_RAT_Type := omit,
ps_Furnish_Charging_Information := omit,
pdp_Context_Type := omit,
offline_Charging := omit,
traffic_Data_Volumes := omit,
service_Data_Container := omit,
user_Equipment_Info := omit,
terminal_Information := omit,
start_Time := omit,
stop_Time := omit,
change_Condition := omit,
diagnostics := omit,
low_Priority_Indicator := omit
} // End of template m_ps_Information_AVP_dummy
* @desc The IMS-Information AVP, Basic send template
* @see ETSI TS 132 299 V10.18.0 Clause 7.2.77 IMS-Information AVP
* @see ETSI TS 132 299 V10.18.0 Table 7.1: Use Of IETF Diameter AVPs
pintar
committed
template (omit) IMS_Information_AVP m_ims_Information(
in template (value) Node_Functionality_AVP p_node_Functionality
aVP_Header := m_aVP_HeaderVid_Mbit1(c_ims_Information_AVP_Code,
f_getByteAlignedLength(p_node_Functionality.aVP_Header.aVP_len),
c_vendId3gpp),
event_Type := omit,
role_Of_Node := omit,
node_Functionality := p_node_Functionality,
user_Session_Id := omit,
outgoing_Session_Id := omit,
session_Priority := omit,
calling_Party_Address := omit,
called_Party_Address := omit,
called_Asserted_Identity := omit,
number_Portability_Routing_Information := omit,
carrier_Select_Routing_Information := omit,
alternate_Charged_Party_Address := omit,
requested_Party_Address := omit,
associated_URI := omit,
time_Stamps := omit,
application_Server_Information := omit,
inter_Operator_Identifie := omit,
ims_Charging_Identifier := omit,
sdp_Session_Description := omit,
served_Party_IP_Address := omit,
server_Capabilities := omit,
bearer_Service := omit,
service_Id := omit,
service_Specific_Info := omit,
cause_Code := omit,
access_Network_Information := omit,
early_Media_Description := omit,
ims_Communication_Service_Identifier := omit,
online_Charging_Flag := omit,
real_Time_Tariff_Information := omit,
account_Expiration := omit,
initial_IMS_Charging_Identifier := omit,
ims_Emergency_Indicator := omit
} // End of template m_ims_Information_AVP
* @desc The Early-Media-Description AVP, Basic send template
*
* @see ETSI TS 132 299 V10.18.0 Clause 7.2.58 Early-Media-Description AVP
* @see ETSI TS 132 299 V10.18.0 Table 7.1: Use Of IETF Diameter AVPs
*/
template Early_Media_Description_AVP m_early_Media_Description_AVP_dummy := {
aVP_Header := m_aVP_HeaderVid_Mbit1(c_early_Media_Description_AVP_Code, 0, c_vendId3gpp),
sdp_TimeStamps := omit,
sdp_Media_Component := omit,
sdp_Session_Description := omit
} // End of template m_early_Media_Description_AVP_dummy
/**
* @desc The Service-Data-Container AVP, Basic send template
* @see ETSI TS 132 299 V10.18.0 Clause 7.2.189 Service-Data-Container AVP
* @see ETSI TS 132 299 V10.18.0 Table 7.2: 3GPP specific AVPs
*/
template (omit) Service_Data_Container_AVP m_service_Data_Container_AVP_dummy := {
aVP_Header := m_aVP_HeaderVid_Mbit1(c_service_Data_Container_AVP_Code, 0, c_vendId3gpp),
aF_Correlation_Information := omit,
charging_Rule_Base_Name := omit,
accounting_Input_Octets := omit,
accounting_Output_Octets := omit,
local_Sequence_Number := omit,
qos_Information := omit,
rating_Group := omit,
change_Time := omit,
service_Identifier := omit,
service_Specific_Info := omit,
SGSN_Address := omit,
time_First_Usage := omit,
time_Last_Usage := omit,
time_Usage := omit,
change_Condition := omit,
threeGPP_User_Location_Info := omit,
threeGPP2_BSID := omit,
user_CSG_Information := omit
} // End of template m_service_Data_Container_AVP_dummy
/**
* @desc The Online-Charging-Flag AVP, Basic send template
*
* @see ETSI TS 132 299 V10.18.0 Clause 7.2.164 Real-Time-Tariff-Information AVP
* @see ETSI TS 132 299 V10.18.0 Table 7.2: 3GPP specific AVPs
*/
template Real_Time_Tariff_Information_AVP m_real_Time_Tariff_Information_AVP_dummy := {
aVP_Header := m_aVP_HeaderVid_Mbit1(c_real_Time_Tariff_Information_AVP_Code, 0, c_vendId3gpp),
tariff_Information := omit,
tariff_XML := omit
} // End of template m_real_Time_Tariff_Information_AVP_dummy
} // End of group Rf_dummy_avps_templates_send
group Rf_dummy_avps_templates_receive {
/**
* @desc The SDP-Media-Component AVP, Basic receive template
*
* @see ETSI TS 132 299 V10.18.0 Clause 7.2.180 SDP-Media-Component AVP
* @see ETSI TS 132 299 V10.18.0 Table 7.1: Use Of IETF Diameter AVPs
*/
template SDP_Media_Component_AVP mw_sdp_Media_Component_AVP_dummy := {
aVP_Header := mw_aVP_HeaderVid_Mbit1(c_sdp_Media_Component_AVP_Code, ?, c_vendId3gpp),
sdp_Media_Name := *,
sdp_Media_Description := *,
local_GW_Inserted_Indication := *,
ip_Realm_Default_Indication := *,
transcoder_Inserted_Indication := *,
media_Initiator_Flag := *,
media_Initiator_Party := *,
threeGPP_Charging_Id := *,
access_Network_Charging_Identifier_Value := *,
sdp_Type := *
} // End of template mw_sdp_Media_Component_AVP_dummy
/**
* @desc The Trunk-Group-ID AVP, Basic receive template
*
* @see ETSI TS 132 299 V10.18.0 Clause 7.2.24 7.2.237 Trunk-Group-ID AVP
* @see ETSI TS 132 299 V10.18.0 Table 7.1: Use Of IETF Diameter AVPs
*/
template Trunk_Group_ID_AVP mw_trunk_Group_ID_AVP_dummy := {
aVP_Header := mw_aVP_HeaderVid_Mbit1(c_trunk_Group_ID_AVP_Code, ?, c_vendId3gpp),
incoming_Trunk_Group_ID := *,
outgoing_Trunk_Group_ID := *
} // End of template mw_trunk_Group_ID_AVP_dummy
/**
* @desc Service-Information AVP, Basic receive template
*
* @see ETSI TS 132 299 V10.18.0 Clause 7.2.192 Service-Information AVP
* @see ETSI TS 132 299 V10.18.0 Table 7.2: 3GPP specific AVPs
*/
template Service_Information_AVP mw_service_Information_AVP_dummy := {
aVP_Header := mw_aVP_HeaderVid_Mbit1(c_service_Information_AVP_Code, ?, c_vendId3gpp),
subscription_Id := *,
aoc_Information := *,
ps_Information := *,
wlan_Information := *,
ims_Information := *,
mms_Information := *,
lcs_Information := *,
poc_Information := *,
mbms_Information := *,
sms_Information := *,
mmtel_Information := *,
service_Generic_Information := *,
im_Information := *,
dcd_Information := *
} // End of template mw_service_Information_AVP_dummy
/**
* @desc PS-Information AVP, Basic receive template
*
* @see ETSI TS 132 299 V10.18.0 Clause 7.2.158 PS-Information AVP
* @see ETSI TS 132 299 V10.18.0 Table 7.2: 3GPP specific AVPs
*/
template PS_Information_AVP mw_ps_Information_AVP_dummy := {
aVP_Header := mw_aVP_HeaderVid_Mbit1(c_ps_Information_AVP_Code, ?, c_vendId3gpp),
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
threeGPP_Charging_Id := *,
pdn_Connection_Charging_ID := *,
node_Id := *,
threeGPP_PDP_Type := *,
pdp_Address := *,
pdp_Address_Prefix_Length := *,
dynamic_Address_Flag := *,
dynamic_Address_Flag_Extension := *,
qos_Information := *,
sgsn_Address := *,
ggsn_Address := *,
sgw_Address := *,
cg_Address := *,
serving_Node_Type := *,
sgw_Change := *,
threeGPP_IMSI_MCC_MNC := *,
imsi_Unauthenticated_Flag := *,
threeGPP_GGSN_MCC_MNC := *,
threeGPP_NSAPI := *,
called_Station_Id := *,
threeGPP_Session_Stop_Indicator := *,
threeGPP_Selection_Mode := *,
threeGPP_Charging_Characteristics := *,
charging_Characteristics_Selection_Mode := *,
threeGPP_SGSN_MCC_MNC := *,
threeGPP_MS_TimeZone := *,
charging_Rule_Base_Name := *,
threeGPP_User_Location_Info := *,
user_CSG_Information := *,
threeGPP2_BSID := *,
threeGPP_RAT_Type := *,
ps_Furnish_Charging_Information := *,
pdp_Context_Type := *,
offline_Charging := *,
traffic_Data_Volumes := *,
service_Data_Container := *,
user_Equipment_Info := *,
terminal_Information := *,
start_Time := *,
stop_Time := *,
change_Condition := *,
diagnostics := *,
low_Priority_Indicator := *
} // End of template mw_ps_Information_AVP_dummy
/**
* @desc The IMS-Information AVP, Basic receive template
* @see ETSI TS 132 299 V10.18.0 Clause 7.2.77 IMS-Information AVP
* @see ETSI TS 132 299 V10.18.0 Table 7.1: Use Of IETF Diameter AVPs
pintar
committed
template IMS_Information_AVP mw_ims_Information(
template (present) Node_Functionality_AVP p_node_Functionality := ?,
template Alternate_Charged_Party_Address_AVP p_alternate_Charged_Party_Address_AVP := *
) := {
aVP_Header := mw_aVP_HeaderVid_Mbit1(c_ims_Information_AVP_Code, ?, c_vendId3gpp),
event_Type := *,
role_Of_Node := *,
node_Functionality := p_node_Functionality,
user_Session_Id := *,
outgoing_Session_Id := *,
session_Priority := *,
calling_Party_Address := *,
called_Party_Address := *,
called_Asserted_Identity := *,
number_Portability_Routing_Information := *,
carrier_Select_Routing_Information := *,
alternate_Charged_Party_Address := p_alternate_Charged_Party_Address_AVP,
requested_Party_Address := *,
associated_URI := *,
time_Stamps := *,
application_Server_Information := *,
inter_Operator_Identifie := *,
ims_Charging_Identifier := *,
sdp_Session_Description := *,
served_Party_IP_Address := *,
server_Capabilities := *,
bearer_Service := *,
service_Id := *,
service_Specific_Info := *,
cause_Code := *,
access_Network_Information := *,
ims_Communication_Service_Identifier := *,
online_Charging_Flag := *,
real_Time_Tariff_Information := *,
account_Expiration := *,
initial_IMS_Charging_Identifier := *,
ims_Emergency_Indicator := *
pintar
committed
} // End of template mw_ims_Information
* @desc The Early-Media-Description AVP, Basic receive template
*
* @see ETSI TS 132 299 V10.18.0 Clause 7.2.58 Early-Media-Description AVP
* @see ETSI TS 132 299 V10.18.0 Table 7.1: Use Of IETF Diameter AVPs
*/
template Early_Media_Description_AVP mw_early_Media_Description_AVP_dummy := {
aVP_Header := mw_aVP_HeaderVid_Mbit1(c_early_Media_Description_AVP_Code, ?, c_vendId3gpp),
sdp_TimeStamps := omit,
sdp_Media_Component := omit,
sdp_Session_Description := omit
} // End of template mw_early_Media_Description_AVP_dummy
/**
* @desc The Service-Data-Container AVP, Basic receive template
* @see ETSI TS 132 299 V10.18.0 Clause 7.2.189 Service-Data-Container AVP
* @see ETSI TS 132 299 V10.18.0 Table 7.2: 3GPP specific AVPs
template Service_Data_Container_AVP mw_service_Data_Container_AVP_dummy := {
aVP_Header := mw_aVP_HeaderVid_Mbit1(c_service_Data_Container_AVP_Code, ?, c_vendId3gpp),
aF_Correlation_Information := *,
charging_Rule_Base_Name := *,
accounting_Input_Octets := *,
accounting_Output_Octets := *,
local_Sequence_Number := *,
qos_Information := *,
rating_Group := *,
change_Time := *,
service_Identifier := *,
service_Specific_Info := *,
SGSN_Address := *,
time_First_Usage := *,
time_Last_Usage := *,
time_Usage := *,
change_Condition := *,
threeGPP_User_Location_Info := *,
threeGPP2_BSID := *,
user_CSG_Information := *
} // End of template mw_service_Data_Container_AVP_dummy
/**
* @desc The Online-Charging-Flag AVP, Basic send template
*
* @see ETSI TS 132 299 V10.18.0 Clause 7.2.164 Real-Time-Tariff-Information AVP
* @see ETSI TS 132 299 V10.18.0 Table 7.2: 3GPP specific AVPs
*/
template Real_Time_Tariff_Information_AVP mw_real_Time_Tariff_Information_AVP_dummy := {
aVP_Header := mw_aVP_HeaderVid_Mbit1(c_real_Time_Tariff_Information_AVP_Code, ?, c_vendId3gpp),
tariff_Information := *,
tariff_XML := *
} // End of template mw_real_Time_Tariff_Information_AVP_dummy
} // End of group Rf_dummy_avps_templates_receive
group Rf_avps_templates_send {
/**
* @desc Service-Information AVP, send template
*
* @see ETSI TS 132 299 V10.18.0 Clause 7.2.192 Service-Information AVP
* @see ETSI TS 132 299 V10.18.0 Table 7.2: 3GPP specific AVPs
*/
template (omit) Service_Information_AVP m_service_Information(
in template (value) Subscription_Id_AVP p_subscription_Id,
in template (value) IMS_Information_AVP p_ims_Information,
in template (value) Service_Generic_Information_AVP p_service_Generic_Information
) modifies m_service_Information_AVP_dummy := {
aVP_Header := m_aVP_HeaderVid_Mbit1(c_service_Information_AVP_Code,
f_getByteAlignedLength(p_subscription_Id.aVP_Header.aVP_len) +
f_getByteAlignedLength(p_ims_Information.aVP_Header.aVP_len)+
f_getByteAlignedLength(p_service_Generic_Information.aVP_Header.aVP_len),
c_vendId3gpp),
subscription_Id := { p_subscription_Id },
ims_Information := p_ims_Information,
service_Generic_Information := p_service_Generic_Information
} // End of template m_service_Information
/**
* @desc Service-Information AVP, send template
*
* @see ETSI TS 132 299 V10.18.0 Clause 7.2.192 Service-Information AVP
* @see ETSI TS 132 299 V10.18.0 Table 7.2: 3GPP specific AVPs
*/
template (value) Service_Information_AVP m_Service_Information_RF_CDF_TC :=
m_service_Information(
m_subscription_Id(
m_subscription_Id_Type(END_USER_SIP_URI_E),
m_subscription_Id_Data("ETSI RFRO")
),
pintar
committed
m_ims_Information(
m_node_Functionality(MRFC_E)
pintar
committed
m_service_Generic_Information(
m_application_Server_ID("ETSI RFRO"),
m_application_Service_Type(INVITING_E),
m_application_Session_ID("Session0000"),
m_delivery_Status("INVITING")
* @desc Accounting-Record-Type AVP, send template
* @param p_aVP_Data Acc record type
*
* @see RFC3588 Clause 9.8.1 Accounting-Record-Type AVP
* @see ETSI TS 132 299 V10.18.0 Table 7.1: Use Of IETF Diameter AVPs
template (value) Accounting_Record_Type_AVP m_accounting_Record_Type(
in template (value) Acc_Record_Type p_aVP_Data
) modifies m_accounting_Record_Type_dummy := {
aVP_Data := p_aVP_Data
} // End of template m_accounting_Record_Type
* @desc Accounting-Record-Number AVP, send template
* @param p_aVP_Data Acc record type
*
* @see RFC3588 Clause 9.8.1 Accounting-Record-Number AVP
* @see ETSI TS 132 299 V10.18.0 Table 7.1: Use Of IETF Diameter AVPs
template (value) Accounting_Record_Number_AVP m_accounting_Record_Number(
in template (value) UInt32 p_aVP_Data
) modifies m_accounting_Record_Number_dummy := {
aVP_Data := p_aVP_Data
} // End of template m_accounting_Record__Number
/**
* @desc The Accounting-Input-Octets send template
* @param p_aVP_Data Number of octets transmitted during the data container recording interval, reflecting the volume counts for uplink traffic for a data flow
*
* @see ETSI TS 132 299 V10.18.0 Table 7.1: Use Of IETF Diameter AVPs
pintar
committed
template (value) Accounting_Input_Octets_AVP m_accounting_Input_Octets(
in template (value) UInt64 p_aVP_Data
aVP_Header := m_aVP_HeaderVid_Mbit1(c_accounting_Input_Octets_AVP_Code, 8),
pintar
committed
} // End of template m_accounting_Input_Octets
/**
* @desc The Accounting-Output-Octets send template
* @param p_aVP_Data Number of octets transmitted during the data container recording interval, reflecting the volume counts for downlink traffic for a data flow
*
* @see ETSI TS 132 299 V10.18.0 Table 7.1: Use Of IETF Diameter AVPs
pintar
committed
template (value) Accounting_Output_Octets_AVP m_accounting_Output_Octets(
in template (value) UInt64 p_aVP_Data
aVP_Header := m_aVP_HeaderVid_Mbit1(c_accounting_Output_Octets_AVP_Code, 8),
pintar
committed
} // End of template m_accounting_Output_Octets
/**
* @desc The Acct-Interim-Interval send template
* @param p_aVP_Data Indicates interval
*
* @see ETSI TS 132 299 V10.18.0 Table 7.1: Use Of IETF Diameter AVPs
*/
template (value) Acct_Interim_Interval_AVP m_acct_Interim_Interval(
in template (value) UInt32 p_aVP_Data
) := {
aVP_Header := m_aVP_HeaderVid_Mbit1(c_acct_Interim_Interval_AVP_Code, 4),
aVP_Data := p_aVP_Data
} // End of template m_acct_Interim_Interval
/**
* @desc The Event-Type send template
* @param p_sip_Method
* @param p_event
* @param p_aVP_Data
* @see ETSI TS 132 299 V10.18.0 Clause 7.2.65 Event-Type AVP
* @see ETSI TS 132 299 V10.18.0 Table 7.1: Use Of IETF Diameter AVPs
pintar
committed
template (omit) Event_Type_AVP m_event_Type(
in template (omit) SIP_Method_AVP p_sip_Method := omit,
in template (omit) Event_AVP p_event := omit,
in template (omit) Expires_AVP p_aVP_Data := omit
aVP_Header := m_aVP_HeaderVid_Mbit1(c_event_Type_AVP_Code,
f_getEventTypeAVPLength(p_sip_Method, p_event, p_aVP_Data),
c_vendId3gpp),
sip_Method := p_sip_Method,
event := p_event,
pintar
committed
} // End of template m_event_Type
/**
* @desc The Event send template
* @param p_aVP_Data Holds the content of the "Event" header
* @see ETSI TS 132 299 V10.18.0 Clause 7.2.63 Event AVP
* @see ETSI TS 132 299 V10.18.0 Table 7.1: Use Of IETF Diameter AVPs
pintar
committed
template (value) Event_AVP m_event(
in template (value) UTF8String p_aVP_Data
aVP_Header := m_aVP_HeaderVid_Mbit1(c_event_AVP_Code, f_getUTF8StringLength(valueof(p_aVP_Data)), c_vendId3gpp),
aVP_Data := p_aVP_Data
pintar
committed
} // End of template m_event
* @desc The Content-Type send template