Copy an AVP Field Value to an MDC Field
Perform this task to copy an AVP field value to a field in the
MtxDiamRoMsg
MDC or any custom MDC that is based off of an MDC that
exists in the Diameter dictionary.
About this task
Perform this task on a processing server in the standby cluster.
Procedure
Use a configuration source to create a diameter_dictionary_base_xml_sed.extra file with the following content:
/<!-- extra Packet Name copy_mdc_field lines go here -->/a\<copy_mdc_field name="DestinationFieldName" source_name="SourceFieldName"/>\
Where: - Packet Name is the name of the Diameter packet (such as Accounting Request).
- AvpFieldname is the name of the MDC field currently mapped to the AVP.
- fieldName is the name of the MDC field to which the AVP field currently maps.
- DestinationFieldName is the name of the different MDC field to map the AVP to.
- SourceFieldName is the name of the MDC field representing the AVP value.
For example:
/<!-- extra Credit-Control Request copy_mdc_field lines go here -->/a\<copy_mdc_field name="TrainingDiamFld2" source_name="main.ServiceInfo.DiamPsInfo.TgppSgsnMccMnc"/>\
Important: The comment between <!-- and --> must be the identical to the comment in the diameter_dictionary.xml file.
For more information about configuration using a configuration source, see the
discussion about configuration sources in MATRIXX Configuration.What to do next
If the engine is not in production and is not online, follow the procedure for configuring the primary engine. If the engine is in production and is online, follow the procedure for changing the configuration of an online system.