ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified

dsiprouter

Call the dSIPRouter REST API using the Postman collection (curl + jq).

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/mackhendricks/dsiprouter-skill
Or

dSIPRouter API skill

This skill is generated from the Postman collection and provides:

  • a safe curl calling convention
  • a bin/dsiprouter.sh helper 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=1 to 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:listGET /api/v1/endpointgroups
  • endpointgroups:getGET /api/v1/endpointgroups/9 — Get a single endpointgroup
  • endpointgroups:createPOST /api/v1/endpointgroups — Create an endpointgroup
  • endpointgroups:create_1POST /api/v1/endpointgroups — Create an endpointgroup
  • endpointgroups:create_2POST /api/v1/endpointgroups — Create an endpointgroup
  • endpointgroups:create_3POST /api/v1/endpointgroups — Create an endpointgroup
  • endpointgroups:deleteDELETE /api/v1/endpointgroups/53 — Delete endpointgroup
  • endpointgroups:updatePUT /api/v1/endpointgroups/34 — Update an endpointgroup

kamailio

  • kamailio:reloadPOST /api/v1/reload/kamailio — Trigger a reload of Kamailio. This is needed after changes are made
  • kamailio:listGET /api/v1/kamailio/stats — Obtain call statistics

inboundmapping

  • inboundmapping:listGET /api/v1/inboundmapping — Get a list of inboundmappings
  • inboundmapping:createPOST /api/v1/inboundmapping — Create new inboundmapping
  • inboundmapping:updatePUT /api/v1/inboundmapping?did=13132222223 — Create new inboundmapping
  • inboundmapping:deleteDELETE /api/v1/inboundmapping?did=13132222223 — Create new inboundmapping

Metadata

Stars1601
Views0
Updated2026-02-27
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-mackhendricks-dsiprouter-skill": {
      "enabled": true,
      "auto_update": true
    }
  }
}
Safety NoteClawKit audits metadata but not runtime behavior. Use with caution.