2. Unified communications platform
• Lead UC Architect for Capita IT Services
• Role solely focuses on Microsoft Lync and Enterprise Voice
• Pre-Sales, Architecture Design and Solution Delivery
• 20 Years consultancy experience working for Global SI’s and Telco’s
• Previously : Technology Consultant – KCOM & Affiniti
• Formerly : Technical Consultant - Capgemini
• Lync Voice P-TSP on behalf of Microsoft
• Partner Technology Solutions Professional
• Extension of the Microsoft Lync TSP team
• From the North East of England
• Marske By The Sea
• 3 Children
• Keen Motorcycle Rider
• Sometimes follow Middlesbrough Football Club
Web northernucusergroup.co.uk - Twitter @northernucuserg
3. Unified communications platform
In a Unified Communications project, why do we need to support legacy analogue devices?
Web northernucusergroup.co.uk - Twitter @northernucuserg
4. Fax Protocols
• T.30 – ITU Recommendation that describes procedures for sending faxes via modem tones
• T.37 – SMTP aka store and forward, no relevance to Lync
• T.38 – Protocol that describes how to relay T.30 fax messages over a VoIP network
T.38
• Relaying of faxes, hop by hop through the data network between VoIP gateways
• End fax devices are not aware that the relay process is happening
• Lync (2010 & 2013) does not support T.38 protocol negotiation with analogue and PSTN gateways
T.30 T.38 IP T.38 T.30
Web northernucusergroup.co.uk - Twitter @northernucuserg
5. Option 1 – Bypass Lync
• No CDR’s
• If faxing over SIP confirm carrier supports T.38
SIP
PSTN
Web northernucusergroup.co.uk - Twitter @northernucuserg
6. Option 2 – Fax Hairpinning within Lync
• New-CsAnalogDevice & -AnalogFax $True instructs Lync to send the call back to the analog gateway
• Media Bypass must be enabled within Lync (Gateway will present fax calls to Lync as G.711)
• SIP Trunk not used for fax calls
• Enables CDR’s
• The only “Supported” solution from Microsoft
PSTN
SIP
Web northernucusergroup.co.uk - Twitter @northernucuserg
7. Option 3 – Faxing via an SBC and SIP Trunk
• New-CsAnalogDevice & -AnalogFax $False
• Media Bypass must be enabled within Lync
• Enables CDR’s
• SIP carrier must support T.38
• Not supported by Microsoft according to TechNet
• http://technet.microsoft.com/en-au/library/gg398314(v=ocs.14).aspx
SIP
Web northernucusergroup.co.uk - Twitter @northernucuserg
8. Option 1 – Bypass Lync
• Create a SIP Trunk between the SBC and the analogue gateway
• Inbound and Outbound calls do not pass through Lync
• No CDR’s
• Defined Lync voice policies will not apply
PSTN
Web northernucusergroup.co.uk - Twitter @northernucuserg
9. Option 2
• Add the analogue gateway to the Lync Topology & configure analogue extensions as contacts in AD
• Inbound and outbound calls pass through Lync, therefore:
• CDR’s will be generated by Lync (assuming configured)
• Lync voice policies will be applied
PSTN
Web northernucusergroup.co.uk - Twitter @northernucuserg
10. Unified communications platform
• From the Lync Topology Builder
• Add the analogue gateway as a new PSTN gateway
• Associate the gateway to the Mediation Server
• Publish the Topology
• Create the extension entity in Active Directory
• Using the Lync Management Shell, create the extension entity via the following command:
New-CsAnalogDevice –LineUri tel:+44117500123 –DisplayName “Lift1Phone” –RegistrarPool poo1.capitalab.local –
AnalogFax $False –Gateway 10.94.10.15 –OU “ou=AnalogDevices,dc=capitalab,dc=local”
Web northernucusergroup.co.uk - Twitter @northernucuserg
11. Unified communications platform
• Analogue Gateway
• Rack / Stack / Apply base config
• Configure dial plan – country, minimum & maximum dial digit string length
• Configure the signalling group
• Populate DN channel map fields
• Configure the outgoing IP routing field
• Create trunk between analogue gateway and SBC
Web northernucusergroup.co.uk - Twitter @northernucuserg
12. Unified communications platform
• Called Number 0117 500 123
• PSTN Inbound > SBC
• SBC
• Signalling Group > Call Routing Table > Transformation Table > Call Routing Table > Signalling Group
• Front-End
• Lync Routing Engine, Reverse Number Lookup performed against LineURI tel:+44117500123
• Match found and call is sent to the associated gateway (specified at setup via New-CsAnalogueDevice)
• SBC
• Signalling Group > Call Routing Table > Transformation Table > Call Routing Table > Signalling Group
• Analogue Gateway
• Call is sent to the port# associated with the inbound called number
• Endpoint Rings
0117 500 123
PSTN
New-CsAnalogDevice –LineUri tel:+44117500123 –DisplayName “Lift1Phone” –RegistrarPool poo1.capitalab.local –
AnalogFax $False –Gateway 10.94.10.15 –OU “ou=AnalogDevices,dc=capitalab,dc=local”
Web northernucusergroup.co.uk - Twitter @northernucuserg
13. • Called Number 0117 500 456
• Analogue gateway receives call
• Analogue Gateway
• Call is routed to the configured primary SIP server
• SBC
• Signalling Group > Call Routing Table > Transformation Table > Call Routing Table > Signalling Group
• Front-End
• Lync Routing Engine> RNL against LineURI fail > Outbound Routing
• SBC
• Signalling Group > Call Routing Table > Transformation Table > Call Routing Table > Signalling Group > PSTN
• Endpoint Rings
0117 500 456
Unified communications platform
PSTN
Web northernucusergroup.co.uk - Twitter @northernucuserg
14. • Fax
• Qualify if CDR’s are required – if not consider leaving faxes outside of Lync
• Lync doesn’t support T.38 negotiation with analogue or PSTN gateways
• NewCs-AnalogDevice -AnalogFax $True instructs Lync to ignore the normal routing logic and hairpin the call
back to the originating gateway
• Routing faxes in/out of Lync requires Media Bypass
• Faxing via SIP Trunks is not supported as per Microsoft TechNet – Hairpinning and PSTN direct to the analogue
gateway is the only supported solution
• If faxing via SIP Trunks confirm carrier supports T.38
• Analogue Devices
• Analogue phones are unable to park calls, transfer calls, set call forwarding options, be members of a RSG
• Analogue phones can retrieve parked calls
• Signalling and Media between a Sonus Analog Gateway and the SBC leg will be SIP/TCP & RTP
• Sonus Analogue gateways do not support TLS/SRTP * AudioCodes Analogue Gateways can support TLS/SRTP
• Analogue gateways are not on the Lync UCOIP, consider Hairpinning into Lync via UCOIP qualified SBC’s
Web northernucusergroup.co.uk - Twitter @northernucuserg