Please login to your ElastixPBX system.
Go to PBX tab as shown.
Go to ‘Trunks’ located on the side bar, then click on ‘Add SIP Trunk’
Fill up the your SIP account information as shown below.
Trunk Name: Give a meaning full name to your trunk
Outbound Caller ID: This should be your SIP username
CID Options: Please set it to “Force Trunk CID”
Fill up outgoing details as shown below.
Peers Details: Please copy from text below to fill it up, replacing username and secret with your SIP username and SIP password.
Leave incoming settings empty, skip to registration, replace with appropriate values and submit your changes.
Next, go to Outbound Routes to add a route.
Route Name: Give your route name a meaning full name
Dial Patterns: Follow the pattern as shown in the image
Trunk: Choose the trunk that you have just created
And then submit your changes.
Once you have registered an extension to your ElastixPBX, any calls made should be routed through AlienVoIP.