Transcoding SIP Gateway
Total Page:16
File Type:pdf, Size:1020Kb
2005:084 CIV MASTER'S THESIS Transcoding SIP gateway David Åberg Luleå University of Technology MSc Programmes in Engineering Department of Computer Science and Electrical Engineering Division of Computer Communication 2005:084 CIV - ISSN: 1402-1617 - ISRN: LTU-EX--05/084--SE Transcoding SIP gateway Master Thesis Preformed at Omnitor AB Luleå David Åberg (Computer Science, Luleå university of technology) Supervisor at Omnitor: Andreas Piirimets Examinator Pierre Fransson Abstract In todays multimedia society more and more communication is becoming digitized. However under a temporary period, digital and analog techniques must coexist. So that every one can communicate with everyone else. For the deaf community, among other things, this means connecting analog text telephones to new internetbased technology. To enable this coexistance the Telecommunication Access Rehabilitation Engineering Research Center of the University of Wisconsin, Trace Center joint with Gallaudet University, and Omnitor AB have presented a idea of how this can be achieved. This report describes a project, which shows how a gateway can be designed and implemented. A gateway that has the features of enabling communication between analog text telephones and internet based clients. Enabling the users to communicate with both voice and text regardless if the users are using analog or digital media. The implementations in this project are done in Java. So the resulting gateway is as operating system independent as it can be. The result of this work was a gateway that can separate vice and analog text telephone signals in a in coming sound stream. The separation is good enough so as not to influence a conversation through the gateway. 2 (32) Preface This work was partially funded by the National Institute on Disability and Rehabilitation Research, US Dept of Education under Grant H133E990006 as part of a co-operation between the Telecommunication Access Rehabilitation Engineering Research Center of the University of Wisconsin -Trace Center joint with Gallaudet University, and Omnitor. The goal was to promote mainstreaming and functional enhancements toward telecommunications access for all. The opinions herein are those of the authors and not necessarily those of the funding agencies. 3 (32) Table of Contents 1 Introduction...........................................................................................................................6 1.1 About the project.........................................................................................................................6 1.2 Purpose.........................................................................................................................................7 1.3 Objectives.....................................................................................................................................8 1.3.1 Minimum requirements.........................................................................................................................8 1.3.2 Desired requirements.............................................................................................................................8 1.3.3 Extra requirements................................................................................................................................9 1.4 Demarcation.................................................................................................................................9 1.5 Omnitor........................................................................................................................................9 1.6 Design environment...................................................................................................................10 2 Background..........................................................................................................................11 2.1 Theory.........................................................................................................................................11 2.1.1 SIP ± Session Initiation Protocol.........................................................................................................11 2.1.1.1 SIP entities...................................................................................................................................12 2.1.2 RTP and SDP.......................................................................................................................................12 2.1.3 JMF-Java Media Framework..............................................................................................................12 2.1.4 V.18 Text telephones...........................................................................................................................13 2.1.5 FIR and IIR filter.................................................................................................................................13 2.1.5.1 FIR filter......................................................................................................................................15 2.1.5.2 IIR filter.......................................................................................................................................16 2.2 Project tools................................................................................................................................17 3 Project work.........................................................................................................................18 3.1 Design.........................................................................................................................................18 3.1.1 Java design...........................................................................................................................................18 3.1.2 The controllers.....................................................................................................................................19 3.1.3 Logging................................................................................................................................................20 3.1.4 The different session blocks................................................................................................................20 3.1.5 Incoming session blocks......................................................................................................................20 3.1.6 Outgoing session blocks......................................................................................................................21 3.1.7 Serial session blocks............................................................................................................................22 3.2 User cases...................................................................................................................................22 3.2.1 Case1...................................................................................................................................................22 3.2.2 Case 2..................................................................................................................................................23 3.2.3 Scenarios..............................................................................................................................................23 3.3 Implementation..........................................................................................................................24 3.3.1 Step1:PSTN modules..........................................................................................................................24 3.3.2 Step2:Modem signal detector..............................................................................................................26 3.3.2.1 Detector usage.............................................................................................................................28 3.3.3 Step3:The gateway..............................................................................................................................28 3.4 Testing........................................................................................................................................28 3.5 Evaluation..................................................................................................................................29 4 Project specific problems.....................................................................................................29 5 Results..................................................................................................................................30 6 Conclusions..........................................................................................................................30 4 (32) 7 Further work........................................................................................................................30 I References..........................................................................................................................31 II Abbreviations......................................................................................................................32 5 (32) 1 Introduction 1.1 About the project Today more and more communication is IP[9] based. Instant messaging is increases in popularity and even phones are now being connected to IP-enabled, through voice over IP (VoIP). The deaf community is also starting to use the Internet, moving from communicating