In this chapter, we are going to learn how to configure and manage a trunk, and how to set the parameters of a trunk. Add a trunk applied to calling to realize this function.

Add a trunk

In the PBX management→ Trunk management, choose “Add trunk”:

  • As for this page, we need to learn more information so as to configure the trunk.

Enter a name for the trunk to distinguish it from others, and choose which team it belongs to. Choose the protocol which you would like to apply to the trunk, SIP by default. The identity is generated by the system automatically. You can use the default templates as your trunk templates. Status is for you to decide if you would like this trunk to work. Others are optional to fill out.

Click “Advanced” to see more information:

  • There are 2 ways to register the trunk: authenticate the IP or user name and password. The supplier offers the second one, so we will just skip the “authenticating IP” way.

In the “Advance”, you need to enter the configuration parameter of the trunk in the “Detail”.

  • Write down the settings which match the trunk, use the IP to connect with the trunk. Write down the IP, username, password etc of the device as in the following figure:

host=121.28.. the server address where to register the number, so that Asterisk can find the telephone. username=dn.. User name secret=123.. Password

  • In the process of adding a trunk, * items are obliged to fill out, configure the parameters in the “Detail” to make it work. And only when the information is correct and matches, click save, then the trunk can be set up successfully.

Note:Adding or editing pages in the trunks after the top may be overloaded prompt, if there is overload prompted, please click the project the overloaded finished set to take effect.

Data saved successfully, it will pop up the following interface:

“Add a extension rate”(Described in detail in the rate of management), click on “add trunks rules, fill out the trunks rules.

Return to the trunks home, you can see the newly added trunks in the first row of the list, double-click on the data, you can open the editing interface to modify the operation of the section data

Black font, double-click to edit the modified mouse to leave the system to automatically save the information, in gray can not be modified, click the “Edit trunks rules, you can edit trunks rules can also set a good trunks rules to delete, click the “Delete” button.

  • Next we started to register softphone registered successfully after exhale.

Let's open the soft phone, right-click to open the softphone SIP account settings interface to register, click on “add” button

usernameFill in the registration string in the user name, password fill in the registration string authentication password, fill in the domain server addresses.

Completed, click on the OK button to close the window, the soft phone will show you the configuration successful

After all the settings, we can test the line is normal, can exhale

Configuration is successful, we can see that the number dialed, waiting for the state of the other party answers. Here you have successfully created an outgoing trunks.

  • Next, we re-introduce the call through the trunks, we need to register to the central office so that when sent to which the ip for the number of calls, the central office know to call, we will use the registration string.

The registration string: detailed description of the standard format of the registration string for the username: password @ ip: port; customers need to go to voip application, the user name and password given by the supplier, as well as the ip address of the voip line, port.

We open trunks editing interface, fill in the correct format for the registration string to register

The registration string is completed, then the numbers to dial-in will enter the system you can set the appropriate extension or go to ring group adapter to handle incoming calls.

Continue to understand theConfigure incoming and routing

en/newbie/configuring_a_trunk.txt · Last modified: 2017/12/12 03:05 (external edit)
Recent changes RSS feed Debian Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki