dSIPRouter API Management for Openclaw

A robust CLI integration for the dSIPRouter REST API, facilitating automated SIP proxy management and Kamailio administration.

mackhendricks
v0.1.0
Feb 1, 2026
0
0
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install dsiprouter-skill

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install dsiprouter-skill using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is dSIPRouter API Management?

This skill provides a comprehensive interface for interacting with the dSIPRouter REST API, an essential tool for managing SIP proxies and Kamailio nodes. By utilizing a specialized helper CLI, it abstracts the complexity of raw HTTP requests into manageable subcommands for VoIP infrastructure. Integrating this into the Openclaw Skills ecosystem allows developers to automate the configuration of endpoint groups, carrier mappings, and real-time SIP statistics retrieval.

dSIPRouter API Management Use Cases

  • Automating the creation and deletion of SIP endpoint groups.
  • Triggering Kamailio service reloads after updating routing configurations.
  • Fetching and analyzing Call Detail Records (CDRs) for billing or troubleshooting.
  • Managing inbound DID mappings and carrier group assignments.
  • Monitoring real-time SIP proxy performance and call statistics.

How dSIPRouter API Management Works

  1. The skill initializes by reading the dSIPRouter host address and API bearer token from the environment.
  2. It leverages a bundled shell script, dsiprouter.sh, which acts as a wrapper for localized curl commands.
  3. A safe calling convention is used to ensure all API interactions include proper headers, timeouts, and error handling.
  4. When a command is issued, the skill maps the requested action to the appropriate dSIPRouter REST endpoint.
  5. The raw JSON responses are processed using jq to provide clean, actionable data for the user or agent.

dSIPRouter API Management Setup

To use this dSIPRouter integration within the Openclaw Skills framework, configure your environment variables and ensure dependencies are met:

# Install required dependencies
# Ensure curl and jq are installed on your system

# Configure connection details
export DSIP_ADDR="your.dsiprouter.ip"
export DSIP_TOKEN="your_api_bearer_token"

# Optional: Allow self-signed certificates
export DSIP_INSECURE=1

# Test the helper script
./bin/dsiprouter.sh help

dSIPRouter API Management Data Schema & Taxonomy

The skill interacts with several primary data models through the dSIPRouter API. The following table highlights key data entities:

Resource Attributes Description
Endpoint Groups ID, Name, Servers Configuration for SIP endpoint clusters.
Inbound Mapping DID, Servers, Name Mapping of incoming numbers to specific servers.
Kamailio Stats uptime, active_calls Real-time performance metrics for the proxy.
CDRs endpoint, type, filter Call Detail Records for traffic analysis.
Auth User, Password, ID Management of API and system user credentials.

dSIPRouter API Management Advanced Features

  • Bundled CLI helper with granular subcommand support for all major API resources.
  • Support for Postman sample payloads to quickly test create and update operations.
  • Secure request handling with configurable timeouts and fail-with-body logic.
  • Insecure mode support for internal testing environments using self-signed TLS certificates.
  • Streamlined Kamailio management including direct reload triggers and statistics extraction.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Requires
Bins curljq
Github Stars: 0
forks: 0

Featured*