@fonoster/ctl

中文文档
0.62.0发布于 2026/11/16MITTypeScriptCommonJS构建来源已验证近 30 天下载 6750

长老会控制工具

中文使用文档
文档目录73 节
  1. fonoster apikeys:create
  2. fonoster apikeys:delete REF
  3. fonoster apikeys:list
  4. fonoster apikeys:rotate REF
  5. fonoster applications:create
  6. fonoster applications:delete REF
  7. fonoster applications:eval
  8. fonoster applications:get REF
  9. fonoster applications:list
  10. fonoster applications:rotate-secret REF
  11. fonoster applications:update [REF]
  12. fonoster bug
  13. fonoster feedback
  14. fonoster mcp:configure
  15. fonoster providers:catalog
  16. fonoster providers:keys:delete PROVIDER
  17. fonoster providers:keys:list
  18. fonoster providers:keys:set PROVIDER
  19. fonoster records:download REF
  20. fonoster records:get REF
  21. fonoster records:list
  22. fonoster secrets:create
  23. fonoster secrets:delete REF
  24. fonoster secrets:get REF
  25. fonoster secrets:list
  26. fonoster secrets:update REF
  27. fonoster sipnet:acls:create
  28. fonoster sipnet:acls:delete REF
  29. fonoster sipnet:acls:get REF
  30. fonoster sipnet:acls:list
  31. fonoster sipnet:acls:update REF
  32. fonoster sipnet:agents:create
  33. fonoster sipnet:agents:delete REF
  34. fonoster sipnet:agents:get REF
  35. fonoster sipnet:agents:list
  36. fonoster sipnet:agents:update REF
  37. fonoster sipnet:calls:create
  38. fonoster sipnet:calls:get REF
  39. fonoster sipnet:calls:list
  40. fonoster sipnet:credentials:create
  41. fonoster sipnet:credentials:delete REF
  42. fonoster sipnet:credentials:get REF
  43. fonoster sipnet:credentials:list
  44. fonoster sipnet:credentials:update REF
  45. fonoster sipnet:domains:create
  46. fonoster sipnet:domains:delete REF
  47. fonoster sipnet:domains:get REF
  48. fonoster sipnet:domains:list
  49. fonoster sipnet:domains:update REF
  50. fonoster sipnet:numbers:create
  51. fonoster sipnet:numbers:delete REF
  52. fonoster sipnet:numbers:get REF
  53. fonoster sipnet:numbers:linkTwilio PHONENUMBER
  54. fonoster sipnet:numbers:linkTwilioNumber PHONENUMBER
  55. fonoster sipnet:numbers:linkWhatsApp [PHONENUMBER]
  56. fonoster sipnet:numbers:list
  57. fonoster sipnet:numbers:update REF
  58. fonoster sipnet:trunks:create
  59. fonoster sipnet:trunks:delete REF
  60. fonoster sipnet:trunks:get REF
  61. fonoster sipnet:trunks:list
  62. fonoster sipnet:trunks:update REF
  63. fonoster webhooks:create
  64. fonoster webhooks:delete REF
  65. fonoster webhooks:deliveries [REF]
  66. fonoster webhooks:get REF
  67. fonoster webhooks:list
  68. fonoster webhooks:resend REF
  69. fonoster webhooks:rotate REF
  70. fonoster webhooks:update REF
  71. fonoster workspaces:active
  72. fonoster workspaces:list
  73. fonoster workspaces:login

缩略语

长老会议指挥线

command-line tool Version Downloads/week License

使用此工具从命令行管理您的长老会资源 。 通过这个工具,您可以创建,更新,并删除应用程序,数字,SIP代理等资源,等等.

在新平台上: applications:* 管理流( 您的 WebSocket 服务器: URL, 协议, 语音默认为目录 ID, 收听者, 记录, 倒计时) 和 Autopilot 代理(--agent(三); webhooks:* 管理工作空间网点及其发送日志; records:* 搜索通话记录和下载录音及vCons; providers:* 列出供应商目录并管理工作空间的供应商密钥。 见 尝试新平台。 。 。 .

连接到您自己的例子时, 请记住在登录时使用您的端点 。 如果您的安装使用了生成的证书, 请相信它 --ca-file <path to its config/tls/ca.pem> (或 FONOSTER_CA_FILE) (中文(简体) ). CLI总是使用TLS.

使用量

$ npm install -g @fonoster/ctl
$ fonoster COMMAND
running command...
$ fonoster (--version)
@fonoster/ctl/0.52.1 darwin-arm64 node-v22.23.3
$ fonoster --help [COMMAND]
USAGE
  $ fonoster COMMAND
...

图标

fonoster apikeys:create

为活动的工作空间创建 API 密钥

USAGE
  $ fonoster apikeys:create [--ca-file <value>] [-e <value>] [-r <value>]

FLAGS
  -e, --expiration=<value>  API Key expiration time in days(e.g. 10d) or months(e.g. 10m)
  -r, --role=<value>        [default: WORKSPACE_ADMIN] API Key role
      --ca-file=<value>     a PEM file of certificate authorities to trust, such as an install's config/tls/ca.pem
                            (default: FONOSTER_CA_FILE)

DESCRIPTION
  create an API key for the active Workspace

EXAMPLES
  $ fonoster apikeys:create

参见代码 : dist/commands/ apikeys/create.js (英语)

fonoster apikeys:delete REF

从活动的工作空间中删除 API 密钥

USAGE
  $ fonoster apikeys:delete REF [--ca-file <value>]

ARGUMENTS
  REF  the ApiKey to delete from the Workspace

FLAGS
  --ca-file=<value>  a PEM file of certificate authorities to trust, such as an install's config/tls/ca.pem (default:
                     FONOSTER_CA_FILE)

DESCRIPTION
  delete an API key from the active Workspace

EXAMPLES
  $ fonoster apikeys:delete

参见代码 : dist/commands/ apikeys/ delete.js (英语)

fonoster apikeys:list

在活动的工作空间中显示全部 API 密钥

USAGE
  $ fonoster apikeys:list [--ca-file <value>] [-s <value>]

FLAGS
  -s, --page-size=<value>  [default: 1000] the number of items to show
      --ca-file=<value>    a PEM file of certificate authorities to trust, such as an install's config/tls/ca.pem
                           (default: FONOSTER_CA_FILE)

DESCRIPTION
  display all API keys in the active Workspace

EXAMPLES
  $ fonoster apikeys:list

参见代码 : 调离/命令/ apikeys/ list.js

fonoster apikeys:rotate REF

生成 API 密钥的新访问密钥

USAGE
  $ fonoster apikeys:rotate REF [--ca-file <value>]

ARGUMENTS
  REF  the API key to rotate

FLAGS
  --ca-file=<value>  a PEM file of certificate authorities to trust, such as an install's config/tls/ca.pem (default:
                     FONOSTER_CA_FILE)

DESCRIPTION
  generate a new access key secret for an API key

EXAMPLES
  $ fonoster apikeys:rotate

参见代码 : dist/commands/ apikeys/ rotate.js (英语)

fonoster applications:create

为活动的工作空间添加新应用程序

USAGE
  $ fonoster applications:create [--ca-file <value>] [-f <value>] [-n <value>] [-u <value>] [--protocol fonoster|twilio]
    [-a <value>] [--voice <value>] [--language <value>] [--stt-model <value>] [--tts-model <value>] [--silence-timeout
    <value>] [--patience low|normal|high] [--speed <value>] [--audio-codec pcm16|pcmu] [--audio-rate <value>]
    [--fallback-app <value>] [--fallback-message <value>] [-l <value>...] [--clear-listeners] [--recording off|on]
    [--amd] [--amd-window <value>] [--noise-cancelling <value>]

FLAGS
  -a, --agent=<value>             a YAML or JSON agent file; makes it an Autopilot agent (hosted by Fonoster)
  -f, --from-file=<value>         a YAML or JSON file with the Application (an `agent` key makes it an Autopilot agent)
  -l, --listener=<value>...       a listen-only socket: <wss-url>[,inbound|outbound|both] (repeatable, at most 4)
  -n, --name=<value>              the Application name
  -u, --url=<value>               the stream's WebSocket URL (ws:// or wss://)
      --[no-]amd                  answering-machine detection: the app gets one amd.result per call (--no-amd turns it
                                  off)
      --amd-window=<value>        milliseconds of caller audio AMD classifies (500 to 15000, default 4000); implies
                                  --amd
      --audio-codec=<option>      audio frames for fonoster-protocol streams
                                  <options: pcm16|pcmu>
      --audio-rate=<value>        audio sample rate for fonoster-protocol streams: 8000, 16000 or 24000 (pcmu is 8000
                                  only)
      --ca-file=<value>           a PEM file of certificate authorities to trust, such as an install's config/tls/ca.pem
                                  (default: FONOSTER_CA_FILE)
      --clear-listeners           remove the current listeners (update; combine with --listener to replace)
      --fallback-app=<value>      the Application to hand the call to when this one fails
      --fallback-message=<value>  what the caller hears when the app fails and no fallback app answers
      --language=<value>          speech language (e.g. en-US)
      --noise-cancelling=<value>  noise cancelling on the caller's audio: none, or a noise-cancelling provider in your
                                  catalog (such as aicoustics)
      --patience=<option>         how long to wait before taking the turn
                                  <options: low|normal|high>
      --protocol=<option>         the protocol the stream speaks
                                  <options: fonoster|twilio>
      --recording=<option>        the recording policy
                                  <options: off|on>
      --silence-timeout=<value>   milliseconds of caller silence before a silence event
      --speed=<value>             speech speed, from 0.7 to 1.2; 1.0 is the voice's normal pace
      --stt-model=<value>         STT model as a catalog id (e.g. deepgram/nova-3)
      --tts-model=<value>         TTS model as a catalog id (e.g. deepgram/aura-2)
      --voice=<value>             TTS voice as a catalog id (e.g. deepgram/aura-2-thalia-en)

DESCRIPTION
  add a new Application to the active Workspace

EXAMPLES
  $ fonoster applications:create --name Bot --url wss://bot.example.com/session

  $ fonoster applications:create --name Bot --url wss://bot.example.com/media --protocol twilio

  $ fonoster applications:create --name Receptionist --agent agent.yaml --voice deepgram/aura-2-thalia-en

  $ fonoster applications:create --from-file app.yaml

  $ fonoster applications:create   # asks for the basics

参见代码 : 命令/命令/应用程序/创建.js

fonoster applications:delete REF

从活动的工作空间删除应用程序

USAGE
  $ fonoster applications:delete REF [--ca-file <value>]

ARGUMENTS
  REF  the Application to delete

FLAGS
  --ca-file=<value>  a PEM file of certificate authorities to trust, such as an install's config/tls/ca.pem (default:
                     FONOSTER_CA_FILE)

DESCRIPTION
  delete an Application from the active Workspace

EXAMPLES
  $ fonoster applications:delete

参见代码 : dent/命令/应用程序/删除.js

fonoster applications:eval

测试自动驾驶代理的实验命令

USAGE
  $ fonoster applications:eval -f <value> [--ca-file <value>] [-o pretty|json] [--output-file <value>] [--model
    <value>] [--repeat <value>] [--max-first-token-p50 <value>] [--max-first-token-p95 <value>] [--min-tool-pass
    <value>] [--min-step-pass <value>]

FLAGS
  -f, --file=<value>                 (required) path to test cases file (json, yaml, or yml)
  -o, --output=<option>              [default: pretty] output format
                                     <options: pretty|json>
      --ca-file=<value>              a PEM file of certificate authorities to trust, such as an install's
                                     config/tls/ca.pem (default: FONOSTER_CA_FILE)
      --max-first-token-p50=<value>  fail if the median time to first token is above this, in ms
      --max-first-token-p95=<value>  fail if the p95 time to first token is above this, in ms
      --min-step-pass=<value>        fail if fewer than this percent of steps pass
      --min-tool-pass=<value>        fail if fewer than this percent of tool steps are right
      --model=<value>                catalog id of the language model to test, instead of the one in the file
      --output-file=<value>          write JSON summary to this file (with pretty: also show streamed output)
      --repeat=<value>               [default: 1] how many times to run the test cases; above 1, prints only the summary

DESCRIPTION
  experimental command to test an Autopilot agent

EXAMPLES
  $ fonoster applications:eval -f agent.json

  $ fonoster applications:eval -f agent.yaml

  $ fonoster applications:eval -f agent.yaml -o json

  $ fonoster applications:eval -f agent.yaml -o json --output-file results.json

参见代码 : 命令/命令/应用程序/eval.js

fonoster applications:get REF

通过引用获取应用程序的细节

USAGE
  $ fonoster applications:get REF [--ca-file <value>]

ARGUMENTS
  REF  The Application to show details about

FLAGS
  --ca-file=<value>  a PEM file of certificate authorities to trust, such as an install's config/tls/ca.pem (default:
                     FONOSTER_CA_FILE)

DESCRIPTION
  retrieve details of an Application by reference

EXAMPLES
  $ fonoster applications:get <ref>

参见代码 : dist/命令/应用程序/get.js

fonoster applications:list

在活动的工作空间中显示所有应用程序

USAGE
  $ fonoster applications:list [--ca-file <value>] [-s <value>]

FLAGS
  -s, --page-size=<value>  [default: 1000] the number of items to show
      --ca-file=<value>    a PEM file of certificate authorities to trust, such as an install's config/tls/ca.pem
                           (default: FONOSTER_CA_FILE)

DESCRIPTION
  display all Applications in the active Workspace

EXAMPLES
  $ fonoster applications:list

参见代码 : dist/命令/应用程序/列表.js

fonoster applications:rotate-secret REF

为应用程序发布新的签名秘密( 旧程序停止工作)

USAGE
  $ fonoster applications:rotate-secret REF [--ca-file <value>]

ARGUMENTS
  REF  the Application whose secret to rotate

FLAGS
  --ca-file=<value>  a PEM file of certificate authorities to trust, such as an install's config/tls/ca.pem (default:
                     FONOSTER_CA_FILE)

DESCRIPTION
  issue a new signing secret for an Application (the old one stops working)

EXAMPLES
  $ fonoster applications:rotate-secret <ref>

参见代码 : dist/commands/应用程序/轮调-secret.js

fonoster applications:update [REF]

修改应用程序(只有您通过更改的字段)

USAGE
  $ fonoster applications:update [REF] [--ca-file <value>] [-f <value>] [-n <value>] [-u <value>] [--protocol
    fonoster|twilio] [-a <value>] [--voice <value>] [--language <value>] [--stt-model <value>] [--tts-model <value>]
    [--silence-timeout <value>] [--patience low|normal|high] [--speed <value>] [--audio-codec pcm16|pcmu] [--audio-rate
    <value>] [--fallback-app <value>] [--fallback-message <value>] [-l <value>...] [--clear-listeners] [--recording
    off|on] [--amd] [--amd-window <value>] [--noise-cancelling <value>]

ARGUMENTS
  [REF]  the Application to update (optional when `ref` is set in --from-file)

