About the Pexip Distributed Gateway service
The Pexip Distributed Gateway service enables endpoints to make calls between devices or systems that use different protocols and media formats, including SIP and H.323 systems, Skype for Business / Lync (MS-SIP), and Infinity Connect clients (WebRTC and RTMP). It also enables you to route calls from VTCs and standards-based endpoints into an externally-hosted conference, such as a Microsoft Teams or Skype for Business meeting, or Google Hangouts Meet
Traditional hardware gateways are often expensive and are typically centralized in a single location. This means that remote endpoints making gateway calls have to route media over a WAN or over the internet which is costly and uses a lot of bandwidth.
The software-based Pexip Distributed Gateway service allows for a very cost-efficient deployment of local gateway/transcoding resources in every location. This can result in an improved user experience because of reduced latency as there is no longer a need to hairpin media back to a centralized datacenter. The other benefit is reduced WAN bandwidth usage — again due to not having to hairpin media. Reduced bandwidth usage allows an enterprise to deploy more video systems without having to upgrade the WAN infrastructure.
For example, you can use the Pexip Distributed Gateway to enable:
- users of Infinity Connect clients to place a point-to-point call to a SIP endpoint
- Skype for Business / Lync users in your enterprise to make calls to, and receive calls from, virtually any other type of endpoint
Calls to externally-hosted conferences
The gateway service lets you route calls from VTC systems and standards-based endpoints into an externally-hosted conference. It allows:
- incoming calls to be routed directly into a Microsoft Teams or Skype for Business / Lync meeting, or a Google Hangouts Meet conference
- participants in a Skype for Business / Lync meeting to dial out to (i.e. invite) other non-Skype for Business / Lync participants.
See Using Pexip Infinity as a Skype for Business / Lync gateway and Integrating Google Hangouts Meet with Pexip Infinity for more information..
Each Conferencing Node can act as a gateway service for placing calls between devices, in addition to the multi-party conferencing services offered by Pexip Infinity.
To enable devices to call other devices or systems via the Pexip Distributed Gateway, you must configure Call Routing Rules. These rules specify which calls should be interworked, for which protocols, and to where they should be routed.
Incoming calls received by Pexip Infinity are routed as follows:
- Pexip Infinity receives an incoming call via one of its Conferencing Nodes.
- It checks whether the destination alias belongs to a Virtual Meeting Room, Virtual Auditorium, Virtual Reception, scheduled conference, or Test Call Service; if so, it directs the call to that service.
- If the alias does not belong to any of the above services, Pexip Infinity checks the Call Routing Rules to see if the alias matches any rules specified there for incoming calls. If so, it places an outgoing call to the destination alias according to the rule's call target settings (which protocol and call control system to use, whether to route to registered devices only, etc).
This means that if an alias matches both a Virtual Meeting Room and a Call Routing Rule, the former will always take precedence and the call will be routed to the Virtual Meeting Room. You must therefore ensure that any regular expressions used in a Call Routing Rule do not unintentionally overlap with any aliases used by a Virtual Meeting Room, Virtual Auditorium, Virtual Reception, scheduled conference, or Test Call Service.
The stage where Call Routing Rules are applied in Pexip Infinity's call routing logic for incoming calls is highlighted in the following diagram:
If your environment includes a PSTN gateway or uses an ITSP (Internet telephony service provider), consider the potential for toll fraud if you have Call Routing Rules that can route calls to the PSTN gateway or ITSP, or if you allow conference participants to dial out to other participants via the PSTN gateway or ITSP. See PSTN gateways and toll fraud for more information.
- For additional security you can configure Call Routing Rules so that only registered devices are allowed to make calls via the Pexip Distributed Gateway.
- By default, the same Conferencing Node that received the incoming call is used to place the outgoing call. However, you can configure the matching rule to place the call from a Conferencing Node in a specific location. As with all calls, signaling and media may be handled by different Conferencing Nodes in that location.
- Bandwidth restrictions can be applied to gateway calls; you do this by applying the restriction to the relevant Call Routing Rule.
- If the Pexip Distributed Gateway receives DTMF signaling from an inbound call, it will generate similar DTMF on the outbound call.
- In addition to handling gateway calls, Call Routing Rules may also be applied when dialing out from a conference to a new participant (if Automatic routing is used). When configuring your rules, consider whether the rule is to apply to incoming gateway calls, outgoing calls from a conference or to both incoming and outgoing calls.
A gateway call consists of two "legs": the incoming call from the caller to Pexip Infinity, and the outgoing call from Pexip Infinity to the endpoint or meeting being called. In most cases, Pexip Infinity is able to determine the alias of the caller and forward this to the endpoint or meeting being called. However, in some cases callers do not include a domain in their alias (for example, H.323 endpoints can be configured with an alias that does not include a domain), so Pexip Infinity will need to construct a valid alias to use for that caller. It does this by appending one of the following (in order of preference):
the configured Pexip Infinity domain (for Lync / Skype for Business integration) for the location from which the outbound call is placed,
- the configured SIP TLS FQDN for the Conferencing Node placing the outbound call,
- the configured Static NAT address for the Conferencing Node placing the outbound call,
- the configured Secondary interface IPv4 address, or if this is not configured, the configured IPv4 address, of the Conferencing Node placing the outbound call.
Note that the above does not apply to gateway calls to or from Skype for Business / Lync meetings.