-
Notifications
You must be signed in to change notification settings - Fork 39
Description
Recently I discovered that starting Windows 11 22H2 (build 22621), PhoneLineTransportDevice API no longer works, which resulted in our app's Calling feature no longer working.
The Calling feature currently relies on the PhoneLineTransportDevice API. The following is a brief description of how to use this API:
- Enumerate a
PhoneLineTransportDeviceusing either theDeviceWatcherorDeviceInformation. - Call
PhoneLineTransportDevice.RegisterApp()to register the app with Windows for the associated PhoneLineTransportDevice. - Call
PhoneLineTransportDevice.ConnectAsync(). - Use
PhoneLineWatcherto enumerate PhoneLine, similar to the DeviceWatcher. - Call
PhoneLine.Dial()
Note: Microsoft's Your Phone (now called Phone Link) uses the same mechanism to implement the Calling feature as of 2020, not sure for now.
However, after upgrading to Windows 11 22H2 (build 22621), calling PhoneLineTransportDevice.RegisterApp() either results in non-functional or throws a System.UnauthorizedAccessException, even though PhoneLineTransportDevice.RequestAccessAsync() returns "Allowed".
I tested Phone Link on my PC and verified that it works without any issues. Therefore, I am not sure why our app is experiencing this problem.
I am seeking assistance in resolving this issue. If the PhoneLineTransportDevice API is no longer usable, I am open to suggestions for alternative solutions.