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!