Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
ON THIS PAGE:

On this page

Table of Contents
minLevel1
maxLevel2
outlinefalse
stylenone
typelist
printablefalse

📋 What is a Trunk?

Image Removed  A Trunk is a SIP connection between your phone system and a VOIP provider for inbound and outbound calls. This section covers topics related to managing trunks.

Info

The SIP trunk configuration will depend on your VoIP provider. There are registration-based SIP Trunk Trunks i.e. via username and password, and IP-based trunks, i.e. PBX public IP is linked to the provider.
Please check with your provider the necessary configuration parameters.

For Sample trunk configurations go to: V3 Examples - Trunks

warning
Note

Don't forget to configure the Inbound and Outbound routes to properly route the incoming and outgoing calls

The Trunks section

💡 How it works

You can find the Trunks section under the Tools menu:

When you click on it, you can see all the already existing Trunks or configure new ones:

Image RemovedImage Added
Create

⚙️ Manage a Trunk

Create

If you want to create a new trunk click on the Image Removed(blue star)  button and enter:

Image RemovedImage Added
  • the Trunk Name

  • the Domain/Host name (ask the Provider)

  • Authentication Password

  • Default User Name

  • Trunk Registry string (which is usually defaultuser:password@host)

Before adding the new trunk, remember to activate it by clicking the Active flag

Edit/Modify

a Trunk

Once a trunk has been created, you can edit it to change default values:

Image RemovedImage Added

You can also duplicate a trunk (Clone Trunk) and modify the copy.

Settings

In the Settings Section, you can change general settings inserted at trunk generation (like name, default user, password, context and so on) plus a set of other parameters (in this section and in the Advanced and Other Fields).

In the following example, you have all the default parameters for the demo trunk (configured during installation):

Advanced

image-20240229-132602.png

Other Fields

Tipinfo

TIP:

Refer to the official Asterisk documentation for further information about the Voice service configuration

🔍 Monitor Trunk Status

To monitor the trunk registration status go to Realtime in the Voice Section:

and then click on the tab Trunks:

Image RemovedImage Added

In the trunk realtime environment you see:

  • Trunk Status, which shows status of a SIP trunk registration to motion server

  • Registry, which shows SIP registration status when Motion registers as a client to the provider.

Info

You can also obtains the same result by clicking on Go to Realtime Trunk on the trunks list command menu:

Image RemovedImage Added