To be able to create trunk first you will need to create a Provider first.
In your PBXware GUI go to:
Settings -> Providers -> Add Custom Provider
Select VOIP for Type and SIP for Protocol.
Enter name of your provider in field Name.
NOTE: Settings we use in this example are most common settings used for SIP trunks, please be aware that your provider might request different settings. In case your trunk is not working after you finished all the steps explained in this how to, please contact your provider to see if there are any additional options that have to be enabled/disabled in order for your trunk to work. In PBXware 3.8 User Type for trunk must be set to peer
Insert these values in associated fields, make a selection in radio buttons or select them from a drop down list:
Select only codecs you will use. Most commonly used codecs are G.711 ulaw, G.711 alaw G.729 and GSM. G.729 codec is commercial and license must be purchased from Digium. Also, G.729 codec must be installed on PBXware in order to be used. Checking G.729 will take effect only if codec is already installed.
For more information on how to install G.729 codec please check our HOWTO g729 Manual Install
Save your provider.
Now you will need to create a trunk. Go to Trunks and click Add Trunk.
Select provider you created from the Provider drop down list and click Next step button.
You will see basic settings window.
NOTE: If this value is set to yes, this trunk will be set as a default trunk for calls to emergency services, for example 911. Be carefull when setting emergency trunk value, specially with multiple trunks set up on your system. In case of emergency, you don't want to make a call to Emergency services in another country.
In order for this to work, you will have to enter Emergency Services numbers in
Settings -> Servers/Tenants -> Edit server/Edit each Tenant -> Locality (section) -> Emergency Services)
NOTE: Some providers use different methods of authentication so Secret might not be provided.
Now, you will need to add few more things in order for your trunk to be able to connect to your provider so click Advanced Options.
These values define how many concurrent calls, both inbound and outbound, can be made through this trunk.
Click Save button to accept changes and create your trunk.
NOTE: If your providers requirements match settings used in this HowTo, after you save your new trunk you should be able to make outbound calls.
To be able to receive inbound calls you will have to create DID.
For more information on DIDs check DID section in our PBXware Administration Manual.