You must configure Mediation Server to communicate with Office Communications Server 2007 on one side and, either media gateways or a Session Initiation Protocol (SIP) trunking service provider on the other. For details about SIP trunking, a new feature in Office Communications Server 2007 R2, see SIP Trunking Topologyin the Technical Overview in the Getting Started documentation.

To configure a Mediation Server, you must specify the following:

To configure Mediation Server you must be a member of the RTCUniversalServerAdmins group or have been delegated to perform this task by a member of that group.

To configure Mediation Server

  1. Log on to a Communications Server 2007 Mediation Server.

  2. Click Start, point to Administrative Tools, and then click Office Communications Server 2007.

  3. Expand the appropriate forest node.

  4. Expand the Mediation Serversnode, right-click the Mediation Server to be configured, click Properties, and then click the Generaltab.

  5. In the FQDN box, make sure the FQDN listed matches that of the Mediation Server you have selected.

  6. Open a command prompt, change to the root directory, and type nslookup < FQDN of Mediation Server >, using the FQDN displayed on the Mediation Server Generaltab, and then press ENTER.

    Note:
    You should configure only the Office Communications Server-facing IP address for dynamic DNS registration. Otherwise, the FQDN resolves to both IP addresses, which causes connections to fail unpredictably.
  7. From the list of IP addresses displayed in the Communications Server listening IP addresslist, select the IP address returned in step 6.

    Important:
    If the IP address selected in step 7 does not match the IP address in step 6, Communications Server traffic will be directed toward an interface that is not listening for such traffic and away from the one that is.
  8. From the list of two IP addresses displayed in the Gateway listening IP addresslist, select the other IP address (that is, the one not already selected in step 7).

    Note:
    The address selected in step 8 can be that of either a media gateway or a Private Branch Exchange (PBX).
  9. From the A/V Edge Serverlist, select the A/V Edge Server that hosts the A/V Authentication Service for this Mediation Server.

    Important:
    If the A/V Edge Server that hosts the A/V Authentication Service for this Mediation Server does not appear in the list, then the A/V Edge Server on which the service is collocated has not been entered into the A/V Edge Serverslist on the Edge Serverstab of the Global Propertiespage. You need to add the A/V Edge Server to the previous list before it appears in the A/V Edge Server list on the Mediation Server tab. For details, see Deploying Edge Servers for External User Accessin the Deployment documentation.
  10. In the Default location profilelist, select the default location profile for this Mediation Server.

  11. In Media port rangeaccept the default range of 60,000 to 64,000.

    Important:
    By reducing the port range greatly, you reduce server capacity. An administrator who is knowledgeable about media port requirements and scenarios should do this only for specific reasons. For this reason, altering the default port range is not recommended.

    Organizations that employ Internet Protocol security (IPSec) for packet security are advised to disable it for media ports because the security handshake required by IPSec delays call setup. IPSec is unnecessary for media ports because Secure Real-Time Transport Protocol (SRTP) encryption secures all media traffic between the Mediation Server and the internal Communications Server network.
  12. Click the Next Hop Connectionstab, and then under Office Communications Server next hop, do the following:

    • In the FQDNlist, select the FQDN of the next-hop internal server.

      Note:
      This server could be a Director or pool.
    • In the Portbox, accept the default of 5061 for TLS.

  13. On the Next Hop Connectionstab, under PSTN Gateway next hop, do the following:

    • In the Addressbox, specify the IP address or FQDN of the PSTN Gateway or the PBX associated with this Mediation Server. If TLS is enabled, you must specify an FQDN.

    • In the Transportbox, select TLSif the SIP signaling between the IP Gateway and the Mediation Server is protected by TLS. If you are not using TLS, select TCP.

    • In the Encryption Levelbox, select the level of SRTP that you want to use to protect media traffic:

      • If you do not want to use SRTP, click Do not support encryption. If you clicked TCPin the Transportbox, this is the only option that is available.

      • To specify that SRTP must be used, click Require encryption.

      • To specify that SRTP should be attempted but no encryption should be used if negotiation for SRTP is not successful, click Support encryption.

    • In the Portbox, accept the default of 5060 for TCP or TLS.

  14. Click OK.

Optional Configuration

If you want the Mediation Server to strip the plus sign (+) prefix from the RequestUniform Resource Identifier (URI), the ToURI, and the FromURI of outgoing calls to the gateway, set the Windows Management Instrumentation (WMI) setting called RemovePlusFromRequestURIto TRUE (the default value is FALSE).

To Strip the plus sign(+) prefix from the Request, To, and From URIs of outgoing calls

  1. Log on to a Communications Server 2007 Mediation Server.

  2. Click Start, click Run, and then type. wbemtest.

  3. In the Windows Management Instrumentation Testerdialog, click Connect.

  4. In the Connectdialog, verify that root\cimv2appears in the Namespacetext box, and then click Connect.

  5. In the Windows Management Instrumentation Testerdialog, click Enum Classes….

  6. In the Superclass Infodialog, ignore the Enter superclass name text box, and then click Recursiveand OK.

  7. In the Query Resultlist box, scroll down and double-click MSFT_SIPMediationServerConfigSetting, and then click Add.

  8. In the Object editor for SIPMediationServerConfigSettingdialog, click Instances.

  9. In the Query Resultdialog, double click the Mediation Server instance whose configuration you want to change.

  10. In the Object editor for SIPMediationServerConfigSettingdialog, select RemovePlusFromRequestURI, and then click Edit Property.

  11. In the Property Editordialog, change the Valuefrom FALSEto TRUE, click Not NULL, and then click Save Property.

  12. In the Object editor for SIPMediationServerConfigSettingdialog, click Save Object.

If you want to enable Quality of Service (QoS) marking on the Mediation Server, set the WMI setting called QoSEnabledto TRUE (the default value is FALSE).

To enable Quality of Service (QoS) marking on the Mediation Server

  1. Log on to a Communications Server 2007 Mediation Server.

  2. Click Start, click Run, and then type. wbemtest.

  3. In the Windows Management Instrumentation Testerdialog, click Connect.

  4. In the Connectdialog, verify that root\cimv2appears in the Namespacetext box, and then click Connect.

  5. In the Windows Management Instrumentation Testerdialog, click Enum Classes….

  6. In the Superclass Infodialog, ignore the Enter superclass name text box, and then click Recursiveand OK.

  7. In the Query Resultlist box, scroll down and double-click MSFT_SIPMediationServerConfigSetting, and then click Add.

  8. In the Object editor for SIPMediationServerConfigSettingdialog, click Instances.

  9. In the Query Resultdialog, double click the Mediation Server instance whose configuration you want to change.

  10. In the Object editor for SIPMediationServerConfigSettingdialog, select QoSEnabled, and then click Edit Property.

  11. In the Property Editordialog, change the Valuefrom FALSEto TRUE, click Not NULL, and then click Save Property.

  12. In the Object editor for SIPMediationServerConfigSettingdialog, click Save Object.