Starting of Report

17
A Project Report on Development of Softphone using Asterisk Server Submitted for partial fulfillment of the award of the Degree Bachelor of Technology Submitted By Supervised By Aakriti Sharma (1022910001) Mr.Aashish Jain DivyaJain(1022910022) Assistant Professor Gunjan Sharma (1022910027) CSE Department

description

NA

Transcript of Starting of Report

A

Project Report

on

Development of Softphone using Asterisk Server

Submitted

for

partial fulfillment of

the award of the Degree

Bachelor of Technology

Submitted By Supervised By Aakriti Sharma (1022910001) Mr.Aashish Jain DivyaJain(1022910022) Assistant ProfessorGunjan Sharma (1022910027) CSE Department

Department of Computer Science & Engineering

Vidya College of Engineering, Meerut

Session 2013-14

A

Project Report

on

Development of Softphone using Asterisk Server

Submitted

for

partial fulfillment of

the award of the Degree

Bachelor of Technology

SUBMITTED BY

AAKRITI SHARMA DIVYA JAIN GUNJAN SHARMA1022910001 1022910022 1022910027

SUBMITTED TODEPARTMENT OF

COMPUTER SCIENCE & ENGINEERING

Department of Computer Science & EngineeringVidya College of Engineering, Meerut

Session 2013-14(ii)

DECLARATION

We hereby declare that the project report “Development ofSoftphone using Asterisk Server” is our own work and it has not been submitted anywhere for any award. The text embodied in this report has not been submitted to any other university or institute for the award of any degree or diploma.

Date: AAKRITI SHARMA1022910001

DIVYA JAIN1022910022

GUNJAN SHARMA1022910027

(iii)

VIDYA COLLEGE OF ENGINEERINGDepartment of Computer Science & EngineeringVIDYA KNOWLEDGE PARK, BAGHPAT ROAD, MEERUTT: +91 121 2439188 / 89 / 92 F: +91 121 2439166E: [email protected]

CERTIFICATE

This is to certify that this Project Report entitled “Developmentof

Softphone using Asterisk Server”submittedbyAakriti Sharma

(1022910001),Divya Jain (1022910022) and Gunjan Sharma

(1022910027) in partial fulfillment of the requirements for the

award of the degree of Bachelor of Technology in Computer

Science, of Vidya College of Engineering, Meerut, affiliated to

Uttar Pradesh Technical University is carried out by them under

my supervision.

The matter embodied in this Project Work has not been submitted

earlier for award of any degree or diploma in any

university/institution to the best of my knowledge and relief.

Date:

(Aashish Jain)Asst. Professor, CSE Dept.

(iv)

ACKNOWLEDGEMENT

It gives us a great sense of pleasure to present the report of the “Development of Softphone using Asterisk Server” undertaken during B. Tech. Final Year. We owe special debt of gratitude to Mr. Aashish Jain, Assistant Professor, Department of Computer Science, Vidya College of Engineering, Meerut, for his constant support and guidance throughout the course of our work. His sincerity, thoroughness and perseverance have been a constant source of inspiration for us.

We also take the opportunity to acknowledge the contribution of Mr. Rajendra Kumar, Head of Department of Computer Science & Engineering, Vidya college of Engineering, Meerut for his full support and assistance during the development of the project.

Last but not the least we also want to thank our Parents for their support. Once again, we would like to give our regards to all of them for the same.

AAKRITI SHARMA(1022910001)DIVYA JAIN(1022910022)

GUNJAN SHARMA(1022910027)

(v)

List of Abbreviations

Term Meaning

CLI Command Line Interface

Exten Extension

IVR Interactive Voice Response

AGI Asterisk Gateway Interface

VoIP Voice over Internet Protocol

PBX Private Business exchange

SIP Session Initiation Protocol

IMAP Internet Message Access Protocol

SDP Session Description Protocol

RTP Realtime Transport Protocol

QoS Quality of Services

IETF Internet Engineering Task Force

List of Figures(vi)

S. No. Figure Description Page No.

1 Fig.6.1.1 level-0 DFD 21

2 Fig.6.1.2 level-1DFD 21

