Hi,
 
We have Radiator doing proxy radius and inserting Called-Station-Id into the access-request as no Called-Station-Id is set in the initial access-request.
 
We need to add Called-Station-Id into an accounting stop packet for billing purposes. What is the best way to achieve this? Config below:
 
<AddressAllocator SQL>
        Identifier      bbAllocator
        DBSource        dbi:mysql:Radiator
        DBUsername    xxxx
        <AddressPool bbPool >
                Subnetmask      255.255.255.255
                Range   10.6.4.200 10.6.4.225
        </AddressPool>
</AddressAllocator>
 
<Handler Realm=xxxxxxx>
        PreAuthHook file:called-station-bb.hook
        RewriteUsername s/^([^@]+).*/$1/
        AcctLogFileName %L/%Y%m%d-1.log
        AuthByPolicy ContinueWhileAccept
        <AuthBy RADIUS>
                Synchronous
                Host    x.x.x.x
                Secret  xxxxxxxx
                AuthPort        xxxx
                AcctPort        xxxx
                StripFromReply  Framed-IP-Address, Huntgroup-Name
        </AuthBy>
        <AuthBy DYNADDRESS>
                Allocator       bbAllocator
                PoolHint        bbPool
        </AuthBy>
</Handler>
 
Thanks
Steve

Reply via email to