Enable Transferring With Star Codes
Problem
Microsoft is not sending the "*" when using the dial pad to do a transfer with feature codes.
Solution #1
Use the ConnecttoTeams App to enable softkeys that will transmit the feature code directly to the PBX without having to go through Microsoft's dial pad.
Solution #2
Create a special user in Microsoft to fool Teams. Instructions for this are as follows.
The setup:
An office user - no licenses needed - called Call Park (or whatever you like)
Set the phone number to the code you want, e.g. *31
A Dial Normalization rule that captures your codes and passes them unaltered (to avoid Microsoft adding a +1 on the front).
The Execution:
when you want to transfer a call to the parking, you use Transfer and then you can type Call Park and select the user
Use the Transfer pulldown menu to select the *31 phone number. The INVITE will be sent to *31 on the PBX.
Configuration of the false user

Using the false user to send the code