4.6.10. GetSessionColumnDef Previous topic Parent topic Child topic Next topic

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

Table 9. Session information fetched from the RxSession

Name Description
id Index or other identifier that uniquely identifies this session in this table
start_time Unix timestamp of the session start
alive_time Unix timestamp of the last update for this session
stop_time Unix timestamp of the session end
subscription_id Index of subscriber information table for this subscriber
session_id Session-Id for this Rx session
imsi IMSI for the subscriber
nai NAI for the subscriber
e164 E.164 formatted telephone number for the subscriber
sip_uri SIP URI for the subscriber
origin_host Origin-Host value for this Rx session
origin_realm Origin-Realm value for this Rx session
framed_ip_address Framed-IP-Address for this Rx session
framed_ipv6_prefix Framed-IPv6-Prefix for this Rx session