Step 14. Different network segments

Case: a system site is in one network segment and serves users and devices in another segment. Calls between user devices work, and subscribers hear each other.

SG has a network separation function. If SG is reachable in both network segments, user devices can address their SIP requests to it at address A2 in segment C2, and it translates requests from address A1 in network segment C1, where B2BUA is located. Conversely, B2BUA sends SIP requests and SIP responses to SG at address A1 in its network segment, and SG translates them to segment C2 from address A2.

translation_of_addresses

A specific SG instance can be configured so that all calls arriving at it do not use media servers during servicing. Thus, despite the complex SIP exchange through B2BUA, the endpoint devices exchange SDP directly with each other, and traffic flows in the network segment where the devices are mutually reachable. With this approach, the system does not record traffic and later does not provide the ability to listen to the conversation. But the load on the server infrastructure with this approach is orders of magnitude lower.

call_without_mg

This approach is not applicable in all cases, for example:

  • if devices A and B are in different network segments and unreachable from each other;

  • if calls must be recorded and stored;

  • if subscribers must be connected to automated service services;

  • if multi-party conferences must be supported;

  • if third parties must be able to join the conversation;

  • if hold music must be played during hold.

Roles at the boundaries with the external environment support several network interfaces. In this case, the subscribers are devices whose addresses are not directly reachable from the media servers of the MG roles. Accordingly, traffic must also be translated from one network to another at the boundary formed by SG. To solve this task, there is the BGMG role, which can be activated on the same server as SG. Whenever SG translates from one network to another, it uses BGMG.

bgmg

BGMG can be configured via the configuration file and attached to any MGC group on the site. The control request to create a context will find exactly the BGMG located on the same server as the initiating SG.

It is appropriate to recall consequence 6 from step 11: for media traffic to be successfully transmitted between subscribers A and B in all cases, full network reachability must be ensured between servers with the SG, B2BUA, and MG roles on the sites where subscribers A and B may be registered.

Table 1. Terms used
Term Definition

BGMG

!