Configuring the Rf Application
The Rf API is packaged as a Diameter application similar to the Sh application used for managing profile data. The Rf Diameter API can be configured and enabled by editing the Diameter configuration file located in Domain_Home/config/custom/diameter.xml, or by using the Diameter console extension. Additionally, configuration of both the CDF realm and host can be specified using the cdf.realm and cdf.host initialization parameters to the Diameter Rf application.
Example 3-3 shows a sample excerpt from diameter.xml that enables Rf with a CDF realm of "example.com" and host "cdf.example.com:"
Example 3-3 Sample Rf Application Configuration (diameter.xml)
<application>
<name>rfcharging</name>
<class-name>com.bea.wcp.diameter.charging.RfApplication</class-name>
<param>
<name>cdf.realm</name>
<value>example.com</value>
</param>
<param>
<name>cdf.host</name>
<value>cdf.example.com</value>
</param>
</application>
Because the RfApplication uses the Diameter base accounting messages, its Diameter application id is 3 and there is no vendor ID.