Push to talk not working when im in a ts server

When I am not connected to a server, the microphone part works and I can do tests, however when I connect to one, others can no longer hear me.