| In recent years, with the rapid development of chip technology and wireless network technology, the trend of intelligent mobile terminals has become increasingly obvious.In2011, China’s smartphone shipments reached72.1million, a growth rate of103.1%.As smartphones become more and more popular in the field of communication, data revenues accounted for the proportion of the total revenue of the operators are also increasing. With the development of multimedia communication technologies,VoIP calls on the smartphone also become an increasingly mature technology. It is in this context, the author participates as a principal member in a horizontal development projects that the Beijing University of Posts and Telecommunications, and a terminal communications equipment manufactures cooperated. The goal is to develop an IMS terminal system supporting telecommunications standards based on Android system for China TelecomThe system is an IMS terminal system based on the CWMP protocol and SIP protocol. It can use the CWMP protocol to achieve the terminal authentication function, and use the SIP protocol to achieve audio and video calls function with the encoding forma of G.729, H.263, H.264. This paper realizes the innovation of CWMP protocol stack which has good scalability based on the research of Ksoap2-Android source code. Subsequently, it realizes client of IMS CWMP authentication based on the CWMP protocol stack. Meanwhile, this paper studies multi-threaded asynchronous communication mechanism of Android System, which is used in the development of the client to make the interaction process of client smoother.After finishing the implementation of the CMWP protocol part, this paper has realized the SIP part of the IMS client. First, transplant Linphone to the Android platform by using the Android NDK. Then, study the XML parsing technology in Android system to realize the automatically configuration function of Linphone. Finally, research the audio synthesis technology, as well as the Mediastreamer2library in Linphone, and achieve the real-time two-way recording function for Linphone. |