> is there a way to count the telephone units so I can calculate the costs
> if the portmaster calls an user? Neither in the raduis log nor in the
> syslog I found anything.
The PM will log when a call starts and ends. You need to ensure that you
are logging user-logins by doing a
"show syslog"
and maybe a
"set syslog user-logins <facility>.<priority>"
to define how they are logged.
You will also have to ensure that your syslog config. file contains rules
to log these messages, it is probable that by default they are just
dropped. If you select a unique <facility>.<priority> pair you can log the
calls to their own file rather than getting this information mixed up with
other syslog info.
Then all(!) you need to do is parse the file to get when they occurred and
their length, apply whatever complex pricing rules your Telco imposes and
you have your answer.
Regards:
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Martin Oakes martin@knowware.co.uk
KnowWare (UK) Ltd. http://www.knowware.co.uk/
1, Glentworth Road, Redland, Bristol BS6 7EQ
Sales Tel: (0117) 904 7763 Fax: (0117) 923 2219
Support Tel: (01684) 290328 / (01252) 734023 Fax: (01684) 290284
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-
To unsubscribe, email 'majordomo@livingston.com' with
'unsubscribe portmaster-users' in the body of the message.
Searchable list archive: <URL:http://www.livingston.com/Tech/archive/>