This guide provides an overview of the SIP Trunking service offered by ThinkTel.
To initiate a SIP trunk interop with ThinkTel, the essential settings needed are as follows.
Our main switch is located in Edmonton: Metaswitch - 209.197.130.80
Signaling and RTP Information by Proxy
SIP Signaling Configuration
If you are using any of the proxies listed below, please ensure that UDP port 5060 is open and allowed for SIP signaling.
Recommended – Perimeta SBCs
We highly recommend using our new Perimeta Session Border Controllers (SBCs) for improved performance and reliability:
-
Toronto Perimeta SBC
tor-isc-ws1.sbc.tprm.ca
– 69.171.129.12, Port 5060 -
Edmonton Perimeta SBC
edm-isc-ws1.sbc.tprm.ca
– 66.49.241.12, Port 5060
Important Note:
When adding a new binding using tor-isc-ws1.sbc.tprm.ca or edm-isc-ws1.sbc.tprm.ca, please ensure you contact the Technical Services Team to have the associated IP address manually whitelisted in our system.
This step is required to ensure proper connectivity and service functionality.
Legacy Proxies (Still Supported)
-
Eastern Canada – Traditional Proxy
tor.trk.tprm.ca
– 206.80.250.100
Primarily assigned to Eastern Canada-based PBX trunks
Supports NAT and public IP configurations -
Western Canada – Traditional Proxy
edm.trk.tprm.ca
– 208.68.17.52
Primarily assigned to Western Canada-based PBX trunks
Supports NAT and public IP configuration
RTP Configuration Requirements
If you are using any of the SIP proxies listed below, you must ensure that your firewall allows UDP traffic on ports 10000 to 65500 for RTP (Real-Time Transport Protocol).
Authorized RTP IP Ranges by Proxy
-
tor-isc-ws1.sbc.tprm.ca (Toronto Perimeta SBC)
-
69.171.129.0/28
-
-
edm-isc-ws1.sbc.tprm.ca (Edmonton Perimeta SBC)
-
66.49.241.0/28
-
-
edm.trk.tprm.ca (Legacy Western Proxy)
-
208.68.17.32/27
-
206.80.250.96/27
-
-
tor.trk.tprm.ca (Legacy Eastern Proxy)
-
208.68.17.32/27
-
206.80.250.96/27
-
SIP and RTP Configuration for OCS Proxies
1. SIP Signaling – TCP Port 5060
If you are using the following OCS proxies, please ensure TCP port 5060 is open for SIP signaling:
-
edm.ocs.tprm.ca –
208.68.17.53
(Western Canada) -
tor.ocs.tprm.ca –
206.80.250.104
(Eastern Canada)
2. RTP (Media) – UDP Ports 49152 to 57500
For media traffic (RTP), you must allow UDP ports 49152 through 57500 from the following IP ranges:
-
edm.ocs.tprm.ca
-
208.68.17.32/27
-
206.80.250.96/27
-
-
tor.ocs.tprm.ca
-
208.68.17.32/27
-
206.80.250.96/27
-
3. Outbound UDP Requirements
In addition to the above, you must allow all outbound UDP traffic to our network on ports 10000 through 65535, to ensure proper media transmission and failover behavior.
For more information on the required ports your mediation server must have published please see the following Microsoft documentation.
http://technet.microsoft.com/en-us/library/gg398833.aspx
-
We identify each SIP trunk with a pilot number, a 10-digit number local to your VoIP gateway, similar to how Telco's assign pilot numbers to conventional PRI's. Please refer to your pilot number when placing orders for DIDs, channels, etc. The requested number of channels for a SIP trunk is activated once the initial interop stage is complete and your account is active with ThinkTel. This can also be done via uControl.
-
Ensure that your PBX or gateway supports DNS SRV records.
-
By default, we offer the following codecs: G711, G729 (renegotiation to T.38 is accepted from g711 when supported for Fax over IP). Other codecs might be available upon request.
-
Configure DTMF for RFC2833 (out of band).
-
If you are running Asterisk, TrixBox or OpenPBX, please ensure that canreinvite=no is set in the SIP settings.
-
Disable any SIP ALG service on routers or firewalls as it is not compatible with our services. If enabled, you may experience registration or audio related issues that will negatively impact your ability to use our service.
-
Our switch sends out a SIP keep-alive OPTIONS request to the contact IP for your SIP trunk every 30 seconds. This is a standard SIP OPTIONS request that must be responded to with any valid SIP response. If no response is received within 30 seconds of the request, the switch will send a request every 4 seconds, disable the SIP trunk binding associated with that particular IP and will not send further SIP invites until a response is received. This negates the need for REGISTER and registration should be disabled whenever possible.
-
We authenticate calls by both methods:
-
IP address: the VIA and Contact header must contain your contact IP address and port.
-
SIP credentials: the supplied username and password credentials must be sent in the authentication digest for all SIP requests that require authorization (INVITE, UPDATE, BYE, etc).
-
-
We allow up to 8 IP addresses per SIP trunk.
-
Each IP address/port combination creates a "binding" that is assigned to your SIP trunk.
-
Assigning the same binding to multiple SIP trunks can be accomplished with the following restriction:
-
Only one trunk is allowed to manage changing the caller ID with the use of a Custom Calling Party ID number.
o Example: If 3 different SIP trunks all use the same binding, only one of the SIP trunks will be configured to allow an arbitrary calling party number. That SIP trunk and associated charge number (Pilot) will be billed for all calls that have a Custom Calling Party caller ID.
-
- Each binding/IP assigned to a SIP trunk is used for origination and termination.
- The following options are available to route calls to your binding(s) / IP address(es):
- Round Robin: Incoming calls are sent to each binding assigned in your SIP trunk in turn. If the SIP response from your gateway is > 303 (404/Not Found or 503/Unavailable), our switch will send an INVITE to the next IP address until the INVITE is accepted with a SIP response < 303.
o Lowest Available: Use the preferred binding for as long as the trunk/binding will permit it and move on to the next in the list if the ones before are full/unavailable.
- Round Robin: Incoming calls are sent to each binding assigned in your SIP trunk in turn. If the SIP response from your gateway is > 303 (404/Not Found or 503/Unavailable), our switch will send an INVITE to the next IP address until the INVITE is accepted with a SIP response < 303.
- The following options are available to route calls to your binding(s) / IP address(es):
-
You can configure an Unavailable Call Forward for the SIP trunk as well as for individual DIDs. If all your bindings are down (not responding to our OPTION requests) calls will be forwarded to the defined Call Forward. The full procedure is documented here.