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
reportError(error: string
| Object
, whenDone: Function
): void
Report error to CallList module
Parameters
error:
string
Error string or JSON
whenDone:
Function
OptionalCallback that is executed when a result is processed
Returns
type:
void
reportProgress
reportProgress(progress: string
| Object
, whenDone: Function
): void
Report progress to CallList module
Parameters
progress:
string
Progress description string or JSON
whenDone:
Function
OptionalCallback that is executed when a result is processed
Returns
type:
void
reportResult
reportResult(result: string
| Object
, whenDone: Function
): void
Report result to CallList module
Parameters
result:
string
Result description string or JSON
whenDone:
Function
OptionalCallback that is executed when a result is processed
Returns
type:
void