Ok The outbound calls work fine but when I try to call the number back I get dead air and a hang up. and when I try to send a txt from the 3 cx webclient I get the error authentication failed (10009) Invalid Token
What do you mean by failure? Do you get an error message when trying to call in? Does the call reach the PBX but gets dropped? Did you follow the guide to set up Telnyx?
So the next step is to check your activity log and see if the calls appear there. If there are no logs then the calls are probably not hitting your PBX.
Also did you run the firewall checker test? Does it pass?
First, do not share FQDNs, auth IDs passwords emails or any other sensitive information on public forums.
Also you obviously did not follow the Telnyx config guide to set up Telnyx because a lot of your settings are wrong.
The most obvious is that you have your "Type of Authentication" set to "Do not Require - IP Based" when it should be set to "Register/Account based".
The other thing you need to remove is your public IP from the contact header in the options menu.
To ensure that nothing else is wrong just delete the trunk and recreate it following the Telnyx guide and the Telnyx template included in the PBX.