# getAbook

Description: get the address book.

Request example:

{
    "method" : "getAbook",
    "requestId" : "1"
}

Response example:

{
    "abook" : [
        {
            "isEditable" : true,
            "peerId" : "#sip:@192.168.62.49",
            "peerDn" : "💻 @192.168.62.49",
            "status" : 1
        },
        {
            "isEditable" : false,
            "peerId" : "user2@some.server",
            "peerDn" : "user2",
            "status" : 0
        },
        {
            "isEditable" : true,
            "peerId" : "user3@some.server",
            "peerDn" : "user3",
            "status" : 0
        },
        {
            "isEditable" : true,
            "peerId" : "user4@some.server",
            "peerDn" : "user4",
            "status" : 0
        }
    ],
    "method" : "getAbook",
    "requestId" : "1",
    "result" : true
}

Parameter description:

  • isEditable — ability to edit contact information

  • peerIdTrueConf ID, unique user identifier

  • peerDn — User display name

  • status — User status. It can have one of the following values:

    • -1 — Invalid user

    • 0 — Offline user

    • 1 — Available user

    • 2 — Busy user

    • 5 — the user is now taking part in a group conference

  • requestId - unique request identifier. More details can be found here

See also: