Remotophone is a project mainly written in Java, it's free.
Arduino Code for the Remotophone
See:
http://thomasgraft.com/tag/remotophone/