As we are mainly responsible for general questions of Skype for Business, your question related to development is not in our scope.
I found a sample about voice companion, which provides PSTN phone users with access to unified communications capabilities. You could refer to it here.
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.