show Calling-Station-Id on RADIUS reports (as a MAC address w/vendor), RT#29154
authorIvan Kohler <ivan@freeside.biz>
Sat, 6 Sep 2014 00:19:25 +0000 (17:19 -0700)
committerIvan Kohler <ivan@freeside.biz>
Sat, 6 Sep 2014 00:19:25 +0000 (17:19 -0700)
FS/FS/part_export/sqlradius.pm

index 7ec869c..5a8da7b 100644 (file)
@@ -649,6 +649,8 @@ Returns an arrayref of hashrefs with the following fields:
 
 =item acctoutputoctets
 
+=item callingstationid
+
 =item calledstationid
 
 =back
@@ -692,7 +694,7 @@ sub usage_sessions {
   my @fields = (
                  qw( username realm framedipaddress
                      acctsessiontime acctinputoctets acctoutputoctets
-                     calledstationid
+                     callingstationid calledstationid
                    ),
                  "$str2time acctstarttime ) as acctstarttime",
                  "$str2time acctstoptime ) as acctstoptime",