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