A simple telephone simulator