PortSIP
From VoIP.ms Wiki
_TOC_
Contents |
Create a SIP Trunk on the VoIP.ms Platform
To create a new SIP trunk on the VoIP.ms platform:
- Go to Main Menu and click Account settings
- Under the Inbound Settings tab:
- Protocol: Select SIP
- Device Type: Select IP PBX Server, then apply the change.
Link DIDs to Main Account
You need to make sure that the DIDs ordered are linked to your Main Account.
- Navigate to the menu DID Numbers > Manage DID(s).
- Click on the Edit DID icon and make sure that the routing points to SIP/IAX and your main account.
Collecting Settings for PortSIP PBX
In order to be able to register and operate the trunk in your PortSIP PBX, you will to gather some information that will be needed in the configuration of the trunk in PortSIP PBX.
- Username: The username for registering the trunk can be found under the Main Menu > Account Information.
- Password: The trunk password can be found in the email you received from VoIP.ms during the registration process. You can also change the password by navigating to the menu Main Menu > Account Settings > Security.
- DID numbers: The DID numbers can be seen by navigating to the menu DID Numbers > Manage DID(s).
- Registrar for North America: If you are located in North America, navigate to Main Menu > Account Settings > Default DID Routing, select the United States tab, and make a note of the selected server. In this example, the server is sanjose2.voip.ms.
- Registrar for overseas: If you are located outside North America, go to Main Menu > Account Settings > Default DID Routing, click the International tab, and make a note of the selected server. In this example, the server is sydney1.voip.ms.
Configuring Trunk with PortSIP PBX
The Register Based VoIP.ms trunk refers to the Register Based Trunk in PortSIP PBX. You can configure the Register Based Trunk at either the PortSIP PBX system administrator level or the Tenant Admin level:
- If configured at the system administrator level, you can share this trunk with tenants.
- If configured at the tenant admin level, this trunk can only be used by the tenant itself.
Please follow the below steps:
- Sign in to the PortSIP PBX Web Portal as a System Administrator or Tenant Admin. Navigate to the left menu and select Call Manager > Trunks.
- Click the Add button to open a menu. From the menu, choose Register Based Trunk.
- Enter the trunk name and choose the brand:
- Name: Enter a friendly name for the trunk.
- Brand: Select VoIP.ms from the Brand field.
- DID Pool: This step is only for you at the Tenant admin Level to configure this Register Based Trunk, you will need to set up your VoIP.ms DID numbers for this DID pool for this trunk.
- This tenant can only use the DID numbers within the DID pool range to create inbound and outbound rules and configure the outbound caller ID for extensions.
- The DID pool can consist of a single number, a range of numbers, or a combination of both. For example:
- 13322496213
- 13322496213;13322496215
- 13322496213-13322496215;16468097069
- 13322496213-13322496215;16468097069-16468097079
- Hostname or Address: For this field, enter sanjose2.voip.ms that you noted in the Collecting Settings for PortSIP PBX.
- Associated IP Addresses: VoIP.ms offers many different points of presence, please add the the server IPs to the Associated IP Address with CIDR format. All traffic originating from these IP addresses will be recognized as VoIP.ms trunk and the anti-hacking algorithms will not come into effect. For more information on the IPs related to our servers, click here.
- Click the Next button, and provide the SIP trunk authentication name and password set up for the SIP trunk on the VoIP.ms platform(Collecting Settings for PortSIP PBX).
- Click the Next button, you can adjust the options for the trunk.
- Max Concurrent Calls: This field sets the maximum number of calls that PortSIP can establish with this trunk. You can adjust it to an appropriate value.
- We recommend keeping the default settings for other options unless you have specific requirements.
- This step is only available when configuring the Register-Based Trunk at the System Administrator Level. Click the Next button to assign this trunk to the tenants and provide your VoIP.MS DIDs/Numbers to them with the DID Pool (DID numbers). A DID can be only assigned to one tenant.
- A tenant assigned to this trunk can only use the DID numbers within the DID pool range to create inbound and outbound rules and configure the outbound caller ID for extensions.
- DID Pool: The DID pool can consist of a single number, a range of numbers, or a combination of both. For example:
- 13322496213
- 13322496213;13322496215
- 13322496213-13322496215;16468097069
- 13322496213-13322496215;16468097069-16468097079
- Click the OK button to save the changes, the trunk configuration is completed.
- Once the PortSIP PBX successfully registers this trunk to the VoIP.ms platform, in the trunk list page you will see the status displayed as Registered.
Configuring Outbound & Inbound Calls
You need to sign in to the PortSIP PBX web portal to create the outbound and inbound rule for make & receive calls.
Sign in PortSIP PBX Web Portal
You can sign in to the PortSIP PBX Web portal using one of the following methods:
- Sign in as the PBX system administrator, navigate to the Tenants menu, choose a tenant, and click the Manage button to switch to that tenant.
- Sign in as a tenant admin to manage the tenant.
Note: For more details, please refer to this link.
Add Outbound Rule in PortSIP PBX
In order to place outbound calls you need to configure Outbound Rules. Go to Call Manager > Outbound Rules in the left hand side menu and click the Add button:
- Give your Outbound Rule a name
- Set up at least one condition for this outbound rule in section Apply this rule to the following calls
- Scroll to the Place outbound calls using the following trunk routes section, click the Add icon, then select VoIP.ms Trunk and save the Outbound Rule.
When configuring your Outbound Rules make sure that all numbers are dialed either in the 10-digit (e.g. 3322496213), 11-digit format (e.g. 13322496213) or E164 format (e.g. +13322496213).
Depending on your users’ dialing habits, you may want to strip some of the leading digits or prepend the country code. For example, the below configuration can be used to prepend all dialed numbers with the leading 1 in case your users are accustomed to US domestic number in the national format.
Add Inbound Rule in PortSIP PBX
In order to receive inbound calls you need to configure Inbound Rules. Go to Call Manager > Outbound Rules in the left hand side menu and click the Add button:
- Give your Inbound Rule a name
- Click the Choose a Trunk button to select the trunk
- Enter the number for DID/DDI Number or Number Range field, the entered number must in the DID pool range of the selected trunk
- Set the extension to route calls to.
Click OK to save the rule. Depending on your business needs, you may set specific office hours for the rule and route calls to different extensions, voice mailbox or automatically drop the call based on the schedule.
Note: Please reference the article Office Hours and Holiday Schedule for more details.
For more details about the outbound and inbound rules configuration, please refer to the article Call Route Management.
