SIGN UP

Events

Deprecated

Use ClientEvents instead

List of events

CallAudioStarted

Deprecated

Call audio started. You should stop playing progress tone when event is received

Properties

  • callId:

    string

    Id of call

CallConnected

Deprecated

Call established

Properties

  • callId:

    string

    Id of call

  • headers:

    object

    Optional headers passed with event

CallDisconnected

Deprecated

Call terminated

Properties

  • callId:

    string

    Id of call

  • headers:

    object

    Optional headers passed with event

  • answeredElsewhere:

    boolean

    Indicate if the call was answered on other peer

CallFailed

Deprecated

Use CallEvents.Failed instead

Outgoing call failed

Properties

  • callId:

    string

    Id of call

  • code:

    number

    Status code

  • reason:

    string

    Status message

  • headers:

    object

    Optional headers passed with event

CallRinging

Deprecated

Call ringing. You should start playing call progress tone now

Properties

  • callId:

    string

    Id of call

  • headers:

    object

    Optional headers passed with event

ConnectionClosed

Deprecated

Connection with cloud closed

ConnectionFailed

Deprecated

Connection with cloud failed

Properties

  • reason:

    string

    Error message

ConnectionSuccessful

Deprecated

Connection with cloud established

IncomingCall

Deprecated

New incoming call received by SDK

Properties

  • callId:

    string

    Id of call

  • from:

    string

    SIP URI of caller

  • displayName:

    string

    Displayed name of caller

  • videoCall:

    boolean

    Video call flag

  • headers:

    object

    Optional headers passed with event

LoginFailed

Deprecated

Invoked when login process failed

Properties

  • errorCode:

    number

    Login error code, possible values are:

    code description
    401 invalid password or token
    403 account frozen
    404 invalid username
    500 internal error
    701 token expired

LoginSuccessful

Deprecated

Invoked when login process finished successfully.

Properties

  • displayName:

    string

    Display name of logged in user

  • loginTokens:

    Legacy.LoginTokens

    Login tokens that can be used to login using access token

MessageReceivedInCall

Deprecated

Instant message received during a call

Properties

  • callId:

    string

    Id of call

  • text:

    string

    Message text

NetStatsReceived

Deprecated

Event dispatched when packet loss data received from Voximplant servers

Properties

  • callId:

    string

    Id of call

  • stats:

    object

    NetworkInfo

OneTimeKeyGenerated

Deprecated

Returns one time key generated by the login server as a result of requestOneTimeLoginKey

Properties

  • key:

    string

    One time key

RefreshTokenFailed

Deprecated

Invoked when refresh of login tokens failed

Properties

  • reason:

    number

    Failure reason

RefreshTokenSuccess

Deprecated

Invoked when refresh of login tokens finished successfully

Properties

  • loginTokens:

    LoginTokens

    Login tokens that can be used to login using access token

SIPInfoReceivedInCall

Deprecated

SIP INFO received during a call

Properties

  • callId:

    string

    Id of call

  • type:

    string

    MIME type of info

  • content:

    string

    Body of info message

  • headers:

    object

    Optional headers passed with event