UCPrimer
  • Tech Blog
  • About UCPrimer.com

Deploying Polycom phones for Cloud PBX with on-premise PSTN Connectivity Part 2

6/8/2016

0 Comments

 
This is the continuation of the post Deploying Polycom phones for Cloud PBX with on-premise PSTN Connectivity. Here we are ready to move on-premise Skype for Business Enterprise Voice enabled accounts to Office365 E5 Cloud PBX. As shown in the previous post, we have already used two on-premise Enterprise Voice accounts to sign in on two different Polycom devices: a VVX600 and a Trio8800. Below is the status of these two devices as seen on from the web admin Lync Status page:
Picture
Picture
Before beginning to move to Cloud PBX, we first need to assign a Voice Routing policy to these accounts while they are still homed on-premise. We can run the get-csuser cmdlet to check whether the account has any voice routing policy defined, which should be none by default, and then we can proceed to create a new voice routing policy using the new-csvoiceroutingpolicy cmdlet and then assigning it to the account using the grant-csvoiceroutingpolicy cmdlet. All these are shown in the diagram below:
Picture
At this stage we want to make sure these accounts are already synchronized with Office365 and that a valid E5 license is assigned. Note that we must used AD sync-ed accounts for CloudPBX to work. While the Polycom devices are still logged in using these on-premise accounts, we can start moving them to Skype for Business Online using the Control Panel as shown below:
Picture
When the accounts are being moved, any account that is still logged in on the Skype for Business client or Polycom devices will automatically logout and try to login again. Afte the account has been successfully moved to Office365 Skype for Business Online, the control panel will show the account homed on "LyncOnline". At this stage, the account will be signed in to Office365 and still retain its voice routing policy as well as line URI but the Hosting Provider will show be sipfed.online.lync.com :
Picture
At this point, from the on-premise Skype for Business front-end server, we need to connect remote powershell to the Skype for Business Online tenant to enable the user for enterprise voice again even though the user was already enabled for enterprise voice while homed on-premise. This is done using the usual 'import-PSSession' cmdlet in Powershell and then running the 'set-CsUser -identity <UPN> -EnterpriseVoiceEnabled $true -HostedVoiceMail $true' as shown below:
Picture
The Polycom VVX600 phone that is logged in using this account can already make calls to/from the PSTN Gateway defined earlier, however it needs to dial the full E.164 number as the normalization rules have not yet been assigned. To assign a dial plan to a CloudPBX user, first create a user-level dial plan and copy all the necessary normalization rules to this dial plan. In this lab, we have already created a user-level dial plan called HybridDialPlan and need to assign this to the CloudPBX user. To do this, run the 'grant-csdialplan' cmdlet in the on-premise Skype for Business server management shell (not in the remote powershell to Office365 tenant):
Picture
In order to make the dial plan work for the Polycom VVX phones, we need to configure the phone to download the normalization rules from the online servers using the parameter 'reg.1.applyServerDigitMapLocally = 1'. We can do this either via provisioning server or via the web admin UI of the phones. Note that the phone must be restarted in order for this parameter to take effect.

So now we have the Polycom devices registered to Office365 CloudPBX and can also make calls to the PSTN Gateway (Asterisk) using 4-digit extension dialing via normalization rules. Below are some call status screen captures for reference:
Picture
The ongoing call shown here is between a Polycom VVX600 phone that is registered to Office365 E5 Skype for Business CloudPBX online account and an X-Lite phone registered to an Asterisk PBX simulating an on-premise PSTN Gateway configured with a SIP Trunk to an on-premise Skype for Business mediation pool. Normalization rules are also applied on the phone along with its corresponding Voice Routing Policy.






Below is the Lync Status screen on the VVX600 phone showing the connectivity to Office365 Skype for Business Online with the DialPlan downloaded locally on the phone itself.
Picture
Picture
This concludes our 2-Part series blog post on Deploying Polycom Phones for Office365 E5 CloudPBX with on-premise PSTN Connectivity. The network diagram now looks as shown:
Picture
0 Comments

Your comment will be posted after it is approved.


Leave a Reply.

    Picture
    Picture

    Important Links

    Microsoft Teams Docs
    Microsoft Learn

    ​Microsoft MVP Blogs

    Michael Tressler’s Blog
    Michael’s MTR Quick Tip Videos
    Jimmy Vaughan’s Blog
    Jeff Schertz
    Adam Jacobs
    James Cussen
    ​Damien Margaritis

    Archives

    September 2022
    August 2022
    March 2022
    February 2022
    January 2022
    December 2021
    November 2021
    October 2021
    September 2021
    August 2021
    June 2021
    April 2021
    March 2021
    December 2020
    October 2020
    September 2020
    August 2020
    April 2020
    March 2020
    February 2020
    January 2020
    December 2019
    November 2019
    October 2019
    September 2019
    August 2019
    July 2019
    March 2019
    November 2018
    October 2018
    September 2018
    August 2018
    June 2018
    March 2018
    February 2018
    January 2018
    December 2017
    November 2017
    August 2017
    July 2017
    April 2017
    March 2017
    February 2017
    January 2017
    November 2016
    October 2016
    September 2016
    August 2016
    July 2016
    June 2016
    May 2016
    April 2016
    March 2016
    January 2016
    November 2015
    October 2015
    September 2015
    August 2015
    July 2015
    June 2015
    May 2015
    April 2015
    March 2015
    February 2015
    January 2015
    December 2014
    November 2014
    October 2014
    September 2014
    August 2014
    July 2014
    June 2014
    May 2014
    April 2014
    March 2014
    February 2014
    January 2014
    December 2013
    November 2013
    October 2013
    September 2013
    August 2013
    July 2013
    June 2013
    May 2013
    April 2013
    March 2013
    February 2013
    January 2013
    December 2012
    November 2012
    September 2012
    August 2012

    Categories

    All
    Edge
    Exchange 2013
    Hybrid
    Lpe
    Lync 2010
    Lync 2013
    Mobility
    Oauth
    Office365
    Polycom
    Ucs

    RSS Feed

    This website uses marketing and tracking technologies. Opting out of this will opt you out of all cookies, except for those needed to run the website. Note that some products may not work as well without tracking cookies.

    Opt Out of Cookies