Ascend Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: (ASCEND) Client-Port-DNIS
On Mon, 11 Aug 1997, Phillip Vandry wrote:
> > > When a MAX logs a RADIUS accounting record, there is a Client-Port-DNIS
> > > attribute that indicates what phone number the user called.
> > >
> > > Is there any way to query this information for current calls? I want to
> > > see a list of users logged in with the Client-Port-DNIS that they called.
> >
> > Guess no :-(. The only place I found the calling/CalledPartyID is in
> > the event mib. I.E you will have to do external housekeeping and
> > correlate the number and user via CallReferenceNum on your own.
>
> I really need that info and anticipated the "No" answer. So I wrote some
> code to do external housekeeping using RADIUS accounting (patches to
> the radius daemon).
RadiusNT wouldn't require any program patching. We do stuff
like this all the time. The calls table is dynamic to RadiusNT
and it will retain information for any matching attributes.
Therefore, just adding Client-Port-DNIS to the calls table
would allow the collection of the information into the database.
You could also update the trigger to store DNIS information
in the on-line view, similarly to how the Connect-Info is
currently displayed. Then just make a query like:
Select Client-Port-DNIS, Count(*)
From Calls
Where AcctStatusType=1
Group By Client-Port-DNIS
Order By Client-Port-DNIS
Reports are really easy from that point. :)
Dale
++ Ascend Users Mailing List ++
To unsubscribe: send unsubscribe to ascend-users-request@bungi.com
To get FAQ'd: <http://www.nealis.net/ascend/faq>
References: