alibabacloud-vms-smart-call-by-tts
Installation
SKILL.md
Alibaba Cloud VMS Smart Voice Call
Initiate AI-generated voice calls through Alibaba Cloud Voice Messaging Service (dyvmsapi) by describing the call intent in natural language. The system automatically matches the addressee from the user's address book and generates the spoken content with an LLM.
Architecture: Alibaba Cloud VMS (dyvmsapi) + SubmitIntent API + LLM Content Generation + Contact Book Matching
⚠️ Path-Selection Rules (MUST be followed in this exact order):
- Always try the intranet primary path first: enter §1 and run the full intranet plugin install flow (
cli.aliyun-inc.com). It is not allowed to skip §1 just because "this looks like an external network".- Switch to §1.alt only when §1.3 reports
lookup cli.aliyun-inc.com: no such hostorconnection timeout. Any other error MUST be triaged viareferences/plugin-troubleshooting.mdand MUST NOT be treated as a network failure.- The external fallback only replaces
SubmitIntent: it routes through the scriptscripts/dyvmsapi_rpc.pyto call the public gateway directly (SubmitIntentvisibility is still private, with no SLA).QueryCallDetailByCallIdispublic, and the public-releasedyvmsapiCLI plugin already includes that subcommand (aliyun plugin install --names dyvmsapi, no--source-baseneeded). In external mode, call-detail queries still go through the public CLI plugin; the script only handlesSubmitIntent.- ⚠️ The public-release plugin and the intranet-online plugin share the same name (
aliyun-cli-dyvmsapi) and are mutually exclusive — only one can be installed at a time, and the second install overwrites the first. Priority: install the intranet-online version whenever possible (it ships bothSubmitIntentandQueryCallDetailByCallId); only fall back to the public-release version when the intranet install fails (which losesSubmitIntent, then the script fills the gap). Never install the public-release version while the intranet-online version is available — doing so loses thesubmit-intentsubcommand.- The full external-fallback execution manual lives in
references/external-network-fallback.md.- Switch back to the primary path as soon as intranet connectivity is restored. Do not stay on the fallback long-term. Switch back via:
aliyun plugin uninstall --name dyvmsapi(note the singular--name), then re-runaliyun plugin install ... --source-base ...from §1.3 to reinstall the intranet-online version.