Return to search

Adding NTP and RTCP to a SIP User Agent

With its enormous potential Voice over Internet Protocol is one of the latest buzzwords in information technology. Despite the numerous advantages of Voice over IP, it is a major technical challenge to achieve a similar call quality as experienced in the ordinary Public Switched Telephone Network. This thesis introduces standardized Internet protocols for Voice over IP, such as Session Initiation Protocol (SIP), Real-time Transport Protocol (RTP), in its background chapter. In order to provide better Quality of Service (QoS) Voice over IP applications should support a feedback mechanism, such as the Real-time Control Protocol (RTCP), and use accurate timing information, provided by the Network Time Protocol (NTP). Additionally this thesis considers synchronization issues in calls with two and more peers. After a rather academic overview of Voice over IP, the open source real-time application “minisip”, a SIP user agent, and its operation and structure for handling audio streams will be introduced. Minisip was extended by an implementation of NTP and RTCP to provide a test platform for this thesis. A clear conclusion is that the addition of global time helps facilitate synchronization of multiple streams from clients located any where in the network and in addition the ability to make one-way delay measurements helps SIP user agents to provide better quality audio to their users. / Röst över IP, eller Internettelefoni baserad på “Voice over Internet Protocol” (VoIP), har med sin stora potential blivit ett av de senaste modeorden inom informationsteknologin. Vid sedan av ett antal fördelar med VoIP så innebär det en stor teknisk utmaning att uppnå en likadan samtalskvalitet som i det vanliga, fasta, telenätet. I den här uppsatsen beskrivs hur tjänstevalitet för VoIP kan förbättras genom att noggrant tidssynkronisera de (två eller flera) klienter som deltar i ett telefonsamtal. För detta krävs dels en återkopplingsmekanism, såsom “Real-time Control Protocol” (RTCP), samt en gemensam tidsuppfattning i de inblandade klienterna, vilket kan uppnås med hjälp av “Network Time Protocol” (NTP). Dessa protokoll, liksom de övriga Internet-standarder som VoIP baseras på (såsom “Session Initiation Protocol” (SIP) och “Real-time Transport Protocol” (RTP), beskrivs inledningsvis i uppsatsen. För studien har en SIP-klient baserad på öppen källkod använts (“Minisip”), och utökats med NTP och RCTP funktionalitet för att testa den föreslagna förbättringen av VoIP. En tydlig slutsats är att kännedom om en “global tid” möjliggör synkronisering av multipla ljudströmmar från klienter som befinner sig på olika nätverk. Möjligheten att mäta paketfördröjningen (envägs) bidrar också till en förbättrad ljudkvalitet.

Identiferoai:union.ndltd.org:UPSALLA1/oai:DiVA.org:kth-92200
Date January 2006
CreatorsMayer, Franz
PublisherKTH, Kommunikationssystem, CoS
Source SetsDiVA Archive at Upsalla University
LanguageEnglish
Detected LanguageEnglish
TypeStudent thesis, info:eu-repo/semantics/bachelorThesis, text
Formatapplication/pdf
Rightsinfo:eu-repo/semantics/openAccess
RelationTrita-ICT-COS, 1653-6347 ; COS/CCS 2006-14

Page generated in 0.0019 seconds