由於skype的出現,使得網路電話的應用急速成長,也間接地促進視訊在網際網路應用的腳步。又因為網際網路的使用者快速成長,使得目前多數網路使用者運用NAT技術,以讓多台電腦分享同一個IP。本論文以SIP通訊協定為基礎,結合G.729及H.263做為語音及影像壓縮,實作出網路視訊電話系統。此系統包含伺服器端及使用者代理程式端;伺服器端有語音伺服器及主要中繼伺服器,語音伺服器能讓使用者透過它建立SIP連線,主要中繼伺服器會指定公開IP使用者做為多媒體中繼伺服器,使用者代理程式透過此多媒體中繼伺服器,達到穿越NAT的功能。經實際架設語言伺服器、主要中繼伺服器、一台公開IP使用者及兩台位於NAT下之使用者測試,發覺確實能達到所有預期效果。
Due to Skype’s coming out, the application of IP phone is growing up rapidly which in turn stimulates the promotion of video over IP. The number of the users of Internet is also increasing tremendously, which causes most of them to use NAT to share the same public IP. This thesis implements a video IP phone system based on SIP and associated with G.729 and H.263 as its audio codec and video codec. This system consists of servers and user agents. The servers include a vocal server, which allows users to set up a SIP connection, and a master relay server, which assigns the user in public IP to be the media relay for helping users in private IP to get through NAT. After building up the system with a vocal server, a master relay server, a user agent locating in public IP, and two user agents behind NAT, we have proved that it achieves all what we expected.