(RADIATOR) Add Called-Station-Id into accounting stop packet

Steve Rogers steve.rogers at icl.net
Thu Apr 18 05:16:22 CDT 2002


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.open.com.au/pipermail/radiator/attachments/20020418/708fd661/attachment.html>


More information about the radiator mailing list