FLAGS
  -a, --agent=<value>             a YAML or JSON agent file; makes it an Autopilot agent (hosted by Fonoster)
  -f, --from-file=<value>         a YAML or JSON file with the Application (an `agent` key makes it an Autopilot agent)
  -l, --listener=<value>...       a listen-only socket: <wss-url>[,inbound|outbound|both] (repeatable, at most 4)
  -n, --name=<value>              the Application name
  -u, --url=<value>               the stream's WebSocket URL (ws:// or wss://)
      --[no-]amd                  answering-machine detection: the app gets one amd.result per call (--no-amd turns it
                                  off)
      --amd-window=<value>        milliseconds of caller audio AMD classifies (500 to 15000, default 4000); implies
                                  --amd
      --audio-codec=<option>      audio frames for fonoster-protocol streams
                                  <options: pcm16|pcmu>
      --audio-rate=<value>        audio sample rate for fonoster-protocol streams: 8000, 16000 or 24000 (pcmu is 8000
                                  only)
      --ca-file=<value>           a PEM file of certificate authorities to trust, such as an install's config/tls/ca.pem
                                  (default: FONOSTER_CA_FILE)
      --clear-listeners           remove the current listeners (update; combine with --listener to replace)
      --fallback-app=<value>      the Application to hand the call to when this one fails
      --fallback-message=<value>  what the caller hears when the app fails and no fallback app answers
      --language=<value>          speech language (e.g. en-US)
      --noise-cancelling=<value>  noise cancelling on the caller's audio: none, or a noise-cancelling provider in your
                                  catalog (such as aicoustics)
      --patience=<option>         how long to wait before taking the turn
                                  <options: low|normal|high>
      --protocol=<option>         the protocol the stream speaks
                                  <options: fonoster|twilio>
      --recording=<option>        the recording policy
                                  <options: off|on>
      --silence-timeout=<value>   milliseconds of caller silence before a silence event
      --speed=<value>             speech speed, from 0.7 to 1.2; 1.0 is the voice's normal pace
      --stt-model=<value>         STT model as a catalog id (e.g. deepgram/nova-3)
      --tts-model=<value>         TTS model as a catalog id (e.g. deepgram/aura-2)
      --voice=<value>             TTS voice as a catalog id (e.g. deepgram/aura-2-thalia-en)

DESCRIPTION
  modify an Application (only the fields you pass change)

EXAMPLES
  $ fonoster applications:update <ref> --voice deepgram/aura-2-thalia-en --patience high

  $ fonoster applications:update <ref> --agent agent.yaml

  $ fonoster applications:update <ref> --clear-listeners --listener wss://rec.example.com/ws,inbound

  $ fonoster applications:update <ref> --noise-cancelling aicoustics

  $ fonoster applications:update --from-file app.yaml   # with `ref` in the file

参见代码 : dist/命令/应用程序/更新.js

fonoster bug

向开发团队报告错误qq

USAGE
  $ fonoster bug

DESCRIPTION
  report a bug to the development team 🐞

EXAMPLES
  $ fonoster bug

参见代码 : 函数/命令/ bug.js

fonoster feedback

提供经验反馈

USAGE
  $ fonoster feedback

DESCRIPTION
  provide feedback on your experience
  ...
  Help us improve by providing some feedback


EXAMPLES
  $ fonoster feedback

参见代码 : 脱发/命令/反馈.js

fonoster mcp:configure

配置 MCP 客户端设置

USAGE
  $ fonoster mcp:configure [-c claude] [-w <value>]

FLAGS
  -c, --client=<option>    [default: claude] MCP client to configure
                           <options: claude>
  -w, --workspace=<value>  workspace reference

DESCRIPTION
  configure MCP client settings

EXAMPLES
  $ fonoster mcp:configure --client claude

  $ fonoster mcp:configure --client claude --workspace my-workspace

参见代码 : dist/ commands/ mcp/ 配置.js

fonoster providers:catalog

列出提供者目录: 提供者、 模型和语音应用程序可以使用( catalog ids)

USAGE
  $ fonoster providers:catalog [--ca-file <value>] [-k provider|model|voice] [-t stt|tts|llm|nc]

FLAGS
  -k, --kind=<option>    only this kind of item
                         <options: provider|model|voice>
  -t, --type=<option>    only this capability
                         <options: stt|tts|llm|nc>
      --ca-file=<value>  a PEM file of certificate authorities to trust, such as an install's config/tls/ca.pem
                         (default: FONOSTER_CA_FILE)

DESCRIPTION
  list the provider catalog: the providers, models and voices apps can use (catalog ids)

EXAMPLES
  $ fonoster providers:catalog

  $ fonoster providers:catalog --kind voice

  $ fonoster providers:catalog --kind model --type stt

参见代码 : dist/命令/提供者/目录.js

fonoster providers:keys:delete PROVIDER

移除销售商的工作空间的密钥( 如果有的话, 呼叫会回到平台的密钥)

USAGE
  $ fonoster providers:keys:delete PROVIDER [--ca-file <value>]

ARGUMENTS
  PROVIDER  the provider id

FLAGS
  --ca-file=<value>  a PEM file of certificate authorities to trust, such as an install's config/tls/ca.pem (default:
                     FONOSTER_CA_FILE)

DESCRIPTION
  remove the Workspace's key for a vendor (calls fall back to the platform's key, if any)

EXAMPLES
  $ fonoster providers:keys:delete deepgram

参见代码 : dist/命令/提供者/钥匙/删除.js

fonoster providers:keys:list

列出工作空间拥有自己的密钥的供应商( 密钥从未显示)

USAGE
  $ fonoster providers:keys:list [--ca-file <value>]

FLAGS
  --ca-file=<value>  a PEM file of certificate authorities to trust, such as an install's config/tls/ca.pem (default:
                     FONOSTER_CA_FILE)

DESCRIPTION
  list the vendors the Workspace has its own key for (keys are never shown)

EXAMPLES
  $ fonoster providers:keys:list

参见代码 : dist/命令/提供者/钥匙/清单.js

fonoster providers:keys:set PROVIDER

设置语音或 LLM 供应商的 Workspace 自己的密钥( 替换任何先前的密钥)

USAGE
  $ fonoster providers:keys:set PROVIDER [--ca-file <value>] [--key <value>]

ARGUMENTS
  PROVIDER  the provider id (see providers:catalog --kind provider)

FLAGS
  --ca-file=<value>  a PEM file of certificate authorities to trust, such as an install's config/tls/ca.pem (default:
                     FONOSTER_CA_FILE)
  --key=<value>      the vendor key (omit to type it without echo)

DESCRIPTION
  set the Workspace's own key for a speech or LLM vendor (replaces any previous key)

EXAMPLES
  $ fonoster providers:keys:set deepgram            # asks for the key

  $ fonoster providers:keys:set elevenlabs --key $ELEVENLABS_API_KEY

参见代码 : dist/命令/提供者/钥匙/套件.js

fonoster records:download REF

保存调用记录( WAV)、 vCon( JSON) 或签名的 vCon( JWS) 到文件

USAGE
  $ fonoster records:download REF [--ca-file <value>] [-p recording|vcon|signed] [-o <value>] [--version <value>]
    [--original]

ARGUMENTS
  REF  the call (callRef)

FLAGS
  -o, --output=<value>   the file to write (default <call-ref>.<ext>)
  -p, --part=<option>    [default: recording] what to download
                         <options: recording|vcon|signed>
      --ca-file=<value>  a PEM file of certificate authorities to trust, such as an install's config/tls/ca.pem
                         (default: FONOSTER_CA_FILE)
      --original         the unredacted record (owner or admin)
      --version=<value>  a record version (default latest)

DESCRIPTION
  save a call's recording (WAV), vCon (JSON) or signed vCon (JWS) to a file

EXAMPLES
  $ fonoster records:download <call-ref>                 # <call-ref>.wav

  $ fonoster records:download <call-ref> --part vcon -o call.json

  $ fonoster records:download <call-ref> --part signed   # verifiable JWS

