SIP trunks connect a Mitel ICP to the Public Switched Telephone Network (PSTN) via the Internet using Voice over IP (VoIP). This setup provides an anchor point for media streams and protects the switch from malformed messages, unauthorized use and attacks.
To add a SIP trunk on MBG:
SIP Trunk Options |
||
Field |
Description |
Notes |
Name |
Enter a name for the SIP trunk. |
|
Remote trunk endpoint address |
Enter the IP address or DNS hostname of the remote endpoint. If the carrier has multiple IP addresses, enter a Fully Qualified Domain Name (FQDN) for the hostname. |
If a FQDN is entered as the hostname, the system will use DNS to resolve the name into a list of IP addresses and then accept traffic from any of them. |
Remote trunk endpoint port |
Enter port configuration for the remote endpoint OR accept the default. If using TLS transport protocol port 5061 must be used. |
Default is 5060. |
Accept traffic from all UDP ports |
Select to accept incoming requests from any UDP port at the remote trunk endpoint IP address. Clear to accept requests only from the specified IP address and port. Note: Outgoing requests are always sent to the specified IP address and port. |
Default is False. |
Transport protocol |
Use the drop-down to select trunking mode from following for the Trunk Service Provider.
|
Default is UDP.
|
Outgoing TLS trust profile |
This option is available if TLS is selected as the Transport protocol.
|
Default is Trust public roots only. To
validate trunking provider's choice of certificate, you must import the
root CA certificate in use at that time, and configure to trust
it. Click the Export root cert |
DNS SRV query domain |
Enter the domain of the SIP Trunk Provider for SRV query. |
For example, abccompany.com |
DNS SRV resiliency timeout |
Set the time to lapse between an unresponsive Trunk Endpoint before attempting to use an alternate Trunk Endpoint.
Note: To determine a value appropriate
for your SIP service provider, refer to the Mitel SIP Center
of Excellence Interop Guide.
|
Default is 5 seconds. |
Options keepalives |
This setting controls whether SIP Options messages are sent to SIP Trunks as keepalive mechanisms.
Note:
|
Default is Always. |
Options interval |
If "Options keepalives" is enabled, this is the interval in seconds at which keep-alive messages are sent. |
Default is 60. |
Rewrite host in PAI |
Select to change the P-Asserted-Identity (PAI) header contained in outgoing ICP messages to the host IP of the MBG's public interface. Clear to leave the PAI in outgoing ICP messages unchanged. |
Default is True. |
Remote RTP framesize (ms) |
This setting controls the RTP framesize on the set side of MBG. By default, the requested framesize is respected. If you select a non-default setting (e.g. 30 ms), the specified value will be used. For more information about RTP framesize, see the MBG Engineering Guidelines. Notes:
|
Default is Auto. |
Idle timeout (s) |
This timer monitors "no traffic" conditions on the trunk. When there is no traffic on the trunk for the selected amount of time (default is one hour), the timer expires and all connections are closed until the next packet is received. |
Default is 3600. |
RTP address override |
Select the interface the MBG server uses to access the SIP trunk provider. If no selection is made, the interface is set in accordance to the configured route to the SIP trunk provider. |
Default is no selection. After you update this setting, restart the system to have the change take effect. For details, see Stop MBG and Start MBG. |
Local streaming between trunk calls |
Select this option to allow the MBG to drop out of the media path on calls that involve only public trunk participants. With this option disabled (the default), MBG will anchor the media streams and connect them internally. This uses more bandwidth. With this option enabled, MBG will set up the call such that the carrier's SBC connects the two streams directly, and MBG is only involved in call signaling. Some carriers require the former and some require the latter. To determine which setting is required by your SIP service provider, consult the Mitel SIP Center of Excellence Interop Guide. |
Default is disabled. Enable this option only if local streaming is required by your SIP service provider. In all other circumstances, leave this option disabled. The wrong Local streaming setting for the SIP trunk can result in call failures or no audio. |
PRACK support |
This option controls whether the "Provisional Response ACKnowledgement" (PRACK) method is used.
For example, if the PRACK option is globally disabled on MBG and the peer but enabled on the trunk, then MBG will support PRACK only on calls between itself and the trunk. Alternatively, if the PRACK option is globally enabled on MBG but disabled on the trunk, then MBG will use PRACK only between itself and the peer but not with the trunk. |
Default is Use master setting. Most peers now support PRACK, which can be useful in interoperability scenarios with the PSTN (see RFC 3262). If the remote SIP trunk supports PRACK, this option should be enabled. |
Log verbosity |
At times, it may be necessary to increase log verbosity for specific troubleshooting purposes. Select Normal, Very Quiet, Quiet, Verbose, Very Verbose, or Use master setting to use the Log Verbosity setting programmed on the Settings screen. |
Default is Use master setting. |
Authentication username |
Some SIP service providers require authentication of PRACK requests before allowing a trunk connection. Username and password information is provided by the SIP Service Provider and must match the authentication credentials in the SIP Peer Profile form in the MiVoice Business System Administration Tool. |
If you cannot make a call and the log contains this string: “SipUA: RX <<< PRACK (401) response”, then you must enter this information. |
Authentication password |
||
DNS SRV auto-registration |
Select this option if registration is required on failover to an alternate SRV TRUNK endpoint. See DNS SRV auto-registration for more information. |
|
Trunk-side RTP security |
This setting controls whether streaming between MBG and the Trunk endpoint should be encrypted (SRTP) or not encrypted (RTP); refer to the MBG Engineering Guidelines for further details. |
|
Inbound |
Note: To
enable usage of encrypted SRTP streaming, in addition to selecting
the SRTP setting, the remote Trunk endpoint also needs to be properly
configured to use SRTP as well. Otherwise, calls might fallback to
unencrypted RTP streaming or even be rejected.
|
Default is SRTP or RTP. |
Outbound |
Note: To enable usage
of encrypted SRTP streaming, in addition to selecting the SRTP setting,
the remote Trunk endpoint also needs to be properly configured to
use SRTP as well. Otherwise, calls might fallback to unencrypted
RTP streaming or even be rejected.
|
Default is RTP only. |
Preferred cipher |
|
Default is AES_CM_128_HMAC_SHA1_32. |
ICP-side RTP security |
This setting controls whether streaming between MBG and the ICP should be encrypted (SRTP) or not encrypted (RTP); refer to the MBG Engineering Guidelines for further details. |
|
Inbound |
Note: To enable usage of encrypted
SRTP streaming, in addition to selecting the SRTP setting, the remote
ICP endpoint must be properly configured to use SRTP. Otherwise,
calls might fallback to unencrypted RTP streaming or even be rejected.
|
Default is RTP only. |
Outbound |
Note: To enable usage
of encrypted SRTP streaming, in addition to selecting the SRTP setting,
the remote ICP endpoint must be properly configured to use SRTP.
Otherwise, calls might fallback to unencrypted RTP streaming or
even be rejected.
|
Default is RTP only. |
Preferred cipher |
|
Default is AES_CM_128_HMAC_SHA1_32. |
SIP adaptation receive pipeline |
From the drop-down, select the pipeline to receive SIP messages. |
The drop-down list contains the pipelines configured in SIP Adaptation page. |
SIP adaptation send pipeline |
From the drop-down, select the pipeline to send SIP messages. |
|
Add additional routing rule |
(Optional) Enter the DID routing rule mask for this SIP trunk to use. See Configuring DID Routing Rules for more information.
The rules are applied in descending order starting from the top of the list. Use the Raise and Lower fields to re-sort the list. |
There is no limit to the number of routing rules you may add. |
Re-Invite Conversion |
If this option is selected, when MBG receives RE-INVITE messages from the ICP that lack SDP, it will perform a conversion, adding SDP before forwarding the messages to the SIP trunk. If this option is cleared, MBG will not perform the conversion. |
|
To edit a SIP trunk on MBG:
To view the status of SIP trunks on MBG, see SIP Trunk Status.
To run diagnostics for a specific ICP:
On the MBG main page, click the SIP trunkingtab and click Configuration.
In the trunk list, locate the trunk you want to run the diagnostics
for, and click . Test results for the selected
trunk are displayed.