摘要:
随着移动通信技术和嵌入式系统的飞速发展,基于智能终端的VoIP在个人、商业组织和政府中的应用日趋广泛.在智能终端中,Android操作系统以其开放性和灵活性,深受广大用户和厂商的青睐,在全球市场已占据绝对优势地位.因此,基于Android平台设计实现VoIP系统,具有广泛的应用前景.介绍了PJSIP协议框架结构,分析了语音通信和即时消息收发流程,并以Android系统为运行平台,设计实现了VoIP系统.利用开源服务器FreeSwitch进行测试,该系统能够在不同版本的Android智能手机运行,并能够在3G/4G以及WIFI网络环境中进行稳定的语音通话与即时信息传输,结果表明该系统具有良好的功能性与稳定性.%As the rapid development of the mobile communication and embedded systems, Voice over Internet Protocol(VoIP) on smart mobile devices has become increasingly popular among individuals, business organizations and governments. For the smart mobile devices, the Android OS, which has been attracted by customers and manufactures due to its openness and flexibility, has occupied the absolute dominant position on the global market. So, it has wide market prospect to design and implement the VoIP based on Android platform. This paper introduces the architecture of PJSIP stack, analyzes the communication flow of voice and instant message, uses Android system as a running platform, and realizes the system of voice call in the Internet. After testing this system through the open source server FreeSwitch, it can run on smart phones using different variations of Android, and also support stable voice call and instant message transmission in 3G, 4G and WIFI network. The result shows that it has good functionality and stability.