5.9. Users Table

The service of user authentication is provided through a centralised “archive” where users are defined as well as the services to which they have access and some service-related parameters. These services are:

Two default users exist: admin and guest: they can't be removed and are disabled by default.

Admin user can be activated only with a password not empty, while guest user can't have a password.

Users Table can be managed with the following commands:

5.9.1. D USER (Display User)

This command shows the content of the Users Table in a synthetic format. The available syntax of the commands is:

  • d user : shows the user's list;

  • d user:<username> : shows the Users Table entry identified by the “user:<username>” in a synthetic format, i.e. the parameters of the services which are not enabled are omitted.

[15:36:52] ABILIS_CPX:d user

USER:                  PWD: ACT: CTIP: CLUS:    PPP: FTP: HTTP: MAIL: IAX: SIP:
--------------------------------+--------------+-------------------------------
admin                       NO   #     #        YES  YES  YES   NO    NO   NO
guest                       NO   #     #        NO   NO   NO    NO    NO   NO
[15:36:57] ABILIS_CPX:d user:admin

Parameter:        | Value:
------------------+------------------------------------------------------------
USER:               admin
ALIAS:              admin
ID:                 1    <Read Only>
PWD:
ACT:                NO
GROUP:
CTIP:               #
CLUS:               #
OPC-MONITOR:        NONE
PPP:                YES
PPP-AUTH:           CHAP
PPP-RES:            ANY
PPP-NEIGH:          #
PPP-MASK:           255.255.255.255
PPP-ROUTE:          #
FTP:                YES
FTP-HOMEDIR:
FTP-PROT:           PLAIN,SSL
HTTP:               YES
HTTP-PROT:          PLAIN,SSL
-------------------------------------------------------------------------------

5.9.1.1. D USERE (Display User Extended)

This command shows the content of the Users Table in extended format. The available syntax of the command is:

  • d usere : shows the list in extended format of all users

  • d usere:<username> : shows the content of the Users Table in extended format, i.e. all users defined with their full set of configuration information are displayed.

[15:41:01] ABILIS_CPX:d usere:admin

Parameter:        | Value:
------------------+------------------------------------------------------------
USER:               admin
ALIAS:              admin
ID:                 1    <Read Only>
PWD:
ACT:                NO
GROUP:
CTIP:               #
CLUS:               #
OPC-MONITOR:        NONE
OPC-ROLE:           USER
OPC-VIEW:           *
OPC-HIDE-NUMBERS:   NO
OPC-PRIVACY:        NO
PPP:                YES
PPP-AUTH:           CHAP
PPP-RES:            ANY
PPP-NEIGH:          #
PPP-MASK:           255.255.255.255
PPP-ROUTE:          #
FTP:                YES
FTP-HOMEDIR:
FTP-PROT:           PLAIN,SSL
HTTP:               YES
HTTP-PROT:          PLAIN,SSL
MAIL:               NO
MAIL-MB-MAXSIZE:    SYS
MAIL-MB-MAXMAILS:   SYS
MAIL-MSG-LIFETIME:  SYS
MAIL-AUTH:          SYS
IAX:                NO
IAX-HOST:           DYNAMIC
IAX-SRCADD:         SYS
IAX-PORT:           (DYNAMIC)
IAX-IP-PERMIT:      *
IAX-MAXSES-BID:     2
IAX-MAXSES-IN:      0
IAX-MAXSES-OUT:     0
IAX-NUMBER:
IAX-CG-NUM:         AUTO
IAX-FWD-CG-NUM:     CALLER
IAX-CTIP-TYPE:      SYS
IAX-RG-IN:          SYS
IAX-ROUTE-BY-SD:    NO
IAX-PROVIDE-SG:     NO
IAX-CLIP-RULE:      SYS
IAX-BUSY-NOCHAN:    NO
IAX-LCS-GROUP:      NONE
IAX-CPO:            SYS
IAX-CPO-STATE:      SYS
IAX-CPO-DROP:       SYS
IAX-SS:             NO
IAX-SS-PICKUP:      NO
IAX-SS-PRES-CG:     YES
IAX-SS-CF-DND:      YES
IAX-CONTEXT:
IAX-PROVIDE-NAME:   BLANK
IAX-AUTH:           SYS
IAX-NETSTATS:       SYS
IAX-TRUNK:          SYS
IAX-TRUNK-FREQ:     SYS
IAX-TRUNK-TS:       SYS
IAX-CHAN-FREQ:      SYS
IAX-TRANSFER:       SYS
IAX-DISC-AUDIO:     SYS
IAX-HTML-IN:        SYS
IAX-HTML-OUT:       SYS
IAX-REM-USER:
IAX-REM-PASS:
IAX-REM-AUTH:       SYS
IAX-REM-REG:        NO
SIP:                NO
SIP-TYPE:           PHONE
SIP-DOMAIN:         SYS
SIP-HOST:           DYNAMIC
SIP-TCP-PORT:       (DYNAMIC)
SIP-UDP-PORT:       (DYNAMIC)
SIP-SRCADD:         SYS
SIP-PROT-IN:        TCP,UDP
SIP-PROT-OUT:       UDP
SIP-IP-PERMIT:      *
SIP-MAXSES-BID:     2
SIP-MAXSES-IN:      0
SIP-MAXSES-OUT:     0
SIP-NUMBER:
SIP-CG-NUM:         AUTO
SIP-FWD-CG-NUM:     CALLER
SIP-CTIP-TYPE:      SYS
SIP-RG-IN:          SYS
SIP-ROUTE-BY-SD:    NO
SIP-PROVIDE-SG:     NO
SIP-CLIP-RULE:      SYS
SIP-BUSY-NOCHAN:    NO
SIP-LCS-GROUP:      NONE
SIP-CPO-RTP:        SYS
SIP-CPO-SIGNALLING: SYS
SIP-SS:             NO
SIP-SS-PICKUP:      NO
SIP-SS-PRES-CG:     YES
SIP-SS-CF-DND:      YES
SIP-AUTH:           SYS
SIP-CHAN-FREQ:      SYS
SIP-REMOTE-NAT:     NO
SIP-LOCAL-NAT:      NO
SIP-EXTERNAL-IP:    SYS
SIP-KEEPALIVE:      ENABLED
SIP-DTMF-MODE:      SYS
SIP-DISC-AUDIO:     SYS
SIP-BC-TRANSP:      UDI
SIP-T38:            SYS
SIP-T38-G711:       SYS
SIP-T38-PACKING:    SYS
SIP-SS-PRES-CG:     YES
SIP-SS-CF-DND:      YES
SIP-AUTH:           SYS
SIP-CHAN-FREQ:      SYS
SIP-REMOTE-NAT:     NO
SIP-LOCAL-NAT:      NO
SIP-EXTERNAL-IP:    SYS
SIP-KEEPALIVE:      ENABLED
SIP-DTMF-MODE:      SYS
SIP-DISC-AUDIO:     SYS
SIP-BC-TRANSP:      UDI
SIP-T38:            SYS
SIP-T38-G711:       SYS
SIP-T38-PACKING:    SYS
SIP-T38-REDUND:     SYS
SIP-T38-REDUND-PCK: SYS
SIP-UA:             SYS
SIP-UA-PERMIT:      *
SIP-REM-USER:
SIP-REM-PASS:
SIP-REM-AUTH:       SYS
SIP-REM-REG:        NO
-------------------------------------------------------------------------------

