With this way is it possible to encrypt the voice data
peer to peer with my
own encryption algorithm?
No, the network will most likely decompress and decompress the voice
so if it's not valid voice packets, it will fails.
It's been discussed here before, search the archives.
Cheers,
Sylvain