Back to Skills

asterisk-tester

Тестирование сценариев Asterisk dialplan и потоков звонков используя безопасные Local каналы. Использовать при тестировании логики маршрутизации звонков, отладке проблем dialplan или проверке потоков IVR меню.

513stars75forksUpdated 2/17/2026

Security Assessment

Safe(100/100)
Security Score100/100

About asterisk-tester

The asterisk-tester skill is designed to assist in testing and validating Asterisk dialplan scenarios and call flows. It helps users simulate call scenarios, verify routing logic, and troubleshoot dialplan issues in Asterisk environments. This skill is especially useful for debugging call routing, testing IVR menu flows, and validating AGI/AMI integrations by simulating real-time call flows and analyzing the dialplan behavior. It helps ensure that Asterisk systems work as expected before deployment or in troubleshooting situations.

The skill provides a suite of tools for analyzing dialplan contexts, extensions, and patterns. It includes capabilities for simulating call flows, testing time-based conditions, verifying pattern matching, and ensuring call flows match the expected behavior. The skill also allows for testing IVR menus and handling DTMF inputs, as well as verifying the behavior of time-based routing conditions. Additionally, it supports AGI/AMI testing and the simulation of real calls using the originate command.

This skill is targeted at Asterisk administrators, engineers, and developers who need to test and troubleshoot dialplan logic, verify call flows, and ensure that various conditions (such as time-based routing or IVR behavior) are correctly implemented. It is ideal for those modifying dialplans, verifying call routing, or debugging complex call scenarios in Asterisk-based PBX systems.

FAQ

How do I test a specific extension or call flow?

You can test a specific extension or call flow by using the 'dialplan show' command in Asterisk CLI. For example, 'docker exec <id> asterisk -rx "dialplan show <extension>@<context>"' will show the details of the extension and its associated call flow.

Can I simulate real calls with this skill?

Yes, the skill allows you to simulate real calls using the 'originate' command in Asterisk CLI. For instance, 'docker exec <id> asterisk -rx "channel originate Local/<extension>@<context> application Wait 10"' simulates a call to a specific extension.

What tools or prerequisites are required to use this skill?

To use the asterisk-tester skill, you need access to Asterisk CLI in a Docker container with the necessary permissions. The skill also requires tools such as Bash, Read, Grep, and Glob for executing commands and analyzing the dialplan.

Can this skill be used for testing IVR menus?

Yes, the skill supports testing of IVR menus. You can use commands like 'docker exec <id> asterisk -rx "dialplan show ivr-<number>@<context>"' to verify IVR structure, and simulate DTMF inputs with the 'channel originate' command.

Is there any support for testing time-based conditions?

Yes, the skill includes tools for testing time-based conditions. You can use the 'dialplan show' command to verify time conditions and check for time expressions within the dialplan logic.

Install asterisk-tester

Download and extract the skill files to your .claude/skills/ directory.

Quick Setup:

  1. Copy the skill folder to .claude/skills/
  2. Claude will automatically detect and use the skill

Repository

mikopbx/Core