5.9.2. A USER (Add User)

This command adds a new entry in the Users Table.

[15:50:16] ABILIS_CPX:a user:pippo pwd:pippo http:yes

COMMAND EXECUTED

[15:50:33] ABILIS_CPX:d user

- Not Saved (SAVE CONF) -------------------------------------------------------
USER:                  PWD: ACT: CTIP: CLUS:    PPP: FTP: HTTP: MAIL: IAX: SIP:
--------------------------------+--------------+-------------------------------
admin                       NO   #     #        YES  YES  YES   NO    NO   NO
guest                       NO   #     #        NO   NO   NO    NO    NO   NO
pippo                  ***  YES  #     #        NO   NO   YES   NO    NO   NO
[Note]Note

A restricted user name character set can be used. Avoided those characters that are not valid in file names '\', '/', ':', '*', '?', '"', '>', '<', '|'.

The following command displays the syntax:

[15:41:15] ABILIS_CPX:a user: ?

A USER:val [par:val]          Add an entry to the Users Access Control table

USER:      User name. Max. 32 ASCII characters.                    <Mandatory>
           The strings "A" and "ALL" and "anonymous" are invalid/reserved
           the system and cannot be used for user name value.

User's parameters:
...

5.9.3. C USER (Clear User)

This command deletes an entry in the Users Table.

[17:46:42] ABILIS_CPX:c user:user10

YOU ASKED TO DELETE USER 'user10'.

CTI CALLs LOGs AND ADDRESS BOOK CONTACTs OF THIS USER WILL BE DELETED.
PROCEED ANYWAY (N/Y)?y

COMMAND EXECUTED

The following command displays the syntax:

[15:47:55] ABILIS_CPX:c user: ?

C USER:val                    Clear a user from the Users Access Control table

USER:      User name. Max. 32 ASCII characters.                    <Mandatory>

5.9.4. S USER (Set User)

This command modifies an entry in the Users Table.

[15:51:07] ABILIS_CPX:s user:pippo ftp:yes

COMMAND EXECUTED

[15:51:26] ABILIS_CPX:d user:pippo

- Not Saved (SAVE CONF) -------------------------------------------------------
Parameter:        | Value:
------------------+------------------------------------------------------------
USER:               pippo
ALIAS:              pippo
ID:                 3    <Read Only>
PWD:                ***
ACT:                YES
GROUP:
CTIP:               #
CLUS:               #
OPC-MONITOR:        NONE
FTP:                YES
FTP-HOMEDIR:
FTP-PROT:           PLAIN,SSL
HTTP:               YES
HTTP-PROT:          PLAIN,SSL
-------------------------------------------------------------------------------

The following command displays the syntax:

[15:47:53] ABILIS_CPX:s user: ?

S USER[E]:val par:val [par:val]      Set parameter(s) of an entry of the Users
                                     Access Control table

USER[E]:   User name. Max. 32 ASCII characters.                    <Mandatory>

User's parameters:
...