Service manual
128 Cyclades ACS 5000 Advanced Console Server Command Reference Guide
To configure billing:
1. Open the /etc/portslave/pslave.conf file and configure the following parameter according to
your application.
all.protocol - billing
2. In the data buffering section of pslave.conf file configure the following parameters.
all.billing_records - 50
all.billing_timeout - 60 min
all.billing_eor - "\n"
NOTE: The values presented implement the billing feature for all ports of the product. If the configuration for a
specific port is required, all related parameters beginning with all must be changed to S.x, where x is the number
of the port to be configured.
Disk space issue
It is important to note that there is protection against disk space problems. If you configure flow
control to hardware for the serial port (all.flow = hard in the pslave.conf file), the application
monitors the available disk space and if it is less than 100 Kb, the serial interface deactivates RTS
signal on the RS-232. RTS is reactivated once the disk free space is greater than 120 Kb.
Billing wizard
This feature improves the billing application by using a script and automating the upload of the
billing records files from the console server to a remote server using FTP or SSH.
config_billing.sh script
The config_billing.sh script is used to configure a serial port for billing protocol, and configure
upload scripts using FTP or SSH. The config_billing.sh script configures the files
/etc/billing_up.conf /etc/billing_crontab, and /etc/crontab_files.
Usage: config_billing.sh [X] [options]
X is the port number to be configured
[options]
-s speed
-d data size
-b stopbit
-p parity
-r billing records
-e billing EOR (this parameter must be on " ", like "\n")
-D billing dir
-S serverFar
-t date