4.6.17. GxRuleColumnDef Previous topic Parent topic Child topic Next topic

GxRuleColumnDef allows you to define the way Radiator interprets the result of the GxRuleSelect statement.
You can specify any number of GxRuleColumnDef parameters, one for each interesting field returned by GxRuleSelect. The general format is:
GxRuleColumnDef n, dataitem
  • n is the index of the field in the result of GxRuleSelect. 0 is the first field.
  • dataitem is the name of a entry in the Gx PCC rule information
The Gx PCC rule information entries required by the modules shipped with Radiator policy and charging support use the following information:

Table 10. Gx PCC rule information for AF flows fetched from the database

Name Description
id Index or other identifier that uniquely identifies this rule in the table
start_time Unix timestamp of the rule creation
rx_session_id Session-Id of Rx session for which the rule was created for
gx_session_id Session-Id of Gx session for which the rule belongs to
rule_name Name of the Gx PCC rule installed in the PCEF
sip_uri SIP_URI of the subscriber the rule was created for as reported over Rx