@wildix/wms-api-client > ListUserActiveCallsCommand
ListUserActiveCallsCommand class
Signature:
export declare class ListUserActiveCallsCommand extends ListUserActiveCallsCommand_base 
Extends: ListUserActiveCallsCommand_base
Example
Use a bare-bones client and the command you need to make an API call.
import { WmsApiClient, ListUserActiveCallsCommand } from "@wildix/wms-api-client"; // ES Modules import
// const { WmsApiClient, ListUserActiveCallsCommand } = require("@wildix/wms-api-client"); // CommonJS import
const client = new WmsApiClient(config);
const input = { // ListUserActiveCallsInput
  user: "STRING_VALUE",
};
const command = new ListUserActiveCallsCommand(input);
const response = await client.send(command);
// { // ListUserActiveCallsOutput
//   calls: [ // Calls // required
//     { // Call
//       sipCallId: "STRING_VALUE", // required
//       callerNumber: "STRING_VALUE", // required
//       callerName: "STRING_VALUE",
//       calleeNumber: "STRING_VALUE", // required
//       calleeName: "STRING_VALUE",
//       state: "STRING_VALUE", // required
//       duration: Number("int"), // required
//     },
//   ],
// };