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.
In the PBX management→ Trunk management, choose “Add 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:
In the “Advance”, you need to enter the configuration parameter of the trunk in the “Detail”.
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
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.
Let's open the soft phone, right-click to open the softphone SIP account settings interface to register, click on “add” button
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.
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