Method and apparatus for generating a bandlimited square waveform for use
as a ringing voltage in a telephone network is described. One embodiment comprises
a method of generating a ringing voltage signal for transmission to a telephone
device. The method comprises calculating a truncated Fourier series representation
of a square wave using only low order harmonic frequencies thereof; determining
a sampling rate; generating digital sample data using the truncated Fourier series
representation and the sampling rate; and converting the digital sample data to
an analog signal.