Avocent Cyclades ACS Command Reference Manual page 151

Advanced console server
Table of Contents

Advertisement

Billing
The ACS console server family of products may be used as an intermediate buffer to collect serial
data (like billing tickets from a PBX), making them available for a posterior file transfer. Different
ports may have simultaneous billing sessions.
General feature description
The ACS console server reads the serial port and saves the information to Ramdisk files, which is
limited to the maximum number of records per file. After the files are closed, they are available for
transfer at /var/run/DB or an alternate path defined by the user in the pslave.conf file.
Once the cy_ras program detects the protocol as billing, it starts the billing application. The billing
application then opens the port (as configured in pslave.conf) and starts reading it. Records
terminated by billing_eor string are expected to be received. The ACS console server doesn't
change the termination method, transferring the same sequence to the file. The name of the
temporary file used to write these records is,
cycXXXXX-YYMMDD.hhmmss.tmp
- where -
XXXXX is the "hostname" or "alias"
YYMMDD is the year/month/day
hhmmss is the hour:min:sec
This name helps the user archive and browse their directory as the file may be chronologically
listed, not based on its creation or modification times, but based on when its contents were
recorded. Also, whenever hostname is not significant, the user may use the alias name (s1.alias in
pslave.conf) to match their actual plant (like PABX-trunk9). The temporary file described
previously is closed and renamed to cycXXXXX-YYMMDD.hhmmss.txt and a new temporary file
is opened when,
the maximum number of records specified by billing_records is reached
the lifetime specified by billing_timeout finishes
If no record is received within a file lifetime period, no file is saved.
NOTE: A zero-value for billing_record stops the application and a zero-value for billing_timeout means no
timeout is desired. The file is closed after billing_records are received.
Appendices
137

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents