The SIP Trunks serve connecting PrivateServer to a local PBX or to a SIP Voice provider. The above statement implies that a Trunk can be used both for receiving and placing calls in a bidirectional way.
|By Secure Call design the SIP Trunks are available only for the PrivateGSM Enterprise Edition. PrivateGSM Professional Edition can't place calls on a Trunk.|
The PrivateServer is designed to perform always as a client when configuring a SIP Trunk. This means that PrivateServer itself can not act as a Trunk Provider.
Even if a SIP Trunk can receive and place calls PrivateServer has to be configured to act in a bidirectional way. The Trunk setup should be done for the incoming calls first and after this function is enabled you can setup it for outgoing calls as well.
The incoming calls Trunks are configured in the Inbound entry that you access under Main Menu -> PBX INTEGRATION. Outgoing calls are configured into the Outbound entry that is under the Inbound one.
Click on the "Inbound" link in menu on the left side to go to the "Sip Trunk List" page.
illustrates this page, with an empty table and a "New Sip Trunk" icon above it. This is the default empty configuration.
Click on the New Sip Trunk to go to the Edit Sip Trunk page:
There are two types of trunk that you can create, depending on the authentication type:
The fields have to be configured as follows:
The called number in inbound calls passing through the trunk should match the number of an internal account or a virtual phone number associated with an account. This way the correct SIP phone will ring.
The default values for Port, Allow and Disallow are usually work well, however feel free to change them to suite your needs better.
Mandatory fields are:
If the trunk is going to be also used for OUTBOUND calls (external calls) you need to be sure that the "Register" checkbox is checked. In this case the "Name" and "Secret" fields are mandatory as well. Otherwise you can uncheck the "Register" checkbox so the above fields will become optional.
Fill out the fields accordingly to the guidelines above and when you are done click on the "Update" icon at the bottom of the page.
You can get back to the "Sip Trunk List" page where the Sip Trunk table is now filled based on your settings ().
A notification will inform you about the progress of the operation. The number shown in the notification is an internal identifier in the database and thus can be ignored.
To check the entered data of the SIP Trunk click on the "Host" value into the table (for example in this case you should click on "10.0.0.101"). This will open again the Edit Sip Trunk page with the previously entered data.
On the Edit Sip Trunk page you can change the values of the Inbound Trunk fields. When you are done commit the changes by clicking on the Update icon.
Click again on the "Host" value and verify the values of the fields are actually changed.
To delete a trunk you need to select it in the trunk list. Click on the selected trunk and you'll be taken to the Edit Sip Trunk page. Click on the Delete icon at the bottom of the page to delete the Sip Trunk.
Click on the "Outbound" link in menu on the left side so you get to the "Dialling Rule List" page. Here you can choose the default outbound trunk or set up the dialling rule to route the calls on a specific one.
As soon as the page is presented to you, you can see it as in . The upper side is about the Default Trunk used for outbound calls. By default any outbound call is Blocked and this behaviour stills until a SIP Trunk is chosen.
To choose the default Trunk you just need to click on the "BLOCKED" tag and then you can use the drop down menu as in .
If no Inbound Trunk has been configured, then the drop-down menu is empty.
Once you're done you can press the "Update" button to confirm your choice. You return to the "Dialling Rule List" page and this time the "Default Outbound" option is set to the trunk you choose.
The Outbound Trunks can also be selected by dialling a prefix. If you need to create conditional routing rules for Outbound calls, then you need to use the lower section of the "Dialling Rule List" page (cfr. ).
After you press the "New Dialling Rule" button (which is shown in ) you are redirected to the "Create Dialling Rule" form (shown below).