vicigeeksimple guides
Browse
Telephony

Carriers & SIP · Stage 6 · VoIP foundations

VoIP and SIP recap before your first VICIdial carrier

Confirm the local SIP transport, listener and network path before a carrier setup, while keeping internal-call evidence separate from external reachability.

Start the guide

01 / 06

1. Check the boundary before connecting a carrier

You can learn the browser course without a public carrier. The internal practice-call lesson is an acceptance exercise: its preflight, actual audio observation, disposition and matching report row determine whether your run passed. Reading the lesson or seeing a saved campaign is not proof of a completed call.

This page prepares a carrier handoff. It identifies the local signaling transport, listener and network path; it does not create a trunk, open a firewall or establish public telephone reachability.

You should seeContinue with read-only observations on the intended lab host. If you have not completed the course prerequisites, return to the preflight instead of assuming an internal call already worked.

First-call preflight and current evidence

Review VoIP basics

Review SIP basics

02 / 06

2. Record the three different addresses and paths

The local bind address/port belongs to the running SIP process. The public address/NAT mapping belongs to the network path. The provider hostname/port and authentication requirements belong to the carrier route. A value from one layer does not fill in the other two.

Signaling establishes and controls the session; media carries audio. A listener or SIP response does not establish two-way audio. Keep these observations separate in the handoff.

Values to collect before carrier configurationScroll sideways to compare columns
BoundaryWhere to obtain itWhat it does not prove
Local transport and bindRunning Asterisk transport inspectionPublic reachability or provider authentication
Local socketOperating system socket inspection with process visibilityNAT or external firewall behavior
Public/NAT mappingNetwork owner and actual deployed mappingA working carrier route
Provider route and media requirementsApproved carrier account and current matched documentationYour account’s enabled permissions or a completed call

You should seeEach required value has a source. Unknown public mapping or provider requirements remains an unresolved prerequisite.

03 / 06

3. Inspect the actual PJSIP transport

Run this on the Asterisk host for the intended lab. The command reads the running PJSIP configuration. Identify the transport name, protocol and local bind address/port relevant to the proposed route.

If the installation uses another channel driver, do not reinterpret its output as PJSIP evidence. Ask the owner to identify the driver and use the corresponding installed recipe.

Before you use it
Use an authorized shell on the actual lab Asterisk host. This reads configuration and makes no call.
Show the configured PJSIP transports
asterisk -rx 'pjsip show transports'
Evidence · ViciBox 12 demo capture

Captured demo response · 2026-09-23 21:35 UTC. Any filtering, hidden values or test-only data are identified in the capture label. Select Replay transcript to read the recorded output.

Command output line: asterisk -rx 'pjsip show transports'
Transport: <TransportId........> <Type> <cos> <tos> <BindAddress....................>
==========================================================================================
Transport: transport-udp udp 0 96 0.0.0.0:5061
Transport: transport-wss wss 0 0 0.0.0.0:5060
Objects found: 2
Success looks like
The retained lab capture shows transport-udp bound to 0.0.0.0:5061 and also lists transport-wss. Those are dated lab observations, not defaults to copy. Record your own relevant transport and bind.
Stop if
No such command or no transports: confirm PJSIP is the installed/loaded driver with the owner. Permission failure: obtain inspection access. An unexpected bind needs investigation before proceeding.

You should seeYou have a transport/protocol/local-bind tuple from your intended host. It still says nothing about public reachability, registration or audio.

04 / 06

4. Cross-check the socket at the operating system

The retained command checks UDP sockets and filters to the Asterisk process. It requires permission to see process names. Empty filtered output may mean missing visibility, a different protocol or a missing listener; it is not automatically proof that the service is stopped.

For a TCP/TLS/WSS route, have the owner inspect TCP listeners as well. This UDP-only example cannot verify those sockets. Preserve the selected protocol in the handoff.

Before you use it
Use the same host and a shell authorized to see socket/process information. This exact sample inspects UDP only.
Confirm Asterisk's listening socket
ss -lnup | grep asterisk
Evidence · ViciBox 12 demo capture

Captured demo response · 2026-09-23 21:35 UTC. Any filtering, hidden values or test-only data are identified in the capture label. Select Replay transcript to read the recorded output.

