dsiprouter-skill
mackhendricks 제작
CLI Utilities요약
Call the dSIPRouter REST API using the Postman.
설명
이 스킬이 하는 일
Wraps the dSIPRouter REST API with a curl-based calling convention and a bundled CLI helper. Generated from the official Postman collection, it covers endpoint groups, inbound mappings, carrier groups, leases, CDRs, auth, and Kamailio operations.
The bundled helper CLI with named subcommands avoids hand-crafting curl commands for each endpoint and supports sample payloads from the Postman collection directly.
사용 시점
- Adding a new DID inbound mapping from the command line
- Reloading Kamailio after routing changes
- Querying call statistics for a specific endpoint group
- Revoking a temporary SIP endpoint lease
- Managing auth users on a dSIPRouter node
예시 워크플로
User asks: create an inbound mapping for DID 13132222223
- 1
Sets DSIP_ADDR and DSIP_TOKEN in the environment
- 2
Runs dsiprouter.sh inboundmapping:create with a JSON payload containing the DID, servers, and name
- 3
Pipes the response through jq to confirm the created mapping
- 4
Runs dsiprouter.sh kamailio:reload to apply the change
Inbound mapping created and Kamailio reloaded successfully
요구 사항
- DSIP_ADDR environment variable (hostname or IP of your dSIPRouter node)
- DSIP_TOKEN environment variable (API bearer token from your dSIPRouter instance)
설치
clawhub install mackhendricks/dsiprouter-skillCLI 명령을 실행하거나, 프롬프트를 Claude Code, Cursor, Codex 등 사용하는 코딩 에이전트에 붙여넣으세요.