参见代码 : dist/命令/记录/下载.js

fonoster records:get REF

显示呼叫记录摘要( 文件使用记录:下载)

USAGE
  $ fonoster records:get REF [--ca-file <value>] [--version <value>] [--original]

ARGUMENTS
  REF  the call (callRef)

FLAGS
  --ca-file=<value>  a PEM file of certificate authorities to trust, such as an install's config/tls/ca.pem (default:
                     FONOSTER_CA_FILE)
  --original         the unredacted record (owner or admin)
  --version=<value>  a record version (default latest)

DESCRIPTION
  show the summary of a call record (use records:download for the files)

EXAMPLES
  $ fonoster records:get <call-ref>

  $ fonoster records:get <call-ref> --original --version 1

参见代码 : dist/命令/记录/get.js

fonoster records:list

搜索当前工作空间的呼叫记录( vCon), 首先是

USAGE
  $ fonoster records:list [--ca-file <value>] [--after <value>] [--before <value>] [--number <value>] [--app
    <value>] [--status <value>] [-s <value>] [-t <value>]

FLAGS
  -s, --page-size=<value>   [default: 50] the number of items to show
  -t, --page-token=<value>  the token for the next page (printed after a full page)
      --after=<value>       started at or after (ISO date/time)
      --app=<value>         calls handled by this Application
      --before=<value>      started before (ISO date/time)
      --ca-file=<value>     a PEM file of certificate authorities to trust, such as an install's config/tls/ca.pem
                            (default: FONOSTER_CA_FILE)
      --number=<value>      calls from or to this number
      --status=<value>      record status (e.g. sealed, failed)

DESCRIPTION
  search the call records (vCon) of the active Workspace, newest first

EXAMPLES
  $ fonoster records:list

  $ fonoster records:list --after 2026-10-01 --number +17853178070

  $ fonoster records:list --app <app-ref> --status failed

参见代码 : dist/命令/记录/列表.js

fonoster secrets:create

在活动的工作空间中添加新密钥

USAGE
  $ fonoster secrets:create [--ca-file <value>]

FLAGS
  --ca-file=<value>  a PEM file of certificate authorities to trust, such as an install's config/tls/ca.pem (default:
                     FONOSTER_CA_FILE)

DESCRIPTION
  add a new Secret to the active Workspace

EXAMPLES
  $ fonoster secrets:create

参见代码 : dist/commands/secrets/create.js (英语)

fonoster secrets:delete REF

从活动的工作空间删除密件

USAGE
  $ fonoster secrets:delete REF [--ca-file <value>]

ARGUMENTS
  REF  the Secret reference

FLAGS
  --ca-file=<value>  a PEM file of certificate authorities to trust, such as an install's config/tls/ca.pem (default:
                     FONOSTER_CA_FILE)

DESCRIPTION
  delete a Secret from the active Workspace

EXAMPLES
  $ fonoster secrets:delete

参见代码 : 命令/机密/删除

fonoster secrets:get REF

通过引用获取机密的细节

USAGE
  $ fonoster secrets:get REF [--ca-file <value>]

ARGUMENTS
  REF  The Secret to show details about

FLAGS
  --ca-file=<value>  a PEM file of certificate authorities to trust, such as an install's config/tls/ca.pem (default:
                     FONOSTER_CA_FILE)

DESCRIPTION
  retrieve details of a Secret by reference

EXAMPLES
  $ fonoster secrets:get

参见代码 : dist/commands/secrets/get.js (英语)

fonoster secrets:list

显示当前工作空间中的所有密件

USAGE
  $ fonoster secrets:list [--ca-file <value>] [-s <value>]

FLAGS
  -s, --page-size=<value>  [default: 1000] the number of items to show
      --ca-file=<value>    a PEM file of certificate authorities to trust, such as an install's config/tls/ca.pem
                           (default: FONOSTER_CA_FILE)

DESCRIPTION
  display all Secrets in the active Workspace

EXAMPLES
  $ fonoster secrets:list

参见代码 : 命令/机密/名单.js

fonoster secrets:update REF

修改密钥的值或元数据

USAGE
  $ fonoster secrets:update REF [--ca-file <value>]

ARGUMENTS
  REF  the Secret to update

FLAGS
  --ca-file=<value>  a PEM file of certificate authorities to trust, such as an install's config/tls/ca.pem (default:
                     FONOSTER_CA_FILE)

DESCRIPTION
  modify the value or metadata of a Secret

EXAMPLES
  $ fonoster secrets:update

参见代码 : 命令/机密/更新.js

fonoster sipnet:acls:create

创建新的访问控制列表( ACL)

USAGE
  $ fonoster sipnet:acls:create [--ca-file <value>]

FLAGS
  --ca-file=<value>  a PEM file of certificate authorities to trust, such as an install's config/tls/ca.pem (default:
                     FONOSTER_CA_FILE)

DESCRIPTION
  create a new Access Control List (ACL)

EXAMPLES
  $ fonoster sipnet:acls:create

参见代码 : dist/commands/sipnet/acls/create.js (英语)

fonoster sipnet:acls:delete REF

从工作空间中删除访问控制列表( ACL)

USAGE
  $ fonoster sipnet:acls:delete REF [--ca-file <value>]

ARGUMENTS
  REF  the ACL reference

FLAGS
  --ca-file=<value>  a PEM file of certificate authorities to trust, such as an install's config/tls/ca.pem (default:
                     FONOSTER_CA_FILE)

DESCRIPTION
  remove an Access Control List (ACL) from the Workspace

EXAMPLES
  $ fonoster sipnet:acls:delete

参见代码 : dist/commands/sipnet/acls/delete.js (中文(简体) )

fonoster sipnet:acls:get REF

获取特定访问控制列表(ACL)

USAGE
  $ fonoster sipnet:acls:get REF [--ca-file <value>]

ARGUMENTS
  REF  The ACL reference

FLAGS
  --ca-file=<value>  a PEM file of certificate authorities to trust, such as an install's config/tls/ca.pem (default:
                     FONOSTER_CA_FILE)

DESCRIPTION
  get a specific Access Control List (ACL)

EXAMPLES
  $ fonoster sipnet:acls:get

参见代码 : 移动/命令/sipnet/acls/get.js

fonoster sipnet:acls:list

列出所有访问控制列表

USAGE
  $ fonoster sipnet:acls:list [--ca-file <value>] [-s <value>]

FLAGS
  -s, --page-size=<value>  [default: 1000] the number of items to show
      --ca-file=<value>    a PEM file of certificate authorities to trust, such as an install's config/tls/ca.pem
                           (default: FONOSTER_CA_FILE)

DESCRIPTION
  list all Access Control Lists (ACLs)

EXAMPLES
  $ fonoster sipnet:acls:list

参见代码 : dist/commands/sipnet/acls/list.js 存档副本

fonoster sipnet:acls:update REF

更新现有的访问控制清单(ACL)

USAGE
  $ fonoster sipnet:acls:update REF [--ca-file <value>]

ARGUMENTS
  REF  the ACL reference

FLAGS
  --ca-file=<value>  a PEM file of certificate authorities to trust, such as an install's config/tls/ca.pem (default:
                     FONOSTER_CA_FILE)

DESCRIPTION
  update an existing Access Control List (ACL)

EXAMPLES
  $ fonoster sipnet:acls:update

参见代码 : dist/commands/sipnet/acls/update.js 存档副本

fonoster sipnet:agents:create

在网络中添加一个新的 SIP 代理

USAGE
  $ fonoster sipnet:agents:create [--ca-file <value>]

