{"id":300,"date":"2013-05-09T13:15:11","date_gmt":"2013-05-09T11:15:11","guid":{"rendered":"http:\/\/blog.lync2013.org\/?p=300"},"modified":"2014-05-12T20:52:23","modified_gmt":"2014-05-12T20:52:23","slug":"lync-server-2013-hybrid-voice-2","status":"publish","type":"post","link":"https:\/\/modern-workplace.uk\/?p=300","title":{"rendered":"Lync Server 2013: Hybrid Voice"},"content":{"rendered":"<p><span style=\"font-family: Georgia, Palatino;\"><strong>Disclaimer<\/strong>: please remember that the\u00a0Lync hybrid configuration option referred to as \u201chybrid voice\u201d is now deprecated<\/span><\/p>\n<p><span style=\"font-family: Georgia, Palatino;\"><strong>Lync Server 2013<\/strong> adds features and tools to the previous release that enhance the flexibility and reliability of this unified communication solution.<\/span><\/p>\n<p><span style=\"font-family: Georgia, Palatino;\">In the <i>hybrid voice<\/i> scenario our domain users are enabled to register with Lync Online while all the telephony services are granted by the <i>Enterprise Voice<\/i> of Lync on-premises. Such a design is made possible by the new Cloud offers from Microsoft (<i>Office 365<\/i>).<\/span><\/p>\n<p><span style=\"font-family: Georgia, Palatino;\">The cornerstone of the solution is that <i>signaling<\/i> and <i>media<\/i> data streams have been optimized (as we will see later) so that we have:<\/span><\/p>\n<ul>\n<li><span style=\"font-family: Georgia, Palatino;\">Minimum bandwidth required<\/span><\/li>\n<li><span style=\"font-family: Georgia, Palatino;\">Reduced costs when calling external numbers<\/span><\/li>\n<li><span style=\"font-family: Georgia, Palatino;\">Best quality both when \u00a0we are connecting with users in our company or with people outside our voice infrastructure<\/span><\/li>\n<\/ul>\n<p><span style=\"font-family: Georgia, Palatino;\">Signaling sets up the call (passing information like called and caller numbers to the devices) while media is responsible to actually move the voice traffic.<\/span><\/p>\n<p><span style=\"font-family: Georgia, Palatino;\">Lync 2010 had rigid limitations for the hybrid solution (for example we had to split our users on two different domains, one for the on-premises users and one for the online users).<\/span><\/p>\n<p><span style=\"font-family: Georgia, Palatino;\">In Lync 2013 this kind of requirement has been removed.<\/span><\/p>\n<p><span style=\"font-family: Georgia, Palatino;\">An hybrid voice design will look like the one in the next figure (we will explain the different servers and roles required in a dedicated paragraph).<\/span><\/p>\n<p><span style=\"font-family: Georgia, Palatino;\"><a href=\"https:\/\/modern-workplace.uk\/\/wp-content\/uploads\/2014\/05\/Schema1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-1112\" src=\"https:\/\/modern-workplace.uk\/\/wp-content\/uploads\/2014\/05\/Schema1-1024x649.png\" alt=\"Schema1\" width=\"400\" height=\"254\" srcset=\"https:\/\/modern-workplace.uk\/wp-content\/uploads\/2014\/05\/Schema1-1024x649.png 1024w, https:\/\/modern-workplace.uk\/wp-content\/uploads\/2014\/05\/Schema1-300x190.png 300w, https:\/\/modern-workplace.uk\/wp-content\/uploads\/2014\/05\/Schema1-200x126.png 200w, https:\/\/modern-workplace.uk\/wp-content\/uploads\/2014\/05\/Schema1-580x367.png 580w, https:\/\/modern-workplace.uk\/wp-content\/uploads\/2014\/05\/Schema1.png 1074w\" sizes=\"auto, (max-width: 400px) 100vw, 400px\" \/><\/a><\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-family: Georgia, Palatino;\">An infrastructure like this will accelerate the adoption of Lync in the company with a large part of the workload delegated to the external Lync service.<\/span><\/p>\n<p><span style=\"font-family: Georgia, Palatino;\">As we said before, what we still have to provide with hybrid voice is the Enterprise Voice (including <i>VOIP<\/i> and integration with the <i>Public Switched Telephone Network<\/i>).<\/span><\/p>\n<p><span style=\"font-family: Georgia, Palatino;\">Hybrid voice requires\u00a0 Lync 2013 on-premises inside our network.<\/span><\/p>\n<p><span style=\"font-family: Georgia, Palatino;\">This configuration allows you to preserve your existing investments in hardware (like <i>voice gateways<\/i>) and to keep your present tariff agreements with telephony service providers (a critical aspect for those with geographically distributed sites)<\/span><\/p>\n<p><span style=\"font-family: Georgia, Palatino;\">There are many parts in the design of an hybrid voice solution for Lync to be considered in order to fully understand the impact of this solution and use it to the fullest.<\/span><\/p>\n<h5><\/h5>\n<hr \/>\n<h5><strong><span style=\"font-family: Georgia, Palatino;\">Requirements<\/span><\/strong><\/h5>\n<p><span style=\"font-family: Georgia, Palatino;\">Lync 2013 on-premises will be installed on servers joined to our domain (with the exclusion of the Lync Edge). We will use Active Directory Synchronization to maintain users correspondence between the on-premises and online environment. The Federation services will be used to authenticate domain users on Lync Online.<\/span><\/p>\n<p><span style=\"font-family: Georgia, Palatino;\">As a side note, we have the capability to integrate the Lync experience with other applications such as Office 365 Exchange Online and SharePoint Online.<\/span><\/p>\n<p><span style=\"font-family: Georgia, Palatino;\">The on-premises components required (in addition to the Lync Online services delivered from an online tenant) are the ones shown in the above image:<\/span><\/p>\n<ul>\n<li><span style=\"font-family: Georgia, Palatino;\">An Active Directory Federation Services (AD FS) 2.0 server<\/span><\/li>\n<li><span style=\"font-family: Georgia, Palatino;\">An on-premises deployment of Lync 2013<\/span><\/li>\n<li><span style=\"font-family: Georgia, Palatino;\">A Directory Synchronization server<\/span><\/li>\n<\/ul>\n<p><span style=\"font-family: Georgia, Palatino;\"><a href=\"http:\/\/technet.microsoft.com\/en-us\/library\/jj205403.aspx\">\u201cPlanning for Lync Server 2013 Hybrid Deployments\u201d<\/a><\/span><br \/>\n<span style=\"font-family: Georgia, Palatino;\"> Various kinds of distribution are supported for the Lync on-premises (see <a href=\"http:\/\/technet.microsoft.com\/en-us\/library\/jj205403.aspx\">\u201ctopology requirements\u201d<\/a> in the aforementioned TechNet article).<\/span><br \/>\n<span style=\"font-family: Georgia, Palatino;\"> We will considered a scenario with an Edge and a &#8220;next hop&#8221; based on Lync 2013.<\/span><\/p>\n<hr \/>\n<p><strong><span style=\"font-family: Georgia, Palatino;\">Hybrid Voice \u2013 Registration<\/span><\/strong><\/p>\n<p><span style=\"font-family: Georgia, Palatino;\">As shown in the next image, the initial phase of access to Lync (recording) for an online user consists of four steps:<\/span><\/p>\n<ol>\n<li><span style=\"font-family: Georgia, Palatino;\">The DNS queried from the client for the registration directs the user to the local Lync Front End<\/span><\/li>\n<li><span style=\"font-family: Georgia, Palatino;\">The user connects to the on-premises Front End<\/span><\/li>\n<li><span style=\"font-family: Georgia, Palatino;\">The server identifies the user as enabled to the hybrid voice<\/span><\/li>\n<li><span style=\"font-family: Georgia, Palatino;\">The user registration request (passing through the Lync Edge) is headed to Office 365<\/span><\/li>\n<\/ol>\n<p><span style=\"font-family: Georgia, Palatino;\">Note that all traffic of this phase is the type signaling.<\/span><\/p>\n<p><span style=\"font-family: Georgia, Palatino;\"><a href=\"https:\/\/modern-workplace.uk\/\/wp-content\/uploads\/2014\/05\/Registration.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-1107\" src=\"https:\/\/modern-workplace.uk\/\/wp-content\/uploads\/2014\/05\/Registration-300x204.png\" alt=\"Registration\" width=\"400\" height=\"273\" srcset=\"https:\/\/modern-workplace.uk\/wp-content\/uploads\/2014\/05\/Registration-300x204.png 300w, https:\/\/modern-workplace.uk\/wp-content\/uploads\/2014\/05\/Registration-1024x698.png 1024w, https:\/\/modern-workplace.uk\/wp-content\/uploads\/2014\/05\/Registration-200x136.png 200w, https:\/\/modern-workplace.uk\/wp-content\/uploads\/2014\/05\/Registration-580x395.png 580w, https:\/\/modern-workplace.uk\/wp-content\/uploads\/2014\/05\/Registration.png 1077w\" sizes=\"auto, (max-width: 400px) 100vw, 400px\" \/><\/a><\/span><\/p>\n<p>&nbsp;<\/p>\n<hr \/>\n<h5><strong><span style=\"font-family: Georgia, Palatino;\">Hybrid Voice \u2013 Incoming Calls<\/span><\/strong><\/h5>\n<p><span style=\"font-family: Georgia, Palatino;\">In case of an incoming call from the PSTN, there is a clear distinction between the signaling and the media data streams (whit the second more expensive for bandwidth consumption).<\/span><\/p>\n<p><span style=\"font-family: Georgia, Palatino;\">The diagrams will represent the signaling traffic in green, and the media traffic in red.<\/span><\/p>\n<ol>\n<li><span style=\"font-family: Georgia, Palatino;\">Because the call comes from the PSTN, the IP-PBX will verify that the number is associated with Lync and route the signaling traffic to the Lync Front End (and the Mediation server, if the two roles are separate)<\/span><\/li>\n<li><span style=\"font-family: Georgia, Palatino;\">The mediation server determines which is the next hop and then routes the signaling stream to Lync Online<\/span><\/li>\n<li><span style=\"font-family: Georgia, Palatino;\">Lync Online registers the user\u2019s endpoint<\/span><\/li>\n<li><span style=\"font-family: Georgia, Palatino;\">If we have <i>media bypass<\/i> enabled,\u00a0 the call (audio media stream) goes directly to the user, in the alternative is passed by the Mediation Server Lync<\/span><\/li>\n<\/ol>\n<p><span style=\"font-family: Georgia, Palatino;\"><a href=\"https:\/\/modern-workplace.uk\/\/wp-content\/uploads\/2014\/05\/Incoming.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-1088\" src=\"https:\/\/modern-workplace.uk\/\/wp-content\/uploads\/2014\/05\/Incoming-300x204.png\" alt=\"Incoming\" width=\"400\" height=\"273\" srcset=\"https:\/\/modern-workplace.uk\/wp-content\/uploads\/2014\/05\/Incoming-300x204.png 300w, https:\/\/modern-workplace.uk\/wp-content\/uploads\/2014\/05\/Incoming-1024x698.png 1024w, https:\/\/modern-workplace.uk\/wp-content\/uploads\/2014\/05\/Incoming-200x136.png 200w, https:\/\/modern-workplace.uk\/wp-content\/uploads\/2014\/05\/Incoming-580x395.png 580w, https:\/\/modern-workplace.uk\/wp-content\/uploads\/2014\/05\/Incoming.png 1077w\" sizes=\"auto, (max-width: 400px) 100vw, 400px\" \/><\/a><\/span><\/p>\n<p>&nbsp;<\/p>\n<hr \/>\n<h5><strong><span style=\"font-family: Georgia, Palatino;\">Hybrid Voice \u2013 Outgoing Call<\/span><\/strong><\/h5>\n<p><span style=\"font-family: Georgia, Palatino;\">In the case of an outgoing call to the PSTN, there is (again) a clear distinction between the signaling and the media data streams<\/span><\/p>\n<p><span style=\"font-family: Georgia, Palatino;\">The diagrams will represent the signaling traffic in green, and the media traffic in red.<\/span><\/p>\n<ol>\n<li><span style=\"font-family: Georgia, Palatino;\">The user registers on Lync Online<\/span><\/li>\n<li><span style=\"font-family: Georgia, Palatino;\">Signaling stream is routed to the Lync on-premises<\/span><\/li>\n<li><span style=\"font-family: Georgia, Palatino;\">Lync will apply the Enterprise Voice policies to evaluate if and how to forward the call.<\/span><\/li>\n<li><span style=\"font-family: Georgia, Palatino;\">The user, with media bypass enabled, directs the media stream for the call to the IP-PBX (else he has to pass through the Mediation server)<\/span><\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<p><span style=\"font-family: Georgia, Palatino;\"><a href=\"https:\/\/modern-workplace.uk\/\/wp-content\/uploads\/2014\/05\/Outgoing.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-1104\" src=\"https:\/\/modern-workplace.uk\/\/wp-content\/uploads\/2014\/05\/Outgoing-300x204.png\" alt=\"Outgoing\" width=\"400\" height=\"273\" srcset=\"https:\/\/modern-workplace.uk\/wp-content\/uploads\/2014\/05\/Outgoing-300x204.png 300w, https:\/\/modern-workplace.uk\/wp-content\/uploads\/2014\/05\/Outgoing-1024x698.png 1024w, https:\/\/modern-workplace.uk\/wp-content\/uploads\/2014\/05\/Outgoing-200x136.png 200w, https:\/\/modern-workplace.uk\/wp-content\/uploads\/2014\/05\/Outgoing-580x395.png 580w, https:\/\/modern-workplace.uk\/wp-content\/uploads\/2014\/05\/Outgoing.png 1077w\" sizes=\"auto, (max-width: 400px) 100vw, 400px\" \/><\/a><\/span><\/p>\n<hr \/>\n<h5><strong><span style=\"font-family: Georgia, Palatino;\">Conclusions<\/span><\/strong><\/h5>\n<p><span style=\"font-family: Georgia, Palatino;\">The described mechanisms applies also to the voice calls between the different kind of Lync users in our company (online and on-premises), with the target to get the best quality and the lowest cost.<\/span><\/p>\n<p><span style=\"font-family: Georgia, Palatino;\">As said earlier, hybrid voice is an instrument that can solve various problems and scenarios, and proper design can make it an important solution.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the hybrid voice scenario our domain users are enabled to register with Lync Online while all the telephony services are granted by the Enterprise Voice of Lync on-premises. Such a design is made possible by the new Cloud offers from Microsoft (Office 365)<\/p>\n","protected":false},"author":1,"featured_media":1317,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_sitemap_exclude":false,"_sitemap_priority":"","_sitemap_frequency":"","twitterCardType":"","cardImageID":0,"cardImage":"","cardTitle":"","cardDesc":"","cardImageAlt":"","cardPlayer":"","cardPlayerWidth":0,"cardPlayerHeight":0,"cardPlayerStream":"","cardPlayerCodec":"","footnotes":""},"categories":[18,19],"tags":[58,50,59,487,702,486,61,62,63,64,26,65,66,27],"class_list":["post-300","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-english","category-lync","tag-enterprise-voice","tag-fabrizio-volpe","tag-hybrid-voice","tag-hybrid-voice-deployment","tag-lync","tag-lync-2013-hybrid-voice","tag-lync-hybrid","tag-lync-hybrid-deployment","tag-lync-on-premises","tag-lync-online","tag-lync-server","tag-lync-server-2013","tag-lync-voice","tag-lync2013"],"_links":{"self":[{"href":"https:\/\/modern-workplace.uk\/index.php?rest_route=\/wp\/v2\/posts\/300","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/modern-workplace.uk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/modern-workplace.uk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/modern-workplace.uk\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/modern-workplace.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=300"}],"version-history":[{"count":3,"href":"https:\/\/modern-workplace.uk\/index.php?rest_route=\/wp\/v2\/posts\/300\/revisions"}],"predecessor-version":[{"id":1316,"href":"https:\/\/modern-workplace.uk\/index.php?rest_route=\/wp\/v2\/posts\/300\/revisions\/1316"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/modern-workplace.uk\/index.php?rest_route=\/wp\/v2\/media\/1317"}],"wp:attachment":[{"href":"https:\/\/modern-workplace.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=300"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/modern-workplace.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=300"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/modern-workplace.uk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=300"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}