LaunchKit · 2026
Back to Skills

dsiprouter-skill

Call the dSIPRouter REST API using the Postman.

0
0 downloads
by @mackhendricks

Setup & Installation

openclaw skills install @mackhendricks/dsiprouter-skill

Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:

npx clawhub install dsiprouter-skill

What This Skill Does

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.

When to use it

  • 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

Example Workflow

Here's how your AI assistant might use this skill in practice.

INPUT

User asks: create an inbound mapping for DID 13132222223

AGENT
  1. 1Sets DSIP_ADDR and DSIP_TOKEN in the environment
  2. 2Runs dsiprouter.sh inboundmapping:create with a JSON payload containing the DID, servers, and name
  3. 3Pipes the response through jq to confirm the created mapping
  4. 4Runs dsiprouter.sh kamailio:reload to apply the change
OUTPUT

Inbound mapping created and Kamailio reloaded successfully

Requirements

Accounts, API keys, or tools you or your AI assistant may need to set up while using this skill.

DSIP_ADDR environment variable (hostname or IP of your dSIPRouter node)DSIP_TOKEN environment variable (API bearer token from your dSIPRouter instance)