Screenshot from the iOS 17 beta release notes: “Known Issues: While in a call, the End Call button might become inoperative. Workaround: Force reset the device.”
https://assets.chaos.social/media_attachments/files/110/497/198/516/898/862/original/3fb3dc8bf47cdc61.png