SIP Trunk Template (3CX)

Created by Daniel Kauffer, Modified on Mon, 17 Apr 2023 at 11:32 AM by Daniel Kauffer

In this guide, we will walk you through setting up a Basic SIP Trunk on your 3CX Switchboard. 

Please note that this is only an example configuration, and you may need to modify the settings based on your specific requirements and setup. 



 

To get started, log in to your 3CX Switchboard with your admin credentials. Then, on the left column menu, click on "SIP Trunks."




Next, click on "Add SIP Trunk."




Select "Generic" SIP Trunk/VoIP Provider and then choose "Generic SIP Trunk." 

If you have been provided with a virtual number (DID) by Megacall, add this number as the "Main Trunk No." 

If you don't have any number, just add a random number with a minimum of four digits (e.g., 1111).

 



Now you will get a form that you must fill out with the SIP Trunk credentials.


Under Trunk Details, I suggest changing the SIP Trunk name. Add Megacall's Gateway and define the Limit of Channels (simultaneous calls).






Authentication 


By default, Megacall sets up the SIP Trunk authenticating your Switchboard IP, so you don't need to add the User ID or Auth. Password as we are already authorizing any calls received from your Switchboard IP.






Route calls to 


Under "Route calls to," you can set the Main Trunk No you typed at the beginning when creating the SIP Trunk to assign it to a group or an extension. 

You can also define the SIP Trunk Office hours in case you wish to disable the calls out of hours through this SIP Trunk.







Add Inbound DIDs:


To add Inbound DIDs, go inside the SIP Trunk configuration, open the tab "DIDs," and in this section, you can add all the inbound numbers you bought from Megacall. Remember, numbers must always include the International prefix; do not add "00" or "+" in front of the country prefix.






SIP Trunk OPTIONS:


Under the SIP Trunk OPTIONS tab, check the following options only:




SIP Trunk OUTBOUND PARAMETERS:

Next, go to the last tab called "Outbound Parameters."




Make sure it matches the following values:







Finally, once you have completed all the above steps, press the OK button on the top of the page to save and apply the SIP Trunk configuration.





Once this is completed, you are ready to open the Outbound Rules and add this SIP Trunk to your Dialplan.




If you have any questions or experience any issues, please contact our Technical Support team at "support@megacall.es" for further assistance.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article