SBC LDAP based call routing for Teams Direct Routing

Vincent Tam 101 Reputation points
2021-04-02T05:47:26.657+00:00

Our client have mix of Legacy PBX, OnPrem SfB and Teams, and I'd like to use SBC to do LDAP based call routing for migration. It is a Teams Direct Routing case.
The client's AD is connected to Azure with AADC, and enabled shared SIP address for migrating OnPrem SfB or some legazy PBX extension to Teams online.

For SfB, it is simple, since we can use LDAP to query the user's msRTCSIP-Line value, or in additional query the msRTCSIP-DeploymentLocator=SRV: to see if it is a valid SfB user.

For Teams, I am a bit confuse. suppose I can query the user's onPrem AD attribute msRTCSIP-DeploymentLocator=sipfed.online.lync.com to determine if the user is an online user. However if I need to identify the user's Teams phone number...
I found that Teams use the LineURI attribute in the AzureAD, however this value is not sync from the OnPrem AD via AADC. Only the OnPremLineURI value will sync from the OnPrem AD's msRTCSIP-Line value.

1) If I put the extension in msRTCSIP-Line in the OnPrem AD, it will sync to AzureAD's OnPremLineURI value via AADC but Teams does not populate the LineURI value from the OnPremLineURI in this way.

2) If I don't set the msRTCSIP-Line in the OnPrem AD, and I manually set the OnPremLineURI value at the AzureAD, it will then poulate the LineURI value for Teams. However in this way, it does not sync back the OnPremLineURI back to the OnPrem AD. Then I cannot use the SBC to LDAP query the OnPrem AD for the user's extension for routing...

Any idea? Many Thanks!

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
8,909 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Sharon Zhao-MSFT 25,066 Reputation points Microsoft Vendor
    2021-04-02T08:21:12.777+00:00

    @Vincent Tam ,

    Do you have a verified domain, not the default one xxx.onmicrosoft.com, in Office 365?

    In my experience, you should first verify the domain in Office 365. Then synchronizing the AD msrtcsip attributes to Online.

    Besides, I didn’t find related official document about SBC with LDAP.
    You could just follow the configuration of direct routing.


    If the response is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.