When it is determined that a sample queue exceeds a first predefined
level, samples being received from a IP switched network are modified
such that samples are removed within the voiced region of the samples by
removing whole pitch periods of samples. If the sample queue is below a
second predefined number, additional samples are placed into the queue by
analyzing voiced samples from the IP switched network and generating
additional pitch periods of samples.