3 Fig. 6.2.1 User Functionality 22

4 Fig.6.2.2 Server Functionality 22

5 Fig. 6.2.3 Call model 23

6 Fig. 6.3.1 GUI registration state machine 26

7 Fig. 6.3.2 FREE TALK arch 27

8 Fig. 6.3.3 SIP stack 28

List of Tables

(vii)

S. No. Table Page No.

1 Table 7.1.1 USER Database 37

2 Table 7.1.2 ACCOUNT Database 37

3 Table 8.3.1 Black Box testing table 39

Table of Contents

Chapters Page No.(viii)

Chapter 1: Introduction 11.1 Chapter Overview 21.2 Problem Description 4

Chapter 2: Proposed system 52.1 Chapter Objectives 6

Chapter 3: Protocols 73.1 VOIP(Voice over Internet Protocol) 83.2 SIP(Session Initiation Protocol) 93.3 SDP(Session Description Protocol) 93.4 RTP(Realtime Transport Protocol) 9

Chapter 4: Software requirement and specification 114.1 System Analysis 124.2 Hardware and Software Requirement 124.3 Technology used 13

Chapter 5: Feasibility Study 145.1 Technical feasibility 155.2 Operational feasibility 175.2 Economical feasibility 18

Chapter 6: Designing 19 6.1 CFD and DFD 20 6.2 Use cases Diagram 22 6.3 Modular Design 23

6.4 System Design 28Chapter 7: Coding 30

7.1 Configure the Asterisk server 31

7.2 Database Table 36

Chapter 8: Testing 37

(ix)

8.1 Definition 38

8.2 Test Items 38

8.3 Testing Techniques 39

8.3.1 Black box testing 39

8.3.2 White box testing 40

8.3.3 Validation 40

Chapter 9: Snapshots 42

Chapter 10: Conclusion 51

Chapter 11: Future scope of technology 53

References 56

ABSTRACT

(x)

In this project we have worked on development of Softphone while using

Asteriskwin32 as Server. The Softphone so developed has a special feature

ofbringing people together by calling. The call can be made by connecting

the client with the server through which calls can be made.

This Softphone is build using various protocols like Session Initiation

Protocol, Internet Message Access Protocol, Voice over Internet Protocol,

Session Description Protocol and Realtime Transport Protocol for initiating

and terminating the session, description, sending and reception. An

Asterisk gateway interface is used to provide an interface between the two

clients. This softphone is easy to use once the client has registered himself

on the server, then communication will begin.

It also includes certain future features like sticker chatting and games.

Features like routing and call handling, history of the recent calls,

phonebook with multiple contacts make it much more useful and user-

friendly.

In chapter 1

This chapter introducesthe project about how does it work and allows

accessing internet for calling.

In chapter 2

(xi)

This chapter gives the comparison between the existing and the proposed

system.

In chapter 3

This chapter defines the protocols used in this project. For media sessions

control (voice, games, etc.), SIP is the standard. For media sending and

reception, RTP is the standard. For media sessions description,SDPis the

standard and Voice over Internet Protocol.

In chapter 4

In this chapter requirement analysis is done which shows the system’s

hardware and software requirements and also the functional requirements

that will be served by this project.

In chapter 5

In this chapter feasibility study is done to test whether the system that is

developed would be able to accomplish its task on the working grounds.

In chapter 6

In this chapterDFD, Modular design and System design is done that shows

graphical representations of stepwise activities and actions with support

provided to choice, iteration and concurrency.

In chapter 7

In this chapter asterisk server configuration and database designing is done

which is used for calling.

In chapter 8

(xii)

In this chapter software testing process is given to verify that the completed

software package functions according to the expectations defined as per the

requirements.

In chapter 9

This chapter depicts the implementation of the system build by means of

snapshots. Many implementation may exist for a given specification or

standard.

In chapter 10

In this chapter project report is concluded giving brief explanation of how

the project is going to work practically. It is up to developers to take up

some inventory measures in order to bring this technology to people in a

more colorful way.

In chapter 11

In this chapter future scope of technology developed is given to show the

billion dollar market of the project along with the statistics.

(xiii)