Escolar Documentos
Profissional Documentos
Cultura Documentos
SUBSECTION 1
account
Ed.01
A L C T E L
Subsection 1 - account
SUMMARY
account
Use................................................................................................................... 1. 3
1. “account” commands............................................................................. 1. 3
44A01E05002A130AAEN
account
Use
Edition: 01
1. “account” commands
1.1. Overview
The account command allows the different options to be viewed.
(0)a4400a> account
Use : account [option]
ascii
Accounting files.
compress
To run a compression.
counters
account counters for more details.
dbaccess
Return the data base access right.
duration
Duration accounting metering.
external
External accounting traces via CMIS/CMIP.
freport
Financial report traces.
help
This help.
mao
Management files.
off
Disable database access for accounting.
on
Enable database access for accounting.
save
To save the tickets in files/database.
(0)a4400a>
Options available:
- ascii : gives traces of compressed files generated for external accounting (see § 1.2 : “account
ascii’’ command ),
- compress : includes the ’save’ option and forces compression of the current ascii file (see § 1.3
: “account compress” command ),
- counters : gives the charge units of user counters in memory (see § 1.4 : "account counters"
command ), and allows itemized consultation of counters and also allows them to be reset,
- dbaccess : gives the state ("on’’ or “off’’) of access rights to hard disk backup for accounting
(see § 1.5 : “account dbaccess” command ),
- duration : measures units used for a call or series of calls by using call parameters (called
number, call date and duration) and by using the duration accounting algorithm. This application
allows a client’s call to be cut off (in the case of the hotel application) as soon as the amount of
his/her deposit becomes zero.
- freport : gives daily traces of financial report operations (see § 1.6 : "account freport" command ),
- mao : allows management files over the last 90 days to be displayed. Each file is completed with:
• file date,
• file name,
• the date of the first and last ticket stored in the file,
• the number of tickets stored in the file.
- off : denies (bars) access to the accounting data base (see § 1.7 : "account off’’ command ),
- on : authorizes access to the accounting data base (see § 1.8 : "account on" command ),
- save : allows internal accounting tickets contained in the buffer to be backed up on the hard
disk (see § 1.9 : "account save" command ).
Note: The "account" command only requires the initial letter of the following option(s). If several
options have the same initial, you must specify enough initial letters to differentiate them. If there
is any ambiguity, the "help" menu is displayed. Thus, 3 letters are necessary to distinguish between
the ’counters’ and ’compress’ options.
-------------------------------------------------------------------------------
| | | | |Number |Charge|
|Date |File name |First ticket date|Last ticket date |tickets|units |
-------------------------------------------------------------------------------
|95/06/23 18:58|TAXAAAAA.DAT|95/06/23 18:55:40|95/06/23 19:01:13| 5 | 3 |
|95/06/23 19:01|TAXAAAAB.DAT|95/06/23 19:01:36|95/06/23 19:03:13| 10 | 10 |
|95/06/23 19:03|TAXAAAAC.DAT|95/06/23 19:03:24|95/06/23 19:05:04| 10 | 10 |
|95/06/23 19:05|TAXAAAAD.DAT|95/06/23 19:05:15|95/06/23 19:06:59| 10 | 10 |
|95/06/23 19:07|TAXAAAAE.DAT|95/06/23 19:07:10|95/06/23 19:09:44| 15 | 15 |
|95/06/23 19:09|TAXAAAAF.DAT|95/06/23 19:09:55|95/06/23 19:11:33| 10 | 10 |
|95/06/23 19:11|TAXAAAAG.DAT|95/06/23 19:11:44|95/06/23 19:13:56| 13 | 13 |
|95/06/23 19:13|TAXAAAAH.DAT|95/06/23 19:14:19|95/06/23 19:15:02| 5 | 5 |
|95/06/23 19:25|TAXAAAAI.DAT|95/06/23 19:26:21|95/06/23 19:28:14| 20 | 20 |
|95/06/23 19:28|TAXAAAAJ.DAT|95/06/23 19:28:20|95/06/23 19:30:16| 20 | 20 |
-------------------------------------------------------------------------------
(0)a4400a>
Information described:
- First and last ticket dates : the date of the first and last ticket stored in the file,
- Charge Units: total number of charge units concerning all tickets in the file.
Note: The “account ascii file ’’ command only take files on the hard disk into account.
Use :
account counters action range
action
list display the subscribers counters.
reset delete the administrative subscribers counters.
range
all all the subscribers.
number number can be a subscriber number.
number can be an imcomplete subscriber number
containing wildcards (*, ?).
In this case, number must be surrounded by
the characters ’ or ".
others options available if action = list:
admin list all the administrative subscribers counters.
room list all the room subscribers counters.
client list all the client subscribers counters.
booth list all the booth subscribers counters.
Example
a phone number beginning with the digits 32, the command is:
the command is:
(0)a4400a>
Only the initial letter of fields is required. Thus ’l ’, ’li ’ and ’lis ’ will always be interpreted as the "
list " option.
1.4.3. Examples
(0)a4400a>
(0)a4400a>
- all: displays a summary for each type of subscriber (administrative, room, client and booth)
and is as shown in the following example. This example shows a situation where there are
5 administrative subscribers, 5 room subscribers and no client subscribers. The date on the
administrative line is the date of the last overall reset. This can also be performed from the
attendant set.
(0)a4400a> account count list all
------------------------------------------------------------------------
|SUBSCRIBERS|NUMBERS | CALLS |CH. UNITS | COST | RESET DATE |
-----------------------------------------------------------------------
| Admin. | 5 | 10 | 10 | 7.40 |1996/05/02 15:21:16 |
------------------------------------------------------------------------
| Room | 5 | 4 | 4 | 22.00 | |
| | | | 6 | | |
| | | | 2 | | |
------------------------------------------------------------------------
| Client | 0 | 0 | 0 | 0.00 | |
| | | | 0 | | |
| | | | 0 | | |
------------------------------------------------------------------------
| Booth | 3 | 1 | 2 | 2.00 | |
| | | | 0 | | |
| | | | 0 | | |
------------------------------------------------------------------------
(0)a4400a>
An "admin " subscriber counter can be reset with the "account counters reset " command or
from the attendant set.
For a room or client subscriber ("room " or "client "), the last reset date is that of his/her check-in.
For booth sets, the reset date is that of the last ticket allocated to a client or a room. If booth set
communications, "booth ", are correctly managed, their counters should be at zero, otherwise this
means that some tickets have not been allocated to a client or room subscriber .
(0)a4400a> account counters list booth
------------------------------------------------------------------------
|SUBSCRIBERS|NUMBERS | CALLS |CH. UNITS | COST | RESET DATE |
-----------------------------------------------------------------------
| Booth | 3 | 1 | 2 | 2.00 | |
| | | | 0 | | |
| | | | 0 | | |
| 31021 | 1 | 1 | 2 | 2.00 |1996/04/29 12:06:16 |
| | | | 0 | | |
| | | | 0 | | |
------------------------------------------------------------------------
(0)a4400a> account counters list admin
------------------------------------------------------------------------
|SUBSCRIBERS|NUMBERS | CALLS |CH. UNITS | COST | RESET DATE |
-----------------------------------------------------------------------
| Admin | 2 | 4 | 4 | 2.96 |1996/05/02 15:21:16 |
| 3000 | 1 | 2 | 2 | 1.48 |1996/05/02 15:21:57 |
| 3001 | 1 | 2 | 2 | 1.48 |1996/05/02 15:21:44 |
------------------------------------------------------------------------
(0)a4400a>
- Jokers: The following example shows how to get all subscribers whose numbers correspond to
the string ’3*1’, which designates all those starting with a ’3’ and ending with a ’1’.
(0)a4400a> account coun list ’3*1’
-----------------------------------------------------------------------
|SUBSCRIBERS| NUMBERS | CALLS |CH. UNITS | COST | RESET DATE |
-----------------------------------------------------------------------
| Admin | 2 | 2 | 2 | 1.48 |1996/05/02 15:21:16 |
| 30001 | 1 | 2 | 2 | 1.48 |1996/05/02 15:21:44 |
| 30011 | 1 | 0 | 0 | 0.00 |1996/05/02 15:21:44 |
------------------------------------------------------------------------
| Room | 2 | 1 | 1 | 5.00 | |
| | | | 2 | | |
| | | | 0 | | |
| 31001 | 1 | 1 | 1 | 5.00 |1996/04/29 12:01:13 |
| | | | 2 | | |
| | | | 0 | | |
| 31011 | 1 | 0 | 0 | 0.00 |1996/04/29 11:25:37 |
| | | | 0 | | |
| | | | 0 | | |
------------------------------------------------------------------------
| Booth | 1 | 1 | 2 | 2.00 | |
| | | | 0 | | |
| | | | 0 | | |
| 31021 | 1 | 1 | 2 | 2.00 |1996/04/29 12:06:46 |
| | | | 0 | | |
| | | | 0 | | |
------------------------------------------------------------------------
(0)a4400a>
------------------------------------------------------------------------------
| |First |Periodticket|Day ticket|Charge|
|Date |Period |execut. |read |del |read |del |Units|
------------------------------------------------------------------------------
|95/07/18 01:32:20|95/07/01 95/08/01|95/07/01| 250| 245| 50| 45| 120|
|95/07/19 01:31:21|95/07/01 95/08/01|95/07/01| 350| 345| 150| 100| 247|
|95/07/20 01:33:43|95/07/01 95/08/01|95/07/01| 500| 485| 150| 140| 328|
------------------------------------------------------------------------------
(0)a4400a>
Information described:
- Period tickets: number of tickets read and deleted for the current period of the financial report,
- Day ticket: number of tickets read and deleted on execution for the day,
- Charge Units: number of charge units concerning deleted tickets for the day.
The "account off ’’ command denies access to the data base for accounting ticket backup for the
system. In this case, the tickets are stored in the accounting buffer until it is full. After this, new tickets
are lost.
This command is to be used with care and in highly specific conditions. It must be rapidly followed by
the "account on ’’ command as tickets could be lost at storing.
The "account on’’ command authorizes access to the data base for accounting ticket backup for the
system.
(0)a4400a> account on
ACCOUNTING was off - > ACCOUNTING is on.
(0)a4400a>
The "account save ’’ command forces emptying of the accounting application backup buffer if ticket
backup on disk is available.
The "account -v ’’ command displays on-screen all accounting management parameters contained
in memory (system management).
The "account -m ’’ command displays on-screen all management parameters concerning monitoring
contained in memory (system management).