Ericsson LBI-39001 Manual do Utilizador Página 21

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 96
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 20
CONFIGURATION FILES LBI-39040
21
4.2. ALLOW.DAT (TOLL CALL RESTRICTION)
Call restrictions are stored in two different files which are read upon startup of the PI: ALLOW.DAT and
DISALLOW.DAT. ALLOW.DAT and DISALLOW.DAT may be viewed and updated with the callres command. Please
refer to the callres command in section 6 for more details on file syntax.
The allow file contains a table of phone numbers, each of which is followed by a field of 15 (0-14) Yes/No entries that
define whether the number is allowed to be called by the class.
Class 15 is permitted to call any number, so there is no Y/N listing for the class in the allow file.
Y Means the call is permitted for a particular class.
N Means the call is denied in this instance, but it may be allowed later in the table.
The permission table (once it has been read in from a file and stored in the PI) works as follows when a call is placed:
While NOT End Of Allow Table
{
if (
called
phone number = = Allow Number in table)
If there is a
Y
under the user's class in the table then the call is permitted.
The disallow table must now be checked to see if the number is one of the disallow entries (e.g.,
1-900 numbers).
else
go to the next entry in the list and continue to search for matching phone numbers.
else
go to the next entry in the table.
}
The entire table is searched until no more matching entries are found. If no match is found when the end of the table is
reached, then the call is disallowed.
Table 14 - Sample Entries in the Allow Table
As an example, a user in class 14 makes a “911” call. The search finds a match at entry “9*”. Since “911” matches “9*”
for Class 14, the table search returns “allowed” and the call is allowed. Users in class 14 can make any calls starting with a
“9”.
Suppose users in classes 0 through 13 place “911” calls. The search of the table matches at “9*”. Since users in these
classes cannot make calls starting with a “9” and followed by any string of digits, the search of the table continues to “911”,
which is the next entry. The number called (911) and the number in the table (911) match so the table search returns and the
call is allowed.
#Called
#Number
0 1 2 3 4 5 6
...
14
0 YYYYYYY...Y
6??? Y Y Y Y Y Y Y ... Y
7??? Y Y Y Y Y Y Y ... Y
9* NNNNNNN...Y
911 YYYYYYY...Y
97?????? Y Y Y Y Y Y Y ... Y
9800??????? Y Y Y Y Y Y Y ... Y
99????????? N N N N N N Y ... Y
9922???? Y Y Y Y Y Y Y ... Y
9948???? Y Y Y Y Y Y Y ... Y
Vista de página 20
1 2 ... 16 17 18 19 20 21 22 23 24 25 26 ... 95 96

Comentários a estes Manuais

Sem comentários