You are on page 1of 13

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







Department of Computer Science & Engineering
Vidya College of Engineering, Meerut
Session 2013-14
(ii)
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 SHARMA
1022910001 1022910022 1022910027


SUBMITTED TO
DEPARTMENT OF
COMPUTER SCIENCE & ENGINEERING




Department of Computer Science & Engineering
Vidya College of Engineering, Meerut
Session 2013-14
(iii)
DECLARATI ON


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: AAKRI TI SHARMA
1022910001



DI VYA J AI N
1022910022



GUNJ AN SHARMA
1022910027






(iv)
VIDYA COLLEGE OF ENGINEERING
Department of Computer Science & Engineering
VIDYA KNOWLEDGE PARK, BAGHPAT ROAD, MEERUT
T: +91 121 2439188 / 89 / 92 F: +91 121 2439166
E: aashish.jain@vidya.edu.in

CERTI FI CATE

This is to certify that this Project Report entitled Developmentof
Softphone using Asterisk ServersubmittedbyAakriti Sharma
(1022910001),Divya J ain (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 J ain)
Asst. Professor, CSE Dept.

(v)
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 J ain, 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.


AAKRI TI SHARMA
(1022910001)
DI VYA J AI N
(1022910022)
GUNJ AN SHARMA
(1022910027)
(vi)
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




(vii)
List of Figures

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







(viii)
List of Tables

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



















(ix)
Table of Contents
Chapters Page No.
Chapter 1: Introduction 1
1.1 Chapter Overview 2
1.2 Problem Description 4
Chapter 2: Proposed system 5
2.1 Chapter Objectives

6
Chapter 3: Protocols 7
3.1 VOIP(Voice over Internet Protocol) 8
3.2 SIP(Session Initiation Protocol)


9
3.3 SDP(Session Description Protocol) 9
3.4 RTP(Realtime Transport Protocol) 9
Chapter 4: Software requirement and specification 11
4.1 System Analysis 12
4.2 Hardware and Software Requirement 12
4.3 Technology used
13
Chapter 5: Feasibility Study 14
5.1 Technical feasibility 15
5.2 Operational feasibility 17
5.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 28
Chapter 7: Coding

30
7.1 Configure the Asterisk server 31
(x)
7.2 Database Table 36
Chapter 8: Testing 37
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












(xi)
ABSTRACT


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.



(xii)
In chapter 2
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 systems
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.
(xiii)
In chapter 8
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.

You might also like