Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »

On this page

šŸ“‹ What is a Trunk?

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.

The SIP trunk configuration will depend on your VoIP provider. There are registration-based SIP 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

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

šŸ’” 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:

āš™ļø Manage a Trunk

Create

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

  • 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

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

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 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

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:

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.

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

  • No labels