FLAGS
  --ca-file=<value>  a PEM file of certificate authorities to trust, such as an install's config/tls/ca.pem (default:
                     FONOSTER_CA_FILE)

DESCRIPTION
  add a new SIP Agent to the network

EXAMPLES
  $ fonoster sipnet:agents:create

参见代码 : dist/commands/sipnet/代理/创建.js

fonoster sipnet:agents:delete REF

删除 SIP 网络代理

USAGE
  $ fonoster sipnet:agents:delete REF [--ca-file <value>]

ARGUMENTS
  REF  the Agent reference

FLAGS
  --ca-file=<value>  a PEM file of certificate authorities to trust, such as an install's config/tls/ca.pem (default:
                     FONOSTER_CA_FILE)

DESCRIPTION
  delete a SIP Agent from the network

EXAMPLES
  $ fonoster sipnet:agents:delete

参见代码 : dist/commands/sipnet/代理/删除

fonoster sipnet:agents:get REF

获取 SIP 代理的详细信息

USAGE
  $ fonoster sipnet:agents:get REF [--ca-file <value>]

ARGUMENTS
  REF  The Agent reference

FLAGS
  --ca-file=<value>  a PEM file of certificate authorities to trust, such as an install's config/tls/ca.pem (default:
                     FONOSTER_CA_FILE)

DESCRIPTION
  retrieve details of a SIP Agent

EXAMPLES
  $ fonoster sipnet:agents:get

参见代码 : 调度/命令/新闻网/代理/get.js

fonoster sipnet:agents:list

在网络中显示全部 SIP 代理

USAGE
  $ fonoster sipnet:agents:list [--ca-file <value>] [-s <value>]

FLAGS
  -s, --page-size=<value>  [default: 1000] the number of items to show
      --ca-file=<value>    a PEM file of certificate authorities to trust, such as an install's config/tls/ca.pem
                           (default: FONOSTER_CA_FILE)

DESCRIPTION
  display all SIP Agents in the network

EXAMPLES
  $ fonoster sipnet:agents:list

参见代码 : 调度/命令/新闻网/代理/名单.js

fonoster sipnet:agents:update REF

在网络中添加一个新的 SIP 代理

USAGE
  $ fonoster sipnet:agents:update REF [--ca-file <value>]

ARGUMENTS
  REF  the ACL reference

FLAGS
  --ca-file=<value>  a PEM file of certificate authorities to trust, such as an install's config/tls/ca.pem (default:
                     FONOSTER_CA_FILE)

DESCRIPTION
  add a new SIP Agent to the network

EXAMPLES
  $ fonoster sipnet:agents:update

参见代码 : 调度/命令/新闻网/代理/更新.js

fonoster sipnet:calls:create

给一个电话号码或SIP URI打外出电话,并跟踪其状态

USAGE
  $ fonoster sipnet:calls:create -f <value> -t <value> -a <value> [--ca-file <value>] [-o <value>] [-m <value>] [-d]

FLAGS
  -a, --app-ref=<value>   (required) the Application that handles the call
  -d, --detach            print the call ref and return without following the status
  -f, --from=<value>      (required) the number to make the call from
  -m, --metadata=<value>  a JSON object the app receives with the session (e.g. '{"name": "John Doe"}')
  -o, --timeout=<value>   [default: 30] seconds to wait for an answer
  -t, --to=<value>        (required) the number or SIP URI to call
      --ca-file=<value>   a PEM file of certificate authorities to trust, such as an install's config/tls/ca.pem
                          (default: FONOSTER_CA_FILE)

DESCRIPTION
  place an outbound call to a phone number or SIP URI and follow its status

EXAMPLES
  $ fonoster sipnet:calls:create -f +17853178070 -t +18287854037 -a <app-ref>

  $ fonoster sipnet:calls:create -f +17853178070 -t +18287854037 -a <app-ref> --detach

  $ fonoster sipnet:calls:create -f +17853178070 -t +18287854037 -a <app-ref> -m '{"name":"Jane"}'

参见代码 : dist/commands/sipnet/ calls/create.js (英语)

fonoster sipnet:calls:get REF

获取特定访问控制列表(ACL)

USAGE
  $ fonoster sipnet:calls:get REF [--ca-file <value>]

ARGUMENTS
  REF  The ACL reference

FLAGS
  --ca-file=<value>  a PEM file of certificate authorities to trust, such as an install's config/tls/ca.pem (default:
                     FONOSTER_CA_FILE)

DESCRIPTION
  get a specific Access Control List (ACL)

EXAMPLES
  $ fonoster sipnet:calls:get

参见代码 : 调度/命令/西普网/呼叫/get.js

fonoster sipnet:calls:list

显示当前工作空间中的所有调用

USAGE
  $ fonoster sipnet:calls:list [--ca-file <value>] [-s <value>]

FLAGS
  -s, --page-size=<value>  [default: 1000] the number of items to show
      --ca-file=<value>    a PEM file of certificate authorities to trust, such as an install's config/tls/ca.pem
                           (default: FONOSTER_CA_FILE)

DESCRIPTION
  display all calls made in the active Workspace

EXAMPLES
  $ fonoster sipnet:calls:list

参见代码 : dist/commands/sipnet/ calls/list.js (英语)

fonoster sipnet:credentials:create

向网络添加一套新的证书

USAGE
  $ fonoster sipnet:credentials:create [--ca-file <value>]

FLAGS
  --ca-file=<value>  a PEM file of certificate authorities to trust, such as an install's config/tls/ca.pem (default:
                     FONOSTER_CA_FILE)

DESCRIPTION
  add a new set of Credentials to the network

EXAMPLES
  $ fonoster sipnet:credentials:create

参见代码 : dist/commands/sipnet/证书/创建.js

fonoster sipnet:credentials:delete REF

从活动的工作空间删除一组证书

USAGE
  $ fonoster sipnet:credentials:delete REF [--ca-file <value>]

ARGUMENTS
  REF  the Credentials reference

FLAGS
  --ca-file=<value>  a PEM file of certificate authorities to trust, such as an install's config/tls/ca.pem (default:
                     FONOSTER_CA_FILE)

DESCRIPTION
  delete a set of Credentials from the active Workspace

EXAMPLES
  $ fonoster sipnet:credentials:delete

参见代码 : 发送/命令/短信/证书/删除

fonoster sipnet:credentials:get REF

通过参考检索一套全权证书的细节

USAGE
  $ fonoster sipnet:credentials:get REF [--ca-file <value>]

ARGUMENTS
  REF  The Credentials reference

FLAGS
  --ca-file=<value>  a PEM file of certificate authorities to trust, such as an install's config/tls/ca.pem (default:
                     FONOSTER_CA_FILE)

DESCRIPTION
  retrieve details of a set of Credentials by reference

EXAMPLES
  $ fonoster sipnet:credentials:get

参见代码 : 移动/命令/网信/证书/get.js

fonoster sipnet:credentials:list

在活动的工作空间中显示所有证书

USAGE
  $ fonoster sipnet:credentials:list [--ca-file <value>] [-s <value>]

FLAGS
  -s, --page-size=<value>  [default: 1000] the number of items to show
      --ca-file=<value>    a PEM file of certificate authorities to trust, such as an install's config/tls/ca.pem
                           (default: FONOSTER_CA_FILE)

DESCRIPTION
  display all Credentials in the active Workspace

EXAMPLES
  $ fonoster sipnet:credentials:list

参见代码 : 分散/命令/sipnet/证书/list.js

fonoster sipnet:credentials:update REF

修改一组证书的值或元数据

USAGE
  $ fonoster sipnet:credentials:update REF [--ca-file <value>]

ARGUMENTS
  REF  the Credentials reference

FLAGS
  --ca-file=<value>  a PEM file of certificate authorities to trust, such as an install's config/tls/ca.pem (default:
                     FONOSTER_CA_FILE)

DESCRIPTION
  modify the values or metadata of a set of Credentials

EXAMPLES
  $ fonoster sipnet:credentials:update

参见代码 : 转移/命令/新闻网/证书/更新

fonoster sipnet:domains:create

向 SIP 网络添加新域名

USAGE
  $ fonoster sipnet:domains:create [--ca-file <value>]

FLAGS
  --ca-file=<value>  a PEM file of certificate authorities to trust, such as an install's config/tls/ca.pem (default:
                     FONOSTER_CA_FILE)

DESCRIPTION
  add a new Domain to the SIP network

EXAMPLES
  $ fonoster sipnet:domains:create

参见代码 : dits/commands/sipnet/域名/创建.js

fonoster sipnet:domains:delete REF

删除活动工作空间中的域

USAGE
  $ fonoster sipnet:domains:delete REF [--ca-file <value>]

ARGUMENTS
  REF  the Domain reference

FLAGS
  --ca-file=<value>  a PEM file of certificate authorities to trust, such as an install's config/tls/ca.pem (default:
                     FONOSTER_CA_FILE)

DESCRIPTION
  delete a Domain from the active Workspace

EXAMPLES
  $ fonoster sipnet:domains:delete

参见代码 : dist/commands/sipnet/域名/删除.js

fonoster sipnet:domains:get REF

通过引用获取域的细节

USAGE
  $ fonoster sipnet:domains:get REF [--ca-file <value>]

ARGUMENTS
  REF  The Domain reference

FLAGS
  --ca-file=<value>  a PEM file of certificate authorities to trust, such as an install's config/tls/ca.pem (default:
                     FONOSTER_CA_FILE)

DESCRIPTION
  retrieve details of a Domain by reference

EXAMPLES
  $ fonoster sipnet:domains:get

参见代码 : dist/commands/sipnet/域名/get.js

fonoster sipnet:domains:list

在 SIP 网络中显示全部域

USAGE
  $ fonoster sipnet:domains:list [--ca-file <value>] [-s <value>]

FLAGS
  -s, --page-size=<value>  [default: 1000] the number of items to show
      --ca-file=<value>    a PEM file of certificate authorities to trust, such as an install's config/tls/ca.pem
                           (default: FONOSTER_CA_FILE)

DESCRIPTION
  display all Domains in the SIP network

EXAMPLES
  $ fonoster sipnet:domains:list

参见代码 : dist/commands/sipnet/域名/list.js (中文(简体) )

fonoster sipnet:domains:update REF

修改域的配置

USAGE
  $ fonoster sipnet:domains:update REF [--ca-file <value>]

ARGUMENTS
  REF  the Domain reference

FLAGS
  --ca-file=<value>  a PEM file of certificate authorities to trust, such as an install's config/tls/ca.pem (default:
                     FONOSTER_CA_FILE)

DESCRIPTION
  modify the configuration of a Domain

EXAMPLES
  $ fonoster sipnet:domains:update

参见代码 : dist/commands/sipnet/域名/上册.js

fonoster sipnet:numbers:create

在 SIP 网络中添加新编号

USAGE
  $ fonoster sipnet:numbers:create [--ca-file <value>]

FLAGS
  --ca-file=<value>  a PEM file of certificate authorities to trust, such as an install's config/tls/ca.pem (default:
                     FONOSTER_CA_FILE)

DESCRIPTION
  add a new Number to the SIP network

EXAMPLES
  $ fonoster sipnet:numbers:create

参见代码 : dist/commands/sipnet/数字/创建.js

fonoster sipnet:numbers:delete REF

从活动的工作空间删除数字

USAGE
  $ fonoster sipnet:numbers:delete REF [--ca-file <value>]

ARGUMENTS
  REF  the Numbers's reference

FLAGS
  --ca-file=<value>  a PEM file of certificate authorities to trust, such as an install's config/tls/ca.pem (default:
                     FONOSTER_CA_FILE)

DESCRIPTION
  delete a Number from the active Workspace

EXAMPLES
  $ fonoster sipnet:numbers:delete

参见代码 : dist/commands/sipnet/数字/删除.js

fonoster sipnet:numbers:get REF

通过引用获取数字的细节

USAGE
  $ fonoster sipnet:numbers:get REF [--ca-file <value>]

ARGUMENTS
  REF  the Number to show details about

FLAGS
  --ca-file=<value>  a PEM file of certificate authorities to trust, such as an install's config/tls/ca.pem (default:
                     FONOSTER_CA_FILE)

DESCRIPTION
  retrieve details of a Number by reference

EXAMPLES
  $ fonoster sipnet:numbers:get

参见代码 : dist/commands/sipnet/数字/get.js 数据

fonoster sipnet:numbers:linkTwilio PHONENUMBER

将您 Twilio 账户中的数字链接到活动的工作空间

USAGE
  $ fonoster sipnet:numbers:linkTwilio PHONENUMBER [--ca-file <value>] [--name <value>] [--app <value> | --agent <value>]
    [--account-sid <value>] [--api-key-sid <value> | --auth-token] [--yes]

ARGUMENTS
  PHONENUMBER  the number to link, in E.164 (it must be in your Twilio account)

FLAGS
  --account-sid=<value>  the Twilio Account SID (AC...)
  --agent=<value>        the SIP agent (AOR) that answers the number
  --api-key-sid=<value>  a Twilio Standard API key SID (SK...); the secret is read from TWILIO_API_KEY_SECRET or a
                         masked prompt
  --app=<value>          the Application that answers the number
  --auth-token           sign in with the Auth Token instead of an API key; it is read from TWILIO_AUTH_TOKEN or a
                         masked prompt
  --ca-file=<value>      a PEM file of certificate authorities to trust, such as an install's config/tls/ca.pem
                         (default: FONOSTER_CA_FILE)
  --name=<value>         the Number's name (default: the phone number)
  --yes                  link without asking, replacing the trunk and route of a number already in the workspace

DESCRIPTION
  link a number from your Twilio account to the active workspace

ALIASES
  $ fonoster sipnet:numbers:linkTwilioNumber

EXAMPLES
  $ fonoster sipnet:numbers:linkTwilio +18095550123 --app <ref>   # asks for what's missing

  TWILIO_API_KEY_SECRET=... fonoster sipnet:numbers:linkTwilio +18095550123 --account-sid AC... --api-key-sid SK... --app <ref> --yes

参见代码 : dist/commands/sipnet/numbers/linkTwilio.js 页面存档备份,存于互联网档案馆

fonoster sipnet:numbers:linkTwilioNumber PHONENUMBER

将您 Twilio 账户中的数字链接到活动的工作空间

USAGE
  $ fonoster sipnet:numbers:linkTwilioNumber PHONENUMBER [--ca-file <value>] [--name <value>] [--app <value> | --agent <value>]
    [--account-sid <value>] [--api-key-sid <value> | --auth-token] [--yes]

ARGUMENTS
  PHONENUMBER  the number to link, in E.164 (it must be in your Twilio account)

FLAGS
  --account-sid=<value>  the Twilio Account SID (AC...)
  --agent=<value>        the SIP agent (AOR) that answers the number
  --api-key-sid=<value>  a Twilio Standard API key SID (SK...); the secret is read from TWILIO_API_KEY_SECRET or a
                         masked prompt
  --app=<value>          the Application that answers the number
  --auth-token           sign in with the Auth Token instead of an API key; it is read from TWILIO_AUTH_TOKEN or a
                         masked prompt
  --ca-file=<value>      a PEM file of certificate authorities to trust, such as an install's config/tls/ca.pem
                         (default: FONOSTER_CA_FILE)
  --name=<value>         the Number's name (default: the phone number)
  --yes                  link without asking, replacing the trunk and route of a number already in the workspace

DESCRIPTION
  link a number from your Twilio account to the active workspace

ALIASES
  $ fonoster sipnet:numbers:linkTwilioNumber

EXAMPLES
  $ fonoster sipnet:numbers:linkTwilioNumber +18095550123 --app <ref>   # asks for what's missing

  TWILIO_API_KEY_SECRET=... fonoster sipnet:numbers:linkTwilioNumber +18095550123 --account-sid AC... --api-key-sid SK... --app <ref> --yes

fonoster sipnet:numbers:linkWhatsApp [PHONENUMBER]

将 WhatsApp 业务编号链接到活动的工作空间

USAGE
  $ fonoster sipnet:numbers:linkWhatsApp [PHONENUMBER] [--ca-file <value>] [--phone-number-id <value>] [--name <value>] [--app
    <value> | --agent <value>] [--yes]

ARGUMENTS
  [PHONENUMBER]  the WhatsApp Business number, in E.164; only when you set up Meta yourself (no --phone-number-id)

FLAGS
  --agent=<value>            the SIP agent (AOR) that answers the number
  --app=<value>              the Application that answers the number
  --ca-file=<value>          a PEM file of certificate authorities to trust, such as an install's config/tls/ca.pem
                             (default: FONOSTER_CA_FILE)
  --name=<value>             the Number's name (default: Meta's verified name, or the phone number)
  --phone-number-id=<value>  Meta's id of the phone number (WhatsApp Manager > Phone numbers); Fonoster then sets up
                             Meta with a token read from META_ACCESS_TOKEN or a masked prompt
  --yes                      skip the confirmation; required without a terminal

DESCRIPTION
  link a WhatsApp Business number to the active workspace

EXAMPLES
  $ fonoster sipnet:numbers:linkWhatsApp --phone-number-id 106612345678901 --app <ref>   # asks for the token and what's missing

  META_ACCESS_TOKEN=... fonoster sipnet:numbers:linkWhatsApp --phone-number-id 106612345678901 --app <ref> --yes

  WHATSAPP_SIP_PASSWORD=... fonoster sipnet:numbers:linkWhatsApp +525512345678 --app <ref> --yes   # you set up Meta yourself

参见代码 : dist/commands/sipnet/numbers/linkWhatsApp.js (英语)

fonoster sipnet:numbers:list

显示当前工作空间中的所有数字

USAGE
  $ fonoster sipnet:numbers:list [--ca-file <value>] [-s <value>]

FLAGS
  -s, --page-size=<value>  [default: 1000] the number of items to return
      --ca-file=<value>    a PEM file of certificate authorities to trust, such as an install's config/tls/ca.pem
                           (default: FONOSTER_CA_FILE)

DESCRIPTION
  display all Numbers in the active Workspace

EXAMPLES
  $ fonoster sipnet:numbers:list

参见代码 : dist/commands/sipnet/数字/list.js 数据

fonoster sipnet:numbers:update REF

修改数字的配置

USAGE
  $ fonoster sipnet:numbers:update REF [--ca-file <value>]

ARGUMENTS
  REF  the Number to update

FLAGS
  --ca-file=<value>  a PEM file of certificate authorities to trust, such as an install's config/tls/ca.pem (default:
                     FONOSTER_CA_FILE)

DESCRIPTION
  modify the configuration of a Number

EXAMPLES
  $ fonoster sipnet:numbers:update

参见代码 : dist/commands/sipnet/数字/更新.js

fonoster sipnet:trunks:create

在 SIP 网络中添加新的 Trunk

USAGE
  $ fonoster sipnet:trunks:create [--ca-file <value>]

FLAGS
  --ca-file=<value>  a PEM file of certificate authorities to trust, such as an install's config/tls/ca.pem (default:
                     FONOSTER_CA_FILE)

DESCRIPTION
  add a new Trunk to the SIP network

EXAMPLES
  $ fonoster sipnet:trunks:create

参见代码 : dist/commands/sipnet/trunks/create.js (英语)

fonoster sipnet:trunks:delete REF

从活动的工作空间中删除 Trunk

USAGE
  $ fonoster sipnet:trunks:delete REF [--ca-file <value>]

ARGUMENTS
  REF  the Trunk's reference

FLAGS
  --ca-file=<value>  a PEM file of certificate authorities to trust, such as an install's config/tls/ca.pem (default:
                     FONOSTER_CA_FILE)

DESCRIPTION
  remove a Trunk from the active Workspace

EXAMPLES
  $ fonoster sipnet:trunks:delete

参见代码 : 散装/命令/sipnet/trunks/删除.js

fonoster sipnet:trunks:get REF

以引用方式获取 Trunk 的细节

USAGE
  $ fonoster sipnet:trunks:get REF [--ca-file <value>]

ARGUMENTS
  REF  The Trunk's reference

FLAGS
  --ca-file=<value>  a PEM file of certificate authorities to trust, such as an install's config/tls/ca.pem (default:
                     FONOSTER_CA_FILE)

DESCRIPTION
  retrieve details of a Trunk by reference

EXAMPLES
  $ fonoster sipnet:trunks:get

参见代码 : dist/commands/sipnet/trunks/get.js (英语)

fonoster sipnet:trunks:list

在活动的工作空间中显示全部 Trunks

USAGE
  $ fonoster sipnet:trunks:list [--ca-file <value>] [-s <value>]

FLAGS
  -s, --page-size=<value>  [default: 1000] the number of items to show
      --ca-file=<value>    a PEM file of certificate authorities to trust, such as an install's config/tls/ca.pem
                           (default: FONOSTER_CA_FILE)

DESCRIPTION
  display all Trunks in the active Workspace

EXAMPLES
  $ fonoster sipnet:trunks:list

参见代码 : dist/commands/sipnet/trunks/list.js (英语)

fonoster sipnet:trunks:update REF

修改 Trunk 的配置

USAGE
  $ fonoster sipnet:trunks:update REF [--ca-file <value>]

ARGUMENTS
  REF  the Trunk to update

FLAGS
  --ca-file=<value>  a PEM file of certificate authorities to trust, such as an install's config/tls/ca.pem (default:
                     FONOSTER_CA_FILE)

DESCRIPTION
  modify the configuration of a Trunk

EXAMPLES
  $ fonoster sipnet:trunks:update

参见代码 : 散会/命令/sipnet/trunks/update.js

fonoster webhooks:create

为工作空间活动订阅 HTTPS 端点

USAGE
  $ fonoster webhooks:create -u <value> -e
    call.started|call.ended|call.failed|call_record.sealed|provider.deprecated... [--ca-file <value>]

FLAGS
  -e, --event=<option>...  (required) an event to receive (repeatable)
                           <options: call.started|call.ended|call.failed|call_record.sealed|provider.deprecated>
  -u, --url=<value>        (required) the endpoint that receives the events (https://)
      --ca-file=<value>    a PEM file of certificate authorities to trust, such as an install's config/tls/ca.pem
                           (default: FONOSTER_CA_FILE)

DESCRIPTION
  subscribe an HTTPS endpoint to Workspace events

EXAMPLES
  $ fonoster webhooks:create --url https://example.com/hooks -e call.ended -e call_record.sealed

参见代码 : dist/commands/webhooks/create.js (英语)

fonoster webhooks:delete REF

从活动的工作空间中删除 Webhook

USAGE
  $ fonoster webhooks:delete REF [--ca-file <value>]

ARGUMENTS
  REF  the Webhook to delete

FLAGS
  --ca-file=<value>  a PEM file of certificate authorities to trust, such as an install's config/tls/ca.pem (default:
                     FONOSTER_CA_FILE)

DESCRIPTION
  delete a Webhook from the active Workspace

EXAMPLES
  $ fonoster webhooks:delete <ref>

参见代码 : dist/commands/webhooks/delete.js (英语)

fonoster webhooks:deliveries [REF]

显示发送日志( 所有 Webhooks, 或一个)

USAGE
  $ fonoster webhooks:deliveries [REF] [--ca-file <value>] [-s <value>]

ARGUMENTS
  [REF]  only this Webhook's deliveries

FLAGS
  -s, --page-size=<value>  [default: 50] the number of items to show
      --ca-file=<value>    a PEM file of certificate authorities to trust, such as an install's config/tls/ca.pem
                           (default: FONOSTER_CA_FILE)

DESCRIPTION
  show the delivery log (all Webhooks, or one)

EXAMPLES
  $ fonoster webhooks:deliveries

  $ fonoster webhooks:deliveries <webhook-ref> -s 20

参见代码 : dist/commands/webhooks/deliveries.js (英语)

fonoster webhooks:get REF

通过引用获取 Webhook 的细节

USAGE
  $ fonoster webhooks:get REF [--ca-file <value>]

ARGUMENTS
  REF  the Webhook to show details about

FLAGS
  --ca-file=<value>  a PEM file of certificate authorities to trust, such as an install's config/tls/ca.pem (default:
                     FONOSTER_CA_FILE)

DESCRIPTION
  retrieve details of a Webhook by reference

EXAMPLES
  $ fonoster webhooks:get <ref>

参见代码 : dist/ commands/webhooks/ get.js 命令/网络用户

fonoster webhooks:list

在活动的工作空间中显示所有 Webhooks

USAGE
  $ fonoster webhooks:list [--ca-file <value>] [-s <value>]

FLAGS
  -s, --page-size=<value>  [default: 1000] the number of items to show
      --ca-file=<value>    a PEM file of certificate authorities to trust, such as an install's config/tls/ca.pem
                           (default: FONOSTER_CA_FILE)

DESCRIPTION
  display all Webhooks in the active Workspace

EXAMPLES
  $ fonoster webhooks:list

参见代码 : dist/commands/webhooks/list.js (英语)

fonoster webhooks:resend REF

再次发送邮件( 相同的事件 id, 所以接收器可以去dupe)

USAGE
  $ fonoster webhooks:resend REF [--ca-file <value>]

ARGUMENTS
  REF  the delivery to resend (see webhooks:deliveries)

FLAGS
  --ca-file=<value>  a PEM file of certificate authorities to trust, such as an install's config/tls/ca.pem (default:
                     FONOSTER_CA_FILE)

DESCRIPTION
  send a delivery again (same event id, so receivers can dedupe)

EXAMPLES
  $ fonoster webhooks:resend <delivery-ref>

参见代码 : dist/commands/webhooks/resend.js (英语)

fonoster webhooks:rotate REF

为 Webhook 发布新的签名秘密( 旧的继续工作一段时间)

USAGE
  $ fonoster webhooks:rotate REF [--ca-file <value>]

ARGUMENTS
  REF  the Webhook whose secret to rotate

FLAGS
  --ca-file=<value>  a PEM file of certificate authorities to trust, such as an install's config/tls/ca.pem (default:
                     FONOSTER_CA_FILE)

DESCRIPTION
  issue a new signing secret for a Webhook (the old one keeps working for a while)

EXAMPLES
  $ fonoster webhooks:rotate <ref>

参见代码 : dist/commands/webhooks/rotate.js 互联网档案馆的存檔,存档日期2013-12-02

fonoster webhooks:update REF

更改 Webhook 的 URL 或事件( - 事件替换列表)

USAGE
  $ fonoster webhooks:update REF [--ca-file <value>] [-u <value>] [-e
    call.started|call.ended|call.failed|call_record.sealed|provider.deprecated...]

ARGUMENTS
  REF  the Webhook to update

FLAGS
  -e, --event=<option>...  an event to receive (repeatable)
                           <options: call.started|call.ended|call.failed|call_record.sealed|provider.deprecated>
  -u, --url=<value>        the new endpoint
      --ca-file=<value>    a PEM file of certificate authorities to trust, such as an install's config/tls/ca.pem
                           (default: FONOSTER_CA_FILE)

DESCRIPTION
  change a Webhook's URL or events (--event replaces the list)

EXAMPLES
  $ fonoster webhooks:update <ref> -e call.started -e call.ended

  $ fonoster webhooks:update <ref> --url https://example.com/new

参见代码 : dist/commands/webhooks/update.js (英语)

fonoster workspaces:active

显示活动工作空间的名称

USAGE
  $ fonoster workspaces:active

DESCRIPTION
  display the name of the active Workspace

EXAMPLES
  $ fonoster workspaces:active

参见代码 : 磁盘/命令/工作空间/活性.js

fonoster workspaces:list

显示所有链接的工作空间

USAGE
  $ fonoster workspaces:list

DESCRIPTION
  display all linked Workspaces

EXAMPLES
  $ fonoster workspaces:list

参见代码 : dist/ 命令/ 工作空间/ list.js

fonoster workspaces:login

a 工作空间与本地环境的联系

USAGE
  $ fonoster workspaces:login [--ca-file <value>] [-e <value>] [--access-key-id <value>] [--access-key-secret <value>]

FLAGS
  -e, --endpoint=<value>           the API endpoint (skips the questions with the key flags)
      --access-key-id=<value>      a Workspace API key id
      --access-key-secret=<value>  the API key secret
      --ca-file=<value>            a PEM file of certificate authorities to trust, such as an install's
                                   config/tls/ca.pem (default: FONOSTER_CA_FILE)

DESCRIPTION
  link a Workspace to the local environment

EXAMPLES
  $ fonoster workspaces:login

  $ fonoster wor

版本与发布记录

@fonoster/ctl 共发布 334 个版本,首次发布于 2021/11/01;过去 12 个月发布了 68 个版本。最新版本附带 npm provenance 构建来源证明,可追溯到公开的 CI 构建记录。

版本发布日期距今
0.62.0latest2026/11/16今天
0.61.02026/11/15今天
0.60.02026/11/151 天前
0.59.02026/11/141 天前
0.58.02026/11/141 天前
0.57.02026/11/114 天前

其他发布通道:next → 0.9.51。

关于 @fonoster/ctl 的常见问题

@fonoster/ctl 是什么?

长老会控制工具

如何安装 @fonoster/ctl?

在项目目录运行 npm install @fonoster/ctl,或使用 pnpm add / yarn add / bun add。它还提供命令行工具 fonoster,可以用 npx fonoster 直接运行。

@fonoster/ctl 支持 TypeScript 吗?

支持。包内自带 TypeScript 类型声明(package.json 声明了 types 入口),安装后即可获得类型提示,无需再安装 @types 包。

@fonoster/ctl 支持 ESM 还是 CommonJS?

以 CommonJS 形式发布,可以直接 require();在 ES Module 项目中也可以用 import 引入(Node.js 会把 module.exports 作为默认导出)。

@fonoster/ctl 可以商用吗?

@fonoster/ctl 使用 MIT 许可。宽松许可:允许商业使用、修改和再分发,通常只需在分发时保留原版权与许可声明。以上为概括,不构成法律意见,请以许可原文为准。

@fonoster/ctl 的下载量有多少?

根据 npm 官方下载统计,@fonoster/ctl 在 2026/10/15 – 2026/11/13 这 30 天内被下载 6,750 次,日均约 225 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@fonoster/ctl 还在维护吗?

最新版本 0.62.0 发布于 2026/11/16(今天);至今共发布 334 个版本,其中过去 12 个月发布了 68 个;首次发布于 2021/11/01。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。