Provides the foundational underlying capabilities for interacting with the intelligent outbound calling service, encapsulating authentication, task initiation, and status queries.
Capabilities
- Dialer: Initiates a call command.
- Status Tracker: Retrieves the current call/task status.
- Stream Handler: Handles streaming voice interaction.
Configuration
The following parameters need to be configured in the .env file for the Skill to read:
| Parameter | Description |
|---|---|
SERVICE_API_KEY |
Provider API Key |
SERVICE_API_SECRET |
Provider API Secret |
SERVICE_INSTANCE_ID |
Service Instance ID |
Usage
// 安装并引入
const caller = require('@skills/outbound-caller');
// 执行呼叫
await caller.dial({
phoneNumber: '138xxxxxxxx',
params: { ... }
});
Implementation Notes
This Skill uses asynchronous non-blocking mode to ensure low-latency call performance in complex network environments. Before use, please confirm that the callback address and permissions have been configured in the provider console.