sip ppt edited

Upload: neha25agarwal

Post on 05-Apr-2018

234 views

Category:

Documents


0 download

TRANSCRIPT

  • 7/31/2019 Sip Ppt Edited

    1/26

    INTEROPERABILITY IN UNIFIED

    COMMUNICATIONS USING SIPFinal Year Major Project

    Supervisor : Submitted by:

    Mr. C.P. Gupta Chirag Golechha

    Asso Professor, Gaurav Jain

    Department of Computer Engineering Neha AgarwalPriyanka Mahajan

    Shikha Vijay

    Submitted to:

    Department of Computer Engineering

    University College of Engineering,RTU, Kota

  • 7/31/2019 Sip Ppt Edited

    2/26

  • 7/31/2019 Sip Ppt Edited

    3/26

    PRESENTATION COMPRISES OF:

    Introduction to Unified Communications

    Introduction to SIP

  • 7/31/2019 Sip Ppt Edited

    4/26

    Unified communication

  • 7/31/2019 Sip Ppt Edited

    5/26

    NEED To integrate different communication medium over one

    interface.

    To minimize communication response time or delay.

    One can send a message on one medium and receive the

    same message on another medium.

    Less bills to worry as all services from a single provider

    through a single number.

    To maximize work time.

  • 7/31/2019 Sip Ppt Edited

    6/26

    SESSION INITIATION PROTOCOL (SIP)

    SIP is a multimedia session control protocol published

    by IETF in 1999

    It is a application layer protocol.

    Only establishes and tear down the sessions and not

    responsible for data transfer.

    Supports the following features:

    User Location

    Users parameter negotiation User availability

    Call establishment

    Call management

  • 7/31/2019 Sip Ppt Edited

    7/26

    SIP PROTOCOL STRUCTURE

  • 7/31/2019 Sip Ppt Edited

    8/26

    SIP Protocol Message Exchange

  • 7/31/2019 Sip Ppt Edited

    9/26

    Implementation architecture

  • 7/31/2019 Sip Ppt Edited

    10/26

    STEPS OF IMPLEMENTATION

    1. Establishment of SIP Proxy Server (openSIPS).

    1.1 Configuration of User agent server.

    1.2 Configuration of Proxy server.

    1.3 Configuration of Redirect server.

    1.4 Configuration of Location server.

  • 7/31/2019 Sip Ppt Edited

    11/26

    We are implementing two services as

    unified service :-

    1.VoIP Service

    2.Mail Exchange Service

  • 7/31/2019 Sip Ppt Edited

    12/26

    Architecture to implement Voip service

  • 7/31/2019 Sip Ppt Edited

    13/26

    For VoIP service steps of implementation are :-

    1. Configuration of scripting and routing.

    2. Adding authentication.

    3. Establishing a GUI for openSIPS.

    4. Connecting to PSTN.

    5. Integration of media services.

    6. Managing accounting and billing.

  • 7/31/2019 Sip Ppt Edited

    14/26

    [email protected]

    [email protected]

    [email protected]

    Outgoing mail

    Fetchmail program

    Mail TransferAgent (Postfix

    with SASL)

    IMAP and POP3

    daemon

    Squirelmail

    web interface

    Web

    Browser

    Send to local user

    mail Boxes

    Sent Mail

    Architecture to implement mail exchange

    service

  • 7/31/2019 Sip Ppt Edited

    15/26

    The main components of mail exchange service are:-

    :- Open source software used to retrive

    email from a remote POP3, IMAP mail server to

    mail transfer agent.

    (Postfix with SASL):- It handles

    receiving mails addressed directly to our machine,

    and sending it to the correct users mailbox, andsending mail out of the machine. SASL stands for

    simple authentication security layer.

    (IMAP and POP3 Server) :- It provides away for mail user agents to access their mails.

    :- It is a web mail package.

    5. Browser interface

  • 7/31/2019 Sip Ppt Edited

    16/26

    AUTHENTICATION

    To authenticate SIP requests and save data such as location

    and alias tables we have to perform database basedauthentication using AUTH_DB module and to provideMySQL support we have to use DB_MySql module.

    The AUTH_DB module exports two functions:

    1. www_authorize :This function is used in the REGISTERrequests authentication .

    2. proxy_authorize :This function is used in the NON REGISTERrequests ( such as INVITE )authentication .

    Now we understand the working of above 2 functions one byone.

  • 7/31/2019 Sip Ppt Edited

    17/26

    The REGISTER authentication

    When Open SIPS receives the REGISTER message, it

    checks for the existence of the Authorize header. If it

    is not found, it will challenge UAC for the credentialsand exit.

    After being challenged, the UAC should send a

    REGISTER message with an Authorize header field.

  • 7/31/2019 Sip Ppt Edited

    18/26

    The INVITE authentication

    The first INVITE with a reply containing a message, 407Proxy Authentication Required. This message has theAuthorize header field, containing information about the

    digest authentication, such as realm and nonce UAC replies with a new INVITE. Now, the Authorize

    header field contains the digest calculated using theusername, password, realm, and nonce calculated using theMD5 algorithm.

  • 7/31/2019 Sip Ppt Edited

    19/26

  • 7/31/2019 Sip Ppt Edited

    20/26

    Client Interface

    It offers follwing features:

    Voice call

    Video call Instant messaging

    Mail access

  • 7/31/2019 Sip Ppt Edited

    21/26

    INTRODUCTION TO JAIN SIP

    JAIN SIP is the standardized Java interface to

    the Session Initiation Protocol for desktop and

    server applications.

    JAIN SIP enables transaction stateless,

    transaction statefull and dialog stateful control

    over the protocol.

  • 7/31/2019 Sip Ppt Edited

    22/26

    SIP PROTOCOL STACK LAYER

  • 7/31/2019 Sip Ppt Edited

    23/26

    SEQUENCE DIAGRAM JAIN SIP

  • 7/31/2019 Sip Ppt Edited

    24/26

    JAIN SIP ARCHITECTURE

  • 7/31/2019 Sip Ppt Edited

    25/26

    Why Jain sip

    Provide stack interoperability and application

    portability.

    Simple to implement and integrate.

    Provide full functionality.

    Follows the standard RFC.

    Open source.

  • 7/31/2019 Sip Ppt Edited

    26/26