# abReceivedAfterLogin

Description: Notification after the address book has been loaded after logging in to the server.

Example:

{
    "event": "abReceivedAfterLogin",
    "abook": [
        {
            "peerId": "user777@some.server",
            "peerDn": "user 777",
            "status": 0,
            "extStatus": 0,
            "lastOnlineTime": 1690962961,
            "additionalStatus": "at lunch",
            "isEditable" : true
        },
        {
            "peerId": "user666@some.server",
            "peerDn": "user 666",
            "status": 1,
            "extStatus": 2,
            "lastOnlineTime": 0,
            "additionalStatus": "went to the store",
            "isEditable" : true
        }
    ],
    "method": "event"
}

Parameter description:

  • 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 — A user is in a group conference that they created and that can be joined at request.

  • extStatus - the extended user status, which can take one of the following values:

    • -1 — Invalid user

    • 0 — Offline user

    • 1 - user is offline but was recently active

    • 2 — Available user

    • 3 - user is available on the phone

    • 4 - user is available from the terminal

    • 5 - user is available but has set the status to do not disturb

    • 6 - user is away

    • 7 — Busy user

    • 8 - user is busy on the phone

    • 9 - user is busy at the terminal

    • 10 — A user is in a group conference that they created and that can be joined at request.

  • lastOnlineTime - time in Unix format indicating when the user was last available. If the user is currently available, then this parameter is equal to 0

  • additionalStatus - additional user status as a string

  • abook — List of contacts.

  • isEditable — the flag indicating if the contact can be edited

See also: