dsiprouter
Call the dSIPRouter REST API using the Postman collection (curl + jq).
- License 许可
- MIT
- 最近更新
- 2026-04-05
- Stars
- ★ 7
- Forks
- 1
01 前言 Front Matter
- name
- dsiprouter
- metadata
- { "openclaw": { "emoji": "?", "requires": { "env": [ "DSIP_ADDR", "DSIP_TOKEN" ], "bins": [ "curl", "jq" ] } } }
- description
- Call the dSIPRouter REST API using the Postman collection (curl + jq).
02 资源文件 5
- 参考文档_meta.json285 B
- 脚本bin/dsiprouter.sh15.8 KB
- 许可证LICENSE.txt16.3 KB
- 参考文档postman/dsiprouter.postman_collection.json27.5 KB
- 参考文档README.md6.5 KB
03 SKILL.md 正文
dSIPRouter API skill
This skill is generated from the Postman collection and provides:
- a safe
curlcalling convention - a
bin/dsiprouter.shhelper CLI with subcommands for the collection’s requests - example payloads (where present in Postman)
Required environment
DSIP_ADDR— hostname/IP of your dSIPRouter node (no scheme)DSIP_TOKEN— API bearer token- Optional:
DSIP_INSECURE=1to allow self-signed TLS (adds-k)
Base URL:
https://$DSIP_ADDR:5000/api/v1
Auth header:
Authorization: Bearer $DSIP_TOKEN
Safe calling convention
dsip_api() {
local method="$1"; shift
local path="$1"; shift
local insecure=()
if [ "${DSIP_INSECURE:-}" = "1" ]; then insecure=(-k); fi
curl "${insecure[@]}" --silent --show-error --fail-with-body \
--connect-timeout 5 --max-time 30 \
-H "Authorization: Bearer ${DSIP_TOKEN}" \
-H "Content-Type: application/json" \
-X "${method}" "https://${DSIP_ADDR}:5000${path}" \
"$@"
}
Preferred usage: the bundled helper CLI
# list subcommands
dsiprouter.sh help
# list endpoint groups
dsiprouter.sh endpointgroups:list | jq .
# create inbound mapping with your own JSON payload
dsiprouter.sh inboundmapping:create '{"did":"13132222223","servers":["#22"],"name":"Taste Pizzabar"}' | jq .
# or send the Postman sample body
dsiprouter.sh inboundmapping:create --sample | jq .
Kamailio
dsiprouter.sh kamailio:stats | jq .
dsiprouter.sh kamailio:reload | jq .
Endpoint catalog (from Postman)
endpointgroups
endpointgroups:list→ GET/api/v1/endpointgroupsendpointgroups:get→ GET/api/v1/endpointgroups/9— Get a single endpointgroupendpointgroups:create→ POST/api/v1/endpointgroups— Create an endpointgroupendpointgroups:create_1→ POST/api/v1/endpointgroups— Create an endpointgroupendpointgroups:create_2→ POST/api/v1/endpointgroups— Create an endpointgroupendpointgroups:create_3→ POST/api/v1/endpointgroups— Create an endpointgroupendpointgroups:delete→ DELETE/api/v1/endpointgroups/53— Delete endpointgroupendpointgroups:update→ PUT/api/v1/endpointgroups/34— Update an endpointgroup
kamailio
kamailio:reload→ POST/api/v1/reload/kamailio— Trigger a reload of Kamailio. This is needed after changes are madekamailio:list→ GET/api/v1/kamailio/stats— Obtain call statistics
inboundmapping
inboundmapping:list→ GET/api/v1/inboundmapping— Get a list of inboundmappingsinboundmapping:create→ POST/api/v1/inboundmapping— Create new inboundmappinginboundmapping:update→ PUT/api/v1/inboundmapping?did=13132222223— Create new inboundmappinginboundmapping:delete→ DELETE/api/v1/inboundmapping?did=13132222223— Create new inboundmapping
leases
leases:list→ GET/api/v1/lease/endpoint?email=mack@goflyball.com&ttl=5m— Get a single endpointgroupleases:list_1→ GET/api/v1/lease/endpoint?email=mack@goflyball.com&ttl=1m&type=ip&auth_ip=172.145.24.2— Get a single endpointgroupleases:revoke→ DELETE/api/v1/lease/endpoint/34/revoke— Get a single endpointgroup
carriergroups
carriergroups:list→ GET/api/v1/carriergroupscarriergroups:create→ POST/api/v1/carriergroups
auth
auth:create→ POST/api/v1/auth/userauth:update→ PUT/api/v1/auth/user/2auth:delete→ DELETE/api/v1/auth/user/2auth:list→ GET/api/v1/auth/userauth:login→ POST/api/v1/auth/login
cdr
cdr:get→ GET/api/v1/cdrs/endpointgroups/17?type=csv&dtfilter=2022-09-14&email=Truecdr:get_1→ GET/api/v1/cdrs/endpoint/54
Included files
bin/dsiprouter.sh
04 同仓库更多 Skills
zyfai
Earn yield on any Ethereum wallet on Base, Arbitrum, and Plasma. Use when a user wants passive DeFi yield on their funds. Deploys a non-custodial subaccount (Safe) linked to their EOA, enables automated yield optimization, and lets them deposit/withdraw anytime.
zerion-api
暂无简介
zerion-api-skill
暂无简介
zerion-api-mcp
暂无简介
yahoo-finance-forex
Fetches real-time FOREX news and market data from Yahoo Finance for major currency pairs (EUR/USD, GBP/USD, USD/JPY, etc.). Analyzes sentiment and provides trading context.
yahoo-finance
This skill should be used when the user asks to "get stock prices", "check stock quotes", "look up earnings", "get financial data", "find trending stocks", or needs stock market data from Yahoo Finance.