It describes the implementation process of SIP voip call in the triple-play switch and discusses the transplantation and application of the osip stack in the Linux system, meanwhile, it proposes an embedded SIP switch application in the PSTN call processing and gives the realization diagram and solutions, which has some significance in SIP development .