Abstract:The traditional circuit-switched telephone recording system has been unable to meet the needs of efficient and instant call recording in the new era administrative office due to its complicated structure, inconvenient storage, and non-real-time characteristics. Therefore, this paper presents a real-time recording system for power IMS telephone terminal to solve these problems. First of all, the article analyzes the business needs of real-time recording of telephone terminals in the power IMS exchange network. Secondly, the article introduces the implementation process of the system and clarifies the key technologies of the system: the system uses the recording server to parse the SIP message of its mirrored port for obtaining the media stream and decoding, and consistent Hash algorithm memory database is used as decoding data caching mechanism, and the message queue between the both is Ckafka. Finally, the performance of the recording server is analyzed based on the four indicators of response time, throughput, fault tolerance, and maximum delay. The analysis shows that the system has strong real-time performance, large throughput, certain fault tolerance, and load balancing.