(RADIATOR) Store duration of the calls using OpenH323 gk, RADIATOR and MySQL
Hugh Irvine
hugh at open.com.au
Tue Jun 22 00:41:35 CDT 2004
Hello Alex -
This has been discussed on the mailing list before and there was some
hook code contributed to parse the attributes.
Have a look at the mailing list archive:
www.open.com.au/archives/radiator
regards
Hugh
On 21 Jun 2004, at 20:22, Lopez, A. wrote:
> Hello all,
>
> I am using Radiator and MySQL to store accouting information of the
> calls registered through the OpenH323 Gatekeeper.
>
> In order to compute the duration of a call I see the following
> attributes:
>
> - cisco-h323-connect-time = “h323-connect-time = hh:mm:ss.mmm ZON DDD
> MMM ## YYYY”
>
> - cisco-h323-disconnect-time = “h323-disconnect-time = hh:mm:ss.mmm
> ZON DDD MMM ## YYYY”
>
> Since those attributes have a ‘strange’ format I would like to know if
> there is an easy way to manipulate them so that the total duration of
> the call can be automatically computed and stored in MySQL, while the
> date and time of the connect and disconnect events are stored
> separately.
>
> Can anybody point me in the right direction to achieve this goal?
>
> Thanks very much in advance.
>
> Alex
>
>
>
>
>
NB: have you included a copy of your configuration file (no secrets),
together with a trace 4 debug showing what is happening?
--
Radiator: the most portable, flexible and configurable RADIUS server
anywhere. Available on *NIX, *BSD, Windows, MacOS X.
-
Nets: internetwork inventory and management - graphical, extensible,
flexible with hardware, software, platform and database independence.
-
CATool: Private Certificate Authority for Unix and Unix-like systems.
--
Archive at http://www.open.com.au/archives/radiator/
Announcements on radiator-announce at open.com.au
To unsubscribe, email 'majordomo at open.com.au' with
'unsubscribe radiator' in the body of the message.
More information about the radiator
mailing list