User:Roy/Sandbox - VoIP.ms Wiki

Check out our YouTube channel to watch our simple tutorials that will help you set up most of our features.

User:Roy/Sandbox

From VoIP.ms Wiki

Revision as of 17:38, 19 April 2019 by Roy (Talk | contribs)
Jump to: navigation, search

Contents

Creating a trunk

To create a new VoIP.ms trunk head to Extension/Trunk>> VoIP trunks, from the left panel. In this section, you can choose to add a SIP or an IAX trunk.

Click to enlarge

SIP Trunk

To create a SIP trunk you only need to fill some basic information.

  • Type: Choose "Register SIP trunk" from the dropdown menu
  • Provider Name: Type VoIP.ms (any name can be used), if not listed
  • Host: Type the domain name of any server listed here: https://wiki.voip.ms/article/Choosing_Server
  • Keep trunk CID: Enable it, if you want the trunk to send its own CID number or disable it if your extensions are going to send their own CID number
  • Username: Type your account's number or if you're using a sub-account type its name.
  • Password: Type your SIP password for this account

When done, just click on "Save" button. Your new trunk will be created but changes won't take effect until you click on "Apply changes" button, we can do this later when the set up is complete.

If you get a pop-up window letting you know about the SIP port number, just click "Ok"

Click to enlarge

Once your basic SIP trunk has been created we will proceed to improve some settings on it, click on the edit icon for your trunk.

New settings will show up, in order to send your SIP headers as we require, please make sure the "fromuser" field has your account or sub-account name in it. In short, username and fromuser fields should contain the same information.

Click to enlarge

Now click at "Advanced Settings" and at "Codec Preference" use only the supported codecs by VoIP.ms. At the right column choose only G.729, PCMU, GSM in this order.

If your trunk is going to send its own CID number you can use PAI (P-Asserted-Identity) header. You only need to enable "Send PAI Header" and type the caller ID name and Caller ID number your trunk will send by using the following format: YourName<YourPhoneNumber>.

In order to send PAI header successfully, bear in mind that no CID number must be set from your VoIP.ms portal at your account or sub-accounts section, otherwise the CID number set in your portal will override the one sent by your trunk.

We also suggest enabling "Enable Heartbeat Detection" in order to send SIP OPTIONS messages to our server and avoid your modem to close your local SIP ports. Make "Heartbeat Frequency" to 50 seconds, this should be enough time to renew your local SIP port connection.

Finally, just click on "Save" button and at this stage, you can also click on "Apply Changes". Your trunk should be shown as "Registered" from your VoIP.ms dashboard, however, no calls will work until you set up your outbound and inbound routes.

Click to enlarge

IAX2 Trunk

To create an IAX2 trunk just fill the following information:

  • Type: Register IAX trunk
  • Provider Name: Type VoIP.ms (any name can be used), if not listed
  • Host: Type the domain name of any server listed here: https://wiki.voip.ms/article/Choosing_Server
  • Keep trunk CID: Enable it, if you want the trunk to send its own CID number or disable it if your extensions are going to send their own CID number
  • Username: Type your account's number or if you're using a sub-account type its name.
  • Password: Type your SIP password for this account
Click to enlarge

Once your IAX2 trunk has been created make some improvements by clicking on the edit icon for your trunk and heading to "Advanced settings". Make sure only supported codecs by VoIP.ms are listed in the right column and also enable "Heartbeat Frequency" to send Keep Alive events to our server and avoid closing your local ports by your modem. "Heartbeat Frequency" should be set to 50 seconds.

Click to enlarge

Creating your outbound route

Outbound routes are the ones in charge of making match your dialing pattern and send your call through the proper trunk

VoIP.ms suggest to include the following patterns into your outbound route:

1NXXXXXXXX NXXXXXXXXX 4XXX 00. 011. 033. 044.

To create your outbound routes click on Extension/Trunk>> Outbound routes, from the left panel and click on "Add"

Click to enlarge

In this section you only need to fill the following fields:

  • Calling Rule Name: Any name you want for this route.
  • Pattern: The desired patter your callers need to dial. You can use the suggested dial pattern by VoIP.ms shown above.
  • Trunk: Choose your VoIP.ms trunk on where your call will be sent through.

Privilege Level: Choose the desired privilege your extensions must have to be able to use this route. If you use our dial pattern we suggest to set it to "International" since you will be able to place international calls. Bear in mind that an extension with an inferior privilege won't be able to use this route. You can hover over the field's name to gather more information.

Click to enlarge
Personal tools
Namespaces
Variants
Actions
VoIP.ms Wiki
Guides 🇨🇦
Guías 🇲🇽