npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

audiocodes-cli

v0.1.1

Published

CLI for AudioCodes Mediant VE SBCs via REST API

Readme

AudioCodes CLI

npm version License: MIT Node.js Version Skills Buy Me a Coffee

A CLI tool for troubleshooting VoIP on AudioCodes Mediant VE SBCs via the REST API. Query call statistics, monitor alarms, check device health, and manage device configurations.

AudioCodes REST API information can be found at: AudioCodes REST API Reference.

Installation

npm install -g audiocodes-cli

Or run without installing:

npx audiocodes-cli --help

AI Agent Skills

npx skills add sieteunoseis/audiocodes-cli

Requirements

If you are using self-signed certificates on AudioCodes devices you may need to disable TLS verification, or use the --insecure CLI flag.

Tested with AudioCodes Mediant VE SBC firmware 7.40A.250.265 and 7.40A.600.203.

Quick Start

# Configure a device
audiocodes-cli config add lab-ve --host 10.0.0.50 --username Admin --password "$AUDIOCODES_PASSWORD" --insecure

# Test the connection
audiocodes-cli config test

# Check device health
audiocodes-cli doctor

# List active alarms
audiocodes-cli alarms list

# View call statistics
audiocodes-cli calls list

# Browse KPI metrics
audiocodes-cli kpi list
audiocodes-cli kpi show system/licenseStats/global

# Backup device config
audiocodes-cli device backup

Configuration

audiocodes-cli config add <name> --host <host> --username <user> --password <pass> --insecure
audiocodes-cli config use <name>       # switch active device
audiocodes-cli config list             # list all devices
audiocodes-cli config show             # show active device (masks passwords)
audiocodes-cli config remove <name>    # remove a device
audiocodes-cli config test             # test connectivity

Auth precedence: CLI flags > env vars (AUDIOCODES_HOST, AUDIOCODES_USERNAME, AUDIOCODES_PASSWORD) > config file.

Config stored at ~/.audiocodes-cli/config.json. Supports ss-cli <ss:ID:field> placeholders.

The host field supports both https://hostname (default) and http://hostname for devices without TLS.

CLI Commands

| Command | Description | | -------------------------------------- | ---------------------------------------------------- | | calls list | View call statistics (global, per-IP-group, per-SRD) | | alarms list | List active alarms with optional severity filter | | alarms history | View alarm history | | kpi list | List available KPI categories | | kpi show <path> | Show real-time KPI metrics at a path | | kpi history <path> | Show historical KPI metrics (15-min intervals) | | device status | Show device status information | | device backup | Download device INI configuration | | device save | Save running config to NVRAM | | device license | Show license information | | device tls | Show TLS certificate status | | test-call dial | Start a SIP test call from the SBC | | test-call status <id> | Get test call status and results | | test-call show | Show test call configuration | | test-call drop <id> | End an active test call | | debug collect | Trigger and download debug file | | doctor | Check REST API connectivity and device health | | config add/use/list/show/remove/test | Manage device configurations |

Firmware Compatibility

Not all CLI commands are available on every firmware version. The table below shows command availability by firmware build:

| Command | 7.40A.250 (LTS) | 7.40A.600+ (LR) | 7.40A.604+ (LTS) | | ---------------------------- | :-------------: | :-------------: | :--------------: | | calls list | Yes | Yes | Yes | | alarms list | Yes | Yes | Yes | | alarms history | Yes | Yes | Yes | | kpi list/show/history | Yes | Yes | Yes | | device status | Yes | Yes | Yes | | device backup | Yes | Yes | Yes | | device save | Yes | Yes | Yes | | device license | Yes | Yes | Yes | | device tls | Yes | Yes | Yes | | debug collect | No | Yes | Yes | | test-call dial/status/drop | No | Yes | Yes | | doctor | Yes | Yes | Yes | | config * | Yes | Yes | Yes |

Note: The test-call and debug collect commands require firmware 7.40A.600 or later. Devices on 7.40A.250.x will return errors for these commands.

Global Flags

| Flag | Description | | --------------------------------- | ------------------------------------- | | --format table\|json\|toon\|csv | Output format (default: table) | | --host <host> | Override device hostname | | --username <user> | Override username | | --password <pass> | Override password | | --device <name> | Select named device from config | | --insecure | Skip TLS certificate verification | | --clean | Remove empty/null values from results | | --no-audit | Disable audit logging | | --debug | Enable debug logging |

Giving Back

If you found this helpful, consider:

"Buy Me A Coffee"

License

MIT