configure-routing

Configure Webex Calling trunks, route groups, dial plans, and PSTN connections via wxcli commands.

3|Updated Mar 20, 2026
One-click install
npx skills add https://github.com/achobgood/wxops --skill configure-routing-achobgood
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: configure-routing
Source: https://github.com/achobgood/wxops/tree/main/.claude/skills/configure-routing
Command: npx skills add https://github.com/achobgood/wxops --skill configure-routing-achobgood

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Setting up Webex Calling routing infrastructure requires creating interdependent components (trunks, route groups, dial plans, PSTN connections) in a strict order, and mistakes can disrupt live production call routing. This Skill guides an AI agent through the full dependency chain with prerequisite checks, a confirmation-gated deployment plan, and end-to-end verification. ## Core Features & Use Cases - Dependency-ordered provisioning: Creates Trunk → Route Group → Dial Plan/Route List → PSTN Connection in the correct sequence, with reverse-order teardown guidance. - Digit manipulation: Configures org-level and location-level translation patterns for stripping prefixes, adding country codes, and rewriting number ranges. - Routing validation: Simulates call routing with test-call-routing to confirm patterns resolve correctly before and after changes. - Use Case: Connect a new office location to PSTN via an on-premises Cisco CUBE gateway — the Skill verifies auth scopes, creates a registering trunk, builds a dial plan with +1! patterns, sets the location's PSTN connection, and tests routing end-to-end. ## Quick Start Ask the agent to set up PSTN routing for a location by creating a trunk, dial plan, and PSTN connection using wxcli.

Frequently Asked Questions about configure-routing

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a Webex Calling trunk from the command line?

Use `wxcli call-routing create-trunks` with a name, location ID, password, and trunk type (REGISTERING for Cisco CUBE or CERTIFICATE_BASED for third-party SBCs). Certificate-based trunks also require address, domain, port, and max concurrent calls.

What is the correct order to create Webex routing components?

Create Trunk first, then Route Group, then Dial Plan and Route List in parallel, then PSTN Connection. Each component references the previous one, so reversing the order fails. Delete in reverse order to avoid error 27350 for referenced resources.

How do I test Webex call routing without placing a call?

Run `wxcli call-routing test-call-routing` with an originator ID, originator type, and destination number. The response shows destinationType, isRejected, and which dial plan matched. The originator must be a calling-enabled user or the API returns 404.

Can I change a Webex trunk type or location after creation?

No. Trunk type, location ID, and device type are immutable after creation — you must delete and recreate the trunk. Also note that trunk updates always require both name and password, even when changing only one field.

Why does my Webex dial plan creation return a 400 error?

The dialPatterns format differs between create and modify operations. Create takes a plain string array, while modify takes objects with a dialPattern and action field. Using the modify format on create returns 400 "Invalid field value: dialPatterns".

Which Webex PSTN connection types are configurable via API?

Only LOCAL_GATEWAY and NON_INTEGRATED_CCP can be set through the API using `wxcli pstn update`. INTEGRATED_CCP and CISCO_PSTN must be configured manually in Control Hub.