Token导航 LogoToken导航

Agent Skill · 开发

sinch-elastic-sip-trunking(sinch 弹性 sip 线槽)

sinch-elastic-sip-trunking 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

sinch-elastic-sip-trunking 是开发类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为接触敏感数据;许可证信息还不明确,第三方扫描有未通过项,按安装量在开发类的 21,746 个 Skill 里排第 11,947。

总安装 1,505周安装 64GitHub Stars 7下载 527核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:sinch-elastic-sip-trunking(sinch 弹性 sip 线槽)
来源仓库:https://github.com/sinch/skills
仓库路径:skills/sinch-elastic-sip-trunking
安装命令:
npx skills add https://github.com/sinch/skills --skill sinch-elastic-sip-trunking
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/sinch/skills --skill sinch-elastic-sip-trunking

这个 Skill 是做什么的

开发类 Skill 面向写代码、改代码和排查问题,一般会读写仓库文件,部分还会执行构建或测试命令。

sinch-elastic-sip-trunking 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息。适合在 Codex、Claude、Cursor、Gemini CLI 中围绕仓库状态、代码变更或协作事项进行整理。

通过 npx skills add 命令从指定 GitHub 仓库安装,需结合原始 README 确认具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写操作。当前无原始 SKILL.md 内容可参考,实际功能以来源仓库为准。

来源仓库内路径:skills/sinch-elastic-sip-trunking

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/sinch/skills --skill sinch-elastic-sip-trunkin…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

sinch-elastic-sip-trunking 怎么安装?

在终端执行 npx skills add https://github.com/sinch/skills --skill sinch-elastic-sip-trunking。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

sinch-elastic-sip-trunking 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

sinch-elastic-sip-trunking 需要什么权限?

权限级别是接触敏感数据。该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

sinch-elastic-sip-trunking 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

sinch-elastic-sip-trunking 用的人多吗?

公开数据是累计安装 1,505 次,近一周安装 64 次,下载 527 次,GitHub 7 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

sinch-elastic-sip-trunking 安全吗?

第三方扫描有未通过项,风险较高。除非你确认过源码,否则不建议直接安装到常用环境。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理开发类任务、又不想每次都手写提示词的人。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

开发类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
skill-vetter

技能审查员 · OpenClaw

8,779,018986操作浏览器MIT-0通过
ontology

本体论 · OpenClaw

6,636,960576只读MIT-0通过
entra-app-registration

内部应用程序注册 · Codex、Claude

6,631,872764接触敏感数据未明确通过
entra-app-registration

内部应用程序注册 · Codex、Claude

3,757,680201接触敏感数据未明确通过
nano-banana-pro

纳米香蕉专业版 · OpenClaw

3,526,898364接触敏感数据MIT-0有提醒
sinch-elastic-sip-trunking

sinch 弹性 sip 线槽 · 本页

1,5057接触敏感数据未明确未通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Sinch Elastic SIP Trunking API

Overview

The Sinch Elastic SIP Trunking (EST) API lets you programmatically provision SIP trunks and route voice traffic between customer infrastructure and the PSTN. The core workflow is: create a trunk, authorize it (ACL or credentials), attach endpoints, assign phone numbers.

Agent Instructions

Before generating code, ask the user these clarifying questions:

  1. Direction — Do you need inbound (receive calls from PSTN), outbound (send calls to PSTN), or both?
  2. Auth method for the trunk (if outbound or both) — ACL-based (static IPs) or Credential-based (digest auth / dynamic IPs)?
  3. Endpoint type (if inbound or both) — Static endpoint (fixed IP/port) or Registered endpoint (SIP UA registers dynamically)?
  4. Language — curl, Node.js SDK, Python, Java,.NET?

Only ask questions 2-3 when relevant to the user's direction. Wait for answers, then follow the matching workflow below.

Decision Tree

User wants EST →
├─ Outbound only
│  ├─ Static IPs   → Workflow A (Trunk + ACL)
│  └─ Dynamic IPs  → Workflow E (Trunk + Credential List / Digest Auth)
├─ Inbound only
│  ├─ Static IP    → Workflow B (Trunk + Static Endpoint + Phone Number)
│  └─ Dynamic IP   → Workflow D (Trunk + Credential List + Registered Endpoint + Phone Number)
└─ Both           → Workflow C (Trunk + ACL/Creds + Endpoint + Phone Number)

Critical Rules

  1. Dependency order matters. Creating resources out of order causes failures. Create Trunk → Create ACL/Credentials → Link to Trunk → Assign Phone Numbers → Create Endpoint
  2. The Domain Trap. Never send SIP INVITEs to trunk.pstn.sinch.com. ALWAYS use {your-hostname}.pstn.sinch.com.
  3. 60-second propagation. After linking ACLs or Credentials, wait 60 seconds before testing.
  4. Lower priority = higher preference. Endpoint priority: 1 is primary; priority: 100 is failover.
  5. PUT replaces the entire object. Omitted fields become null.

Getting Started

Authentication

See sinch-authentication for full auth setup. EST uses OAuth2 client credentials (production) or Basic Auth (testing only, rate-limited).

SDK Installation

See sinch-sdks for installation and client initialization. Note: EST is only supported in the Node.js SDK — for Java, Python, and.NET, use direct HTTP calls.

First API Call — Create a Trunk

curl -X POST \
  "https://elastic-trunking.api.sinch.com/v1/projects/$SINCH_PROJECT_ID/trunks" \
  -H "Authorization: Bearer $SINCH_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"name": "my-trunk", "hostName": "my-trunk"}'

Response includes sipTrunkId and hostName — use {hostName}.pstn.sinch.com for all SIP routing.

For SDK examples, see the Getting Started Guide.

Key Concepts

  • Trunk: Connection between your infrastructure and Sinch. Has a hostName used in SIP routing.
  • SIP Endpoint: Where inbound calls go. Static (fixed IP) or Registered (dynamic, requires Credential List).
  • ACL: Authorizes outbound by source IP (CIDR notation, e.g. 203.0.113.10/32).
  • Credential List: Username/password pairs. Used for registered endpoint auth (inbound) or digest auth (outbound).
  • Phone Numbers: E.164 DIDs assigned to a trunk for inbound routing.

Workflows

Workflow A: Outbound Only (ACL-based)

  • 1. Create trunk
  • 2. Create ACL with your source IPs
  • 3. Link ACL to trunk
  • 4. Wait 60 seconds
  • 5. Verify: GET /trunks/{trunkId}/accessControlLists — confirm ACL appears

API docs: Create trunk → Create ACL → Link ACL to trunk → List ACLs for trunk

Workflow B: Inbound Only (Static Endpoint)

  • 1. Create trunk
  • 2. Create static SIP endpoint on trunk
  • 3. Assign phone number(s) to trunk
  • 4. Verify: GET /trunks/{trunkId}/endpoints and GET /trunks/{trunkId}/phoneNumbers

API docs: Create trunk → Create SIP endpoint → Get phone numbers

Workflow C: Bidirectional (Both Inbound + Outbound)

  • 1. Create trunk
  • 2. Create ACL and/or Credential List → Link to trunk
  • 3. Create SIP endpoint on trunk
  • 4. Assign phone numbers to trunk
  • 5. Wait 60 seconds before testing
  • 6. Verify: GET /trunks/{trunkId}/accessControlLists, GET /trunks/{trunkId}/endpoints, GET /trunks/{trunkId}/phoneNumbers

API docs: Create trunk → Create ACL → Link ACL to trunk → Create SIP endpoint → Get phone numbers

Workflow D: Inbound with Registered Endpoint (Credential-based)

  • 1. Create trunk
  • 2. Create credential list with username/password
  • 3. Create registered endpoint on trunk (references a username from the credential list)
  • 4. Assign phone number(s) to trunk
  • 5. Configure SIP UA to REGISTER to {hostname}.pstn.sinch.com
  • 6. Verify: GET /trunks/{trunkId}/endpoints and GET /trunks/{trunkId}/phoneNumbers

API docs: Create trunk → Credential Lists → Create SIP endpoint → Get phone numbers

Workflow E: Outbound Only (Digest Auth / Credential-based)

  • 1. Create trunk
  • 2. Create credential list with username/password
  • 3. Link credential list to trunk
  • 4. Wait 60 seconds
  • 5. Verify: GET /trunks/{trunkId}/credentialLists — confirm credential list appears

API docs: Create trunk → Credential Lists → Add credential list to trunk → List credential lists for trunk

SIP Header Rules (Outbound)

HeaderValueNotes
Fromsip:+1E164@{your-hostname}.pstn.sinch.comMust be your trunk domain. Wrong domain → 403. Use E.164 format.
Tosip:+1E164@{your-hostname}.pstn.sinch.comDestination in E.164 + your trunk domain. In most cases, same as Request-URI.
Request-URIsip:+1E164@{your-hostname}.pstn.sinch.comDestination in E.164 + your trunk domain. In most cases, same as To.

Gotchas and Best Practices

  1. CIDR notation — ACL entries require CIDR (/32 for single IP, /24 for range).
  2. Country permissions — US/Canada enabled by default. Other countries blocked; use updateCountryPermissions.
  3. Project ID ≠ App Key — EST uses projectId, not the Voice Application Key.
  4. Default CPS limit — 1 call per second. Exceeding it → 603. Contact Sinch to increase.
  5. Teardown order — Delete in reverse: unassign phone numbers → delete endpoints → unlink ACLs/credentials → delete trunk. Deleting out of order can orphan resources.

Troubleshooting

For SIP error codes and debugging runbooks, see references/diagnostics.md.

Quick reference:

  • 401 → Credential mismatch in Credential List
  • 403 → IP not in ACL, or wrong From domain
  • 404 → Using wrong SIP domain (must be {hostname}.pstn.sinch.com)
  • 503 → No active endpoint on trunk

References

Links

平台分布

Codex

36.64%
按下载量换算193

Claude

29.55%
按下载量换算156

Cursor

18.27%
按下载量换算96

Gemini CLI

9.47%
按下载量换算50

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

未通过

权限和风险

接触敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills