Use PySpeex to harness the speex codec if you want to transmit voice over the web.Why do you want to do this, though? Just for fun?
There are already multiple established products that meet this need (eg. Ventrilo, Teamspeak, Google Talk, etc.)