Not supported by SBC SWe Lite in this release.
The Tenor can be used to provide FXS analog capability to the SBC Edge (SBC), allowing for FAX connectivity. In this article, we describe the steps necessary to deploy a Tenor as an analog device in aSBC - Lync SBA topology. The overall configuration comprises three components: the Lync Server, the Tenor, and theSBC:
In this article, G.711 voice codec is used and CNG Tone Detection is disabled:
When CNG detection is disabled, theSBC lets the Calling fax machine on either side, ISDN or SIP, to send CNG. However, theSBC is actively listening for and detecting the Fax Answer message that the Answering fax machine sends because Fax pass-thru is enabled.
The following diagrams depict the signaling and media flow of the Analog End Point of LYNC in this deployment.
Outbound Fax call flow using Lync call control (signaling and media)
Inbound Fax call flow using Lync call control (signaling and media)
In this deployment, following LYNC topology entities, PBX, and numbering plans are used:
LYNC SBA Domain
DNS/AD/Ent. Root CA
FQDN of Lync SBA Pool
FQDN of the SBC GW
LYNC SBA Users
LYNC SBA ANALOG Users
sip:ae11467d-d09d-4e78-ad2a-e4615b79ac57@Sonus SBC 1000/2000DEMO.Sonus (ANALOGph1)
sip:80274280-9a22-43d9-b194-2640904c3e54@Sonus SBC 1000/2000DEMO.Sonus (ANALOGph2)
sip:3f1e38d7-c8a3-425a-818c-bae3f2c28d62@Sonus SBC 1000/2000DEMO.Sonus (Fax1)
Before You Begin
TheSBC SBA must already be configured. If not, configure and deploy the Lync SBA following the instructions in Deploying the SBA (Survivable Branch Appliance).
Creating analog End Point using the New-CsAnalogDevice Command
Analog Endpoints must be created from the Lync Management Shell using the New-CsAnalogDevice cmdlet.
- On the Lync Server, go to Start > Microsoft Lync Server 2010 > Lync Server Management Shell.
Enter the command as shown below.
For Aanalog Phone Endpoints:
For Analog FAX Endpoints:
Before running the commands above, make sure that the relevant Organizational Unit(OU) (in this example it is named Analog) exists in Active Directory. On a machine that can access the Active Directory Users and Computers snap-in, launch the Active Directory Users and Computers snap-in and verify that OU is present as shown in below screenshot:
- Launch the Lync Management Shell and run the relevant commands to create both Analog Phone and Analog Fax Endpoints as shown in below screenshot:
- Verify in Active Directory Users and Computers snap-in that relevant users are created successfully in Analog Organizational Unit as shown below:
Explanation of New-CsAnalogDevice
The New-CsAnalogDevice cmdlet instructs Lync to route calls from the analog device to the gateway specified in the -Gateway switch of the cmdlet; thus, ensuring that Fax calls will safely be transmitted over PSTN.
Requirements for Tenor
These instructions assume that:
- The Tenor gateway is running P108-09-10 or newer software release.
- The Tenor Configuration Manager is CM108-19-00 or newer.
Run the Tenor Wizard
- Launch the Quintum Configuration Manager and connect to your Tenor Device
- Upon connecting to the device, Configuration Wizard will run automatically
- Follow the Wizard Steps and enter the relevant IP addresses, Analog Endpoint numbers..etc. as shown below
- For this exercise we are using DHCP for the Tenor IP address configuration
- Enter the DNS IP address which is used in LYNC SBA Deployment Topology
- Verify that IP Address Configuration is completed as shown below
- Continue the wizard steps for Dial Plan Configuration
- Verify that Dial Plan Configuration is completed as shown below
- Continue the wizard steps for Phone Port Configuration
- Enter the relevant Phone Number/Extension (in this example we are using 2001 and 2002 users for the Analog phone endpoints)
- Hit on "Save/OK" and then the "Done" buttons
- Verify that Phone Port Configuration is completed as shown below
- Continue the wizard steps for Multi Path Configuration
- Verify that Multi Path Configuration is completed as shown below
- Continue the wizard steps for Line Port Configuration
- Verify that Line Port Configuration is completed as shown below
- Continue the wizard steps for VoIP Routing Configuration
- Enter theSBC 2000 Gateway IP address in the Primary SIP Server IP/Domain Name field and the relevant Port (5060 in this case)
- Enter the SIP user information for the related 2001 and 2002 users
- Verify that VoIP Routing Configuration is completed as shown below
- Continue the wizard steps for Idle Channel Configuration
- Verify that Idle Channel Configuration is completed as shown below
- Hit on Accept button on Configuration Summary to complete the wizard run
- Hit OK to restart the Tenor device as shown below
Additional Post-wizard Settings and Configuration Verrification
Verifying the SIP Signaling Group Options
- Reconnect to Tenor Device using the Configuration Manager and Verify that SIP Signaling Group is configured In General Tab as shown below
- Verify that SIP Signaling Group is configured in Advanced Tab as shown below
The Transport Type must be set to UDP.
Verify that the Silence Suppression parameter in the IP Routing Group is disabled
Verify the Tx/Rx Gain Values in the CAS Signaling Groups
Verify the following settings in Tenor:
CAS Signaling Group
CAS Signaling Group - Phone:
CAS Signaling Group - Line:
- Verify Tx/Rx gain values in the CAS signaling groups - Phone
- Verify Tx/Rx gain values in the CAS signaling groups - Line
Creating a Route For Calls From Tenor to Lync
- In Configuration Manager, right click on Number Tables in left pane and select New as shown below
- Create a new Number Tables to allow Analog Endpoints to be able to make calls to LYNC endpoints as wells as to PBX endpoints as shown below
- Create an entry in the Routing Table as shown below
- Modify the default Number Table to allow incoming calls to Tenor Device as shown below
- Verify that "Use Routing Table" option is selected in Gateway configuration field as shown below
Verifying Codec Selection
Ensure that the codec settings are identical with the matching codec inSBC.
Use only G.711U and/or G.711A.
- Verify that Voice Codec settings are configured correctly as shown below
Verify Supplementary Services Enabled
Tenor supports the following supplementary services - Hold/Unhold, Unattended (Blind) Transfer, and Attended (Consultative) Transfer. These features can be enabled and configured using either a Line Circuit Routing Group (LCRG) or Trunk Circuit Routing Group (TCRG). Follow the configuration steps below:
- Verify that "Detect Flash Hook Signal" option is selected in CAS Signaling Group-phone > Signaling Tab
- Verify that "Generate Flash Hook Signal" option is selected in CAS Signaling Group-line > Signaling Tab
- Verify that Call Services are selected in Line Circuit Routing Group-phone > Call Services Tab
Change Fax Relay from T.38 without Fallback to G.711
Make sure that Fax Relay is set to G.711.
The codec should be either G.711U or G.711A depending on your particular environment.
- Enable both, Fax Relay and Fax Modem Coding:
- Fax Relay: This command configures how the Tenor signals the other end to tell the peer how to switch over to the correct protocol for a fax call. When FaxRelay is set to anything other than 0, there will be a short delay in training as the Tenor determines whether the device at the other end is a fax machine or a modem
- Fax Modem Coding: Enable the Fax Modem Coding configuration option if the Tenor will be used to make modem calls (remote door/elevator control).
When the Tenor is configured for modem over IP calls, FaxModemCoding allows you to select which codec will be used.
When FaxRelay is set to 0 (Disabled), Modem over IP (MoIP) takes over, and all fax calls will be sent as MoIP passthrough with the codec specified by the FaxModemCoding setting.
When FaxRelay is set to anything other than 0, there will be a short delay in training as the Tenor determines whether the device at the other end is a fax machine or a modem.
Configuring the Relay of Calling Name (CNAM)
The configuration of the Calling Name (CNAM) is optional. Tenor can relay CNAM in both directions Analog to SIP and SIP to Analog.
Analog to SIP
SIP to Analog
Not send CNAM
Send the CNAM
Send the CNAM of each analog line as configured in the DN Channel Map:
Send the CNAM from the SIP call leg.
Send default CNAM
Send a default CNAM for all calls regardless of the Calling Name of the originating channel.
Send a default CNAM for all calls regardless of the Calling Name of the originating channel.
Sample Tenor AF Configuration File
Sonus SBC 1000/2000 configuration
Requirements and Prerequisites
- This document assumes thatSBC Lync 2010 wizard was ran prior to the configuration
- Running the Lync 2010 wizard will ensure SRTP towards Lync is set to Required
- Media bypass must be enabled in Lync
SIP Registrar Table
- Browse toSBC 2000 WebUI > Settings Tab > SIP / Local Registrars (in left pane)
- Click on Add button and add a SIP Local Registrar Entry as shown below
Media List Configuration
- Browse toSBC 2000 WebUI > Settings Tab > Media List (in left pane)
- Click on Add button and add a Media List Entry as shown below
Make sure to have following settings are configured in Tenor Media List:
- Browse toSBC 2000 WebUI > Settings Tab > Translation (in left pane)
- Click on Add button and add a Translation Table with following entry as shown below
Signaling Group (uses UDP only)
- Browse toSBC 2000 WebUI > Settings Tab > Signaling Groups (in left pane)
- Click on Add SIP SG button and add a SIP Signaling Group for Tenor Device connectivity as shown below
Call Routing Table
- Browse toSBC 2000 WebUI > Settings Tab > Call Routing Table (in left pane)
- Click on SIP to ISDN Call Route Table and hit Add button to add an entry to route calls to Tenor (for those with 2xxx extension in this example)
- Re-sequence the Call Route entries in this table to make sure that calls to 2xxx extensions (Analog Endpoints) will use the entry that you just created in previous step
Troubleshooting FAX Calls Between the Tenor and PSTN
- If you are getting comm errors on the Fax machine, check the following resources for solutions:
If faxes are failing, check the E1 port counters for slips and frame errors.Click here to see a screenshot of a *bad* E1 line
- The frame errors and the slips counters must notbe increasing. You can check if they are increasing by resetting the counters. If the errors are increasing, the issue could be caused by one of the following:
- System timing / clocking. Check the clock source (System -> System Timing) - it should be set to Network/T1/E1 port and not System/Free run. If the clock source is set to Network, but the Current Active Clock shows as Free run, click Apply and ensure that Current Active Clock is now set to Primary. This should resolve the clocking issue as long as the error counters do not increase.
- If the Tenor is not configured to register with theSBC local SIP registrar and the SIP Signaling group inSBC constantly goes down, check the contents of the var_config.cfg file (from Tenor Config Manager -> Tools -> Var_config -> Edit) and delete the line specifying the transport protocol as in P108 it is obsolete.
- Bad E1 cable. Replace the cable.
- Faulty RJ45 jacks. Replace the cable or fix the Rj45 jacks.
- Faulty RJ45 socket. Try configuring a different T1/E1 port. Visually check the pins in the E1/T1 ports for any differences.