@wildix/wms-api-client > CallControlHangupCommand
CallControlHangupCommand class
Signature:
export declare class CallControlHangupCommand extends CallControlHangupCommand_base
Extends: CallControlHangupCommand_base
Example
Use a bare-bones client and the command you need to make an API call.
import { WmsApiClient, CallControlHangupCommand } from "@wildix/wms-api-client"; // ES Modules import
// const { WmsApiClient, CallControlHangupCommand } = require("@wildix/wms-api-client"); // CommonJS import
const client = new WmsApiClient(config);
const input = { // CallControlHangupInput
user: "STRING_VALUE",
sipCallId: "STRING_VALUE", // required
reason: "STRING_VALUE",
};
const command = new CallControlHangupCommand(input);
const response = await client.send(command);
// { // CallControlHangupOutput
// message: "STRING_VALUE",
// };