6.4.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 subscriber information entries required by the modules shipped with Radiator policy and charging support use the following information:

Table 15. Session information fetched from the GySession

Name Description
id Index or other identifier that uniquely identifies this session in the Gy Session
start_time Unix timestamp for the session start
reserved_quota Quota currently reserved for this session
subscription_id Value of id identifying the subscriber as fetched by OCSDB
session_id Session-Id for this Gy session
imsi IMSI for the subscriber
nai NAI for the subscriber
e164 E.164 formatted telephone number for the subscriber