Does a turn server, written in php/cgi/perl exist?

I’m only able to use these three php/cgi/perl.
Does exist a turn-server application written in one of these languages?