Command output line: ss -lnup | grep asterisk
UNCONN 0 0 0.0.0.0:4520 0.0.0.0:* users:(("asterisk",pid=3019,fd=20))
UNCONN 0 0 0.0.0.0:4569 0.0.0.0:* users:(("asterisk",pid=3019,fd=17))
UNCONN 0 0 0.0.0.0:5060 0.0.0.0:* users:(("asterisk",pid=3019,fd=16))
UNCONN 0 0 0.0.0.0:5061 0.0.0.0:* users:(("asterisk",pid=3019,fd=13))
UNCONN 0 0 0.0.0.0:2069 0.0.0.0:* users:(("asterisk",pid=3019,fd=11))
UNCONN 0 0 [[address]]:23043 [[address]]:* users:(("asterisk",pid=3019,fd=12))
Success looks like
Match the intended UDP bind from PJSIP to its socket. The retained lab has more than one Asterisk UDP listener; do not mistake another driver’s port for the selected PJSIP transport.
Stop if
If there is no match, check permissions and protocol first, then inspect the actual bind with the owner. Stop before writing firewall rules if the two observations disagree.

You should seeThe selected local UDP transport and socket agree, or a specific visibility/protocol/bind discrepancy is recorded. External firewall and NAT reachability are still untested.

05 / 06

5. Identify the local route and ask for the public mapping

Read the local interfaces and routing table. Keep the output private because it contains deployment addresses. Identify the interface and route relevant to the chosen carrier path with the network owner.

These commands cannot tell you the full public NAT mapping or provider-side policy. Obtain those separately. If the host has multiple interfaces or policy routing, do not guess from the first displayed default route.

Before you use it
Run on the intended lab host; neither command changes networking.
Confirm addressing and routing
ip -brief addressip route
Evidence · ViciBox 12 demo capture

Captured demo response · 2026-09-23 21:35 UTC. Any filtering, hidden values or test-only data are identified in the capture label. Select Replay transcript to read the recorded output.

Command output line: ip -brief address
lo UNKNOWN 127.0.0.1/8 [address]/128
eth0 UP [address]/32 [address]/64
Command output line: ip route
default via [address] dev eth0 proto dhcp
[address] dev eth0 proto dhcp scope link
Success looks like
You and the network owner can identify the relevant local interface and route, then state the separately confirmed public/NAT mapping.
Stop if
Missing or unexpected routing, an unknown mapping or insufficient access leaves the carrier prerequisite unresolved; hand the observations to the network owner.

You should seeThe private handoff records local transport, socket, interface/route and separately confirmed public mapping with timestamps.

06 / 06

6. Continue only when the handoff is complete

Open the carrier guide with an approved provider account and a reviewed test destination. Bring the observed transport/protocol/local bind, network mapping, installed versions and provider requirements. The carrier lesson must then verify its own signaling and media outcomes.

If your goal is only the course’s internal exercise, stay with its preflight and cleanup procedure. An internal Echo result, when actually observed, tests a different route from a public carrier call.

You should seeEither continue with a complete carrier prerequisite record, or name the missing value and its owner. No setting is changed by this page.

Open the scoped SIP carrier guide

Return to the internal practice-call preflight

  • Installed host/driver/version and observation time recorded.
  • Relevant local transport matches the socket for the same protocol.
  • Public mapping and provider requirements are confirmed separately.
  • Internal-call result is labeled from actual observations; no carrier outcome is inferred.

Checks and sources

What was checked

  • This guide has dated terminal command replays, but no capture of a configured carrier, public NAT path or provider-side signaling exchange. Those states require the separate carrier exercise; a local transport or listening socket does not establish external call routing.
  • Retained exact command captures establish only the dated lab transport, local UDP listeners and network observations shown. They do not demonstrate public reachability, provider authentication or a completed call.
  • The linked current first-call lesson owns its preflight and observed outcome record; this recap makes no independent completed-call claim.

Primary references

Sources

  1. VICIdial open source contact center suiteVICIdial Group · accessed September 23, 2026
  2. Asterisk PJSIP troubleshooting guideAsterisk · accessed November 6, 2026