Rate this page:

CallList

Represents a call list to interact with Voximplant's call list processing functionality. Add the following line to your scenario code to use the class:

require(Modules.CallList);

Methods

reportError

Copy URL
reportError(error: 

string

|

Object

,
whenDone:

Function

):

void

Report error to CallList module

Parameters

  • error:

    string

    Error string or JSON

  • whenDone:

    Function

    Optional

    Callback that is executed when a result is processed

Returns

  • type:

    void

reportProgress

Copy URL
reportProgress(progress: 

string

|

Object

,
whenDone:

Function

):

void

Report progress to CallList module

Parameters

  • progress:

    string

    Progress description string or JSON

  • whenDone:

    Function

    Optional

    Callback that is executed when a result is processed

Returns

  • type:

    void

reportResult

Copy URL
reportResult(result: 

string

|

Object

,
whenDone:

Function

):

void

Report result to CallList module

Parameters

  • result:

    string

    Result description string or JSON

  • whenDone:

    Function

    Optional

    Callback that is executed when a result is processed

Returns

  • type:

    void