Skip to main content

@wildix/wms-api-client > CallControlAnswerCommand

CallControlAnswerCommand class

Signature:

export declare class CallControlAnswerCommand extends CallControlAnswerCommand_base 

Extends: CallControlAnswerCommand_base

Example

Use a bare-bones client and the command you need to make an API call.

import { WmsApiClient, CallControlAnswerCommand } from "@wildix/wms-api-client"; // ES Modules import
// const { WmsApiClient, CallControlAnswerCommand } = require("@wildix/wms-api-client"); // CommonJS import
const client = new WmsApiClient(config);
const input = { // CallControlAnswerInput
user: "STRING_VALUE",
sipCallId: "STRING_VALUE", // required
device: "STRING_VALUE",
};
const command = new CallControlAnswerCommand(input);
const response = await client.send(command);
// { // CallControlAnswerOutput
// message: "STRING_VALUE",
// };