Selective Updates for Login Devices

For login devices identified by an Diameter Session Initiation Protocol Uniform Resource Identifier (SIP URI), a Network Access Identifier (NAI), or a PrivateId, you must configure selective updates to map the device identifier string sent in the Diameter Subscription-Id AVP > Subscription-Id-Type to LoginId or AccessId in MtxDiamSubscriberMsg.

MtxDiamSubscriberMsg Fields lists the MtxDiamSubscriberMsg fields populated by the Subscription-Id-Type AVP values.
Table 1. MtxDiamSubscriberMsg Fields
MtxDiamSubscriberMsg Field Subscription-Id-Type
SipUri 2 — END_USER_SIP_URI
Nai 3 — END_USER_NAI
PrivateId 4 — END_USER_PRIVATE

The Charging Server uses the LoginId and AccessId fields for login device identification. You must use selective updates to copy values from the MtxDiamSubscriberMsg subscription ID type fields (SipUri, Nai, PrivateId) to the MtxDiamSubscriberMsg LoginId and AccessId fields. If values for both are present, the answer to the following engine configuration question determines which value is used for device identification: What field should be used to locate the login device if both the LoginId and AccessId are present?.

The default field is LoginId.

The selective update must be on the Charging Server's input interface.

In the following example, the selective update looks in MtxDiamSubscriberMsg for SipUri and Nai and, if found, copies the field values to the LoginId and AccessId fields respectively.
Do you want to define any selective-updates on the Charging Server's input interface (y/n)?y
SelectiveUpdate:ChargingServer:Input:What are the element IDs?1001;1002
SelectiveUpdate:ChargingServer:Input:Element 1001:Enter an optional description of what this element is doing?copy SipUri to LoginId
SelectiveUpdate:ChargingServer:Input:Element 1001:What is the container's name?MtxDiamSubscriberMsg
SelectiveUpdate:ChargingServer:Input:Element 1001:What are the selection key IDs?1
SelectiveUpdate:ChargingServer:Input:Element 1001:SelectionKey 1:What method do you want to perform?is_present
SelectiveUpdate:ChargingServer:Input:Element 1001:SelectionKey 1:What is the sequence's name?
SelectiveUpdate:ChargingServer:Input:Element 1001:SelectionKey 1:What is the field's name?main:SipUri
SelectiveUpdate:ChargingServer:Input:Element 1001:How many operations do you want to enter?1
SelectiveUpdate:ChargingServer:Input:Element 1001:Operation 1:What operation do you want to perform?copy_field
SelectiveUpdate:ChargingServer:Input:Element 1001:Operation 1:CopyField:What is the destination field's name?main:LoginId
SelectiveUpdate:ChargingServer:Input:Element 1001:Operation 1:CopyField:What is the source field's name?main:SipUri
SelectiveUpdate:ChargingServer:Input:Element 1002:Enter an optional description of what this element is doing?copy NAI to AccessId
SelectiveUpdate:ChargingServer:Input:Element 1002:What is the container's name?MtxDiamSubscriberMsg
SelectiveUpdate:ChargingServer:Input:Element 1002:What are the selection key IDs?1
SelectiveUpdate:ChargingServer:Input:Element 1002:SelectionKey 1:What method do you want to perform?is_present
SelectiveUpdate:ChargingServer:Input:Element 1002:SelectionKey 1:What is the sequence's name?
SelectiveUpdate:ChargingServer:Input:Element 1002:SelectionKey 1:What is the field's name?main:Nai
SelectiveUpdate:ChargingServer:Input:Element 1002:How many operations do you want to enter?1
SelectiveUpdate:ChargingServer:Input:Element 1002:Operation 1:What operation do you want to perform?copy_field
SelectiveUpdate:ChargingServer:Input:Element 1002:Operation 1:CopyField:What is the destination field's name?main:AccessId
SelectiveUpdate:ChargingServer:Input:Element 1002:Operation 1:CopyField:What is the source field's name?main:Nai

For more information about selective updates, see MATRIXX Integration.