I fixed the problem -- in the extension 9888 and friends, the caller ids were not set at all. Now it seems to be coming in correctly.