EXAMPLE — CDR Configuration Questions for Adding AVPs
The CDR Converter module sends Credit-Control Request messages to the MATRIXX Engine, which sends Credit-Control Response messages in return. Any Diameter AVPs that are not part of the base MATRIXX Diameter Dictionary must be added and then mapped to corresponding MATRIXX Data Container (MDC) fields.
The following create_config.info questions and answers is an example of how to add the following AVPs to the MATRIXX Diameter Credit-Control message: SourcePlmn, UsageDirection, CallingTowerId, ConnectType, RecordType, TariffClass, UsageClass, ConnectSubType, WholesaleImpactCategory. After adding the AVPs to the Diameter Dictionary, you are asked to map them to MDC field names.
Do you want to add any Diameter AVPs (y/n)?y
Diameter: Do you want to add a new Vendor Id (y/n)?n
How many simple (non-grouped) Diameter AVPs do you want to add?9
Diameter:New AVP:1 What is the AVP's name?SourcePlmn
Diameter:New AVP:1 What is the AVP's code?260
Diameter:New AVP:1 What is the AVP's type?UTF8String
Diameter:New AVP:1 What is the AVP's vendorId name?MatrixxSoftware
Diameter:New AVP:2 What is the AVP's name?UsageDirection
Diameter:New AVP:2 What is the AVP's code?261
Diameter:New AVP:2 What is the AVP's type?UTF8String
Diameter:New AVP:2 What is the AVP's vendorId name?MatrixxSoftware
Diameter:New AVP:3 What is the AVP's name?CallingTowerId
Diameter:New AVP:3 What is the AVP's code?262
Diameter:New AVP:3 What is the AVP's type?Unsigned32
Diameter:New AVP:3 What is the AVP's vendorId name?MatrixxSoftware
Diameter:New AVP:4 What is the AVP's name?ConnectType
Diameter:New AVP:4 What is the AVP's code?263
Diameter:New AVP:4 What is the AVP's type?UTF8String
Diameter:New AVP:4 What is the AVP's vendorId name?MatrixxSoftware
Diameter:New AVP:5 What is the AVP's name?RecordType
Diameter:New AVP:5 What is the AVP's code?264
Diameter:New AVP:5 What is the AVP's type?Unsigned32
Diameter:New AVP:5 What is the AVP's vendorId name?MatrixxSoftware
Diameter:New AVP:6 What is the AVP's name?TariffClass
Diameter:New AVP:6 What is the AVP's code?265
Diameter:New AVP:6 What is the AVP's type?UTF8String
Diameter:New AVP:6 What is the AVP's vendorId name?MatrixxSoftware
Diameter:New AVP:7 What is the AVP's name?UsageClass
Diameter:New AVP:7 What is the AVP's code?266
Diameter:New AVP:7 What is the AVP's type?UTF8String
Diameter:New AVP:7 What is the AVP's vendorId name?MatrixxSoftware
Diameter:New AVP:8 What is the AVP's name?ConnectSubType
Diameter:New AVP:8 What is the AVP's code?267
Diameter:New AVP:8 What is the AVP's type?UTF8String
Diameter:New AVP:8 What is the AVP's vendorId name?MatrixxSoftware
Diameter:New AVP:9 What is the AVP's name?WholesaleImpactCategory
Diameter:New AVP:9 What is the AVP's code?268
Diameter:New AVP:9 What is the AVP's type?UTF8String
Diameter:New AVP:9 What is the AVP's vendorId name?MatrixxSoftware
Do you want to add any Diameter AVPs to the defined packets (y/n)?y
Diameter: How many Diameter AVPs do you want to add to the AA Request packet?0
Diameter: How many Diameter AVPs do you want to add to the AA Answer packet?0
Diameter: How many Diameter AVPs do you want to add to the Accounting Request packet?0
Diameter: How many Diameter AVPs do you want to add to the Accounting Answer packet?0
Diameter: How many Diameter AVPs do you want to add to the Credit-Control Request packet?9
Diameter:New Credit-Control Request AVP:1 What is the AVP's name?SourcePlmn
Diameter:New Credit-Control Request AVP:1 What is the MDC's field name?SourcePlmn
Diameter:New Credit-Control Request AVP:2 What is the AVP's name?UsageDirection
Diameter:New Credit-Control Request AVP:2 What is the MDC's field name?UsageDirection
Diameter:New Credit-Control Request AVP:3 What is the AVP's name?CallingTowerId
Diameter:New Credit-Control Request AVP:3 What is the MDC's field name?CallingTowerId
Diameter:New Credit-Control Request AVP:4 What is the AVP's name?ConnectType
Diameter:New Credit-Control Request AVP:4 What is the MDC's field name?ConnectType
Diameter:New Credit-Control Request AVP:5 What is the AVP's name?RecordType
Diameter:New Credit-Control Request AVP:5 What is the MDC's field name?RecordType
Diameter:New Credit-Control Request AVP:6 What is the AVP's name?TariffClass
Diameter:New Credit-Control Request AVP:6 What is the MDC's field name?TariffClass
Diameter:New Credit-Control Request AVP:7 What is the AVP's name?UsageClass
Diameter:New Credit-Control Request AVP:7 What is the MDC's field name?UsageClass
Diameter:New Credit-Control Request AVP:8 What is the AVP's name?ConnectSubType
Diameter:New Credit-Control Request AVP:8 What is the MDC's field name?ConnectSubType
Diameter:New Credit-Control Request AVP:9 What is the AVP's name?WholesaleImpactCategory
Diameter:New Credit-Control Request AVP:9 What is the MDC's field name?WholesaleImpactCategory
Diameter: How many Diameter AVPs do you want to add to the Credit-Control Answer packet?1
Diameter:New Credit-Control Request AVP:1 What is the AVP's name?CallingTowerId
Diameter:New Credit-Control Request AVP:1 What is the MDC's field name?CallingTowerId