5.10. Address book management

The address book can be managed through the web interface or the CP. CSV files can be used to import/export contacts which are stored in the ADDRBOOK.DAT file.

5.10.1. CONTACT EXPORT

It allows to export private or public contacts to a CSV file.

[08:58:23] ABILIS_CPX:contact export ?

PUB            Public contact
PUBLIC         Public contact
USER:          User name. Max. 32 ASCII characters.


[09:51:22] ABILIS_CPX:contact export public c:\usr\pub\public_contacts.csv

COMMAND EXECUTED 

[09:52:49] ABILIS_CPX:sys dir c:\usr\pub\

Directory listing of c:\usr\pub

.                                                <DIR>   18/02/2015   11:59:14
..                                               <DIR>   18/02/2015   11:59:14
public_contacts.csv                                 53   29/05/2015   09:52:48

Found 2 directories, 1 files.
Total 124 MB, Used 73 MB, Free 50 MB.

5.10.2. CONTACT IMPORT

It allows to import private or public contacts from a CSV file.

[09:59:01] ABILIS_CPX:contact import public ?

CONTACT IMPORT PUB <filename> [-F]   Import public contacts from the specified
                                     file in CSV format

<filename>     Absolute file name                                  <Mandatory>
               Spaces require double quotes
               (E.g. "C:\USR\PUB\My contacts.csv").

-F             Force the import by fixing/discarding               <Optional>
               duplicated/invalid records.

[10:05:07] ABILIS_CPX:contact import public c:\usr\pub\import_public.csv

FILE CHECK AND IMPORT IN PROGRESS...

IMPORT COMPLETED

Contacts importing report:

Found entries:         10

Imported entries:      10
- Truncated names:     0
- Truncated numbers:   0
- Truncated out dials: 0

Discarded entries:     0
- Duplicated names:    0
- Empty names:         0
- Duplicated numbers:  0
- Empty numbers:       0

COMMAND EXECUTED

The CSV file must have the following format:

NAME,OUTDIAL,NUMBER
Test,,10
Test2,,11
Test3,,12
[Tip]Tip

The upload of the CSV file can be done using FTP or file put command:

[10:04:37] ABILIS_CPX:file put z c:\usr\pub\import_public.csv

READY TO RECEIVE FILE...

Upload Zmodem
pub_addrbook.csv                                                                                                       (53 bytes, 0:00 min = 53 bytes/sec)


FILE TRANSFER ENDED, PRESS <ENTER> TO CONTINUE...

FILE TRANSFER SUCCESSFULLY COMPLETED

RECEIVED FILE 'c:\usr\pub\import_public.csv' FORMAT IS UNKNOWN.
NO CHECK DONE.

5.10.3. CONTACT RELOAD

It allows to reload contacts from the ADDRBOOK.DAT file. This command is needed after the CONTACT IMPORT command execution in order to use the uploaded address book.

[10:13:54] ABILIS_CPX:contact reload

COMMAND EXECUTED