SlideShare ist ein Scribd-Unternehmen logo
1 von 17
Downloaden Sie, um offline zu lesen
http://www.tech-invite.com
                                                                                                                                                                   RFC 3261's SIP Examples
                                                                                                                                                                                                    V2.4 – January 2, 2008

                                                                                                                                       biloxi.com                      Bob's
                                                                                                                                       Registrar                     SIP phone

                                                                                                                                                           .REGISTER.            This is a representation, as a slide
                                                                                                                                                                                 show, of the SIP examples outlined in
                                                                                                                                               .200 OK.                          chapter 4 (overview of operation) and
                                                                                                                                                                                 detailed in chapter 24 of RFC 3261 –
                                                                              Alice's                    atlanta.com                   biloxi.com                                SIP: Session Initiation Protocol.
                                                                            softphone                       Proxy                         Proxy
                                                                                                                                                                                 SIP messages are reported in strict
                                                                                    .INVITE.                                                                                     conformance with this RFC.
Copyright © 2005-2008 Tech-invite.com Joël Repiquet. All Rights Reserved.




                                                                                                .100 Trying.
                                                                                                                 .INVITE.
                                                                                                                             .100 Trying.
                                                                                                                                               .INVITE.

                                                                                                                                                          .180 Ringing.

                                                                                                                            .180 Ringing.

                                                                                               .180 Ringing.
                                                                                                                                                              .200 OK.

                                                                                                                                .200 OK.

                                                                                                   .200 OK.

                                                                                    .ACK.

                                                                                                                   ..Media Session..

                                                                                                                                                                 .BYE.

                                                                                    .200 OK.



                                                                                                                                                                                                                 17 pages
RFC 3261's Example – Registration (a)



                                                                                                                                                   Location
                                                                                                                                                    Server



                                                                                                                                                                                                 The Request-URI
                                                                                               atlanta.com                                                                    biloxi.com         names the domain
                                                                                                                                                                                                 of the location
                                                                                                  proxy                                                                          proxy
                                                                                                                                                                                                 service for which
                                                                                                                                                                                                 the registration is
                                                                                                                                                                                                 meant

                                                                                                                                                   biloxi.com
                                                                                                                                                    registrar
                                                                                        The To header field contains the address of record
                                                                                        whose registration is to be created
Copyright © 2005-2008 Tech-invite.com Joël Repiquet. All Rights Reserved.




                                                                                                                                                                            F1
                                                                                 The From header field contains the address-of-record                                        REGISTER sip:registrar.biloxi.com SIP/2.0
                                                                                 of the person responsible for the registration. The                                         Via: SIP/2.0/UDP bobspc.biloxi.com:5060
                                                                                 value is the same as the To header field unless the                                          ;branch=z9hG4bKnashds7
                                                                                 request is a third-party registration.
                                                                                                                                                                             Max-Forwards: 70
                                                                                                                                                                             To: Bob <sip:bob@biloxi.com>
                                                                                                                                                                             From: Bob <sip:bob@biloxi.com>
                                                                                        All registrations from a UA should use the                                            ;tag=456248
                                                                                        same Call-ID header field value for                                                  Call-ID: 843817637684230@998sdasdh09
                                                                                        registrations sent to a particular registrar.
                                                                                                                                                                             CSeq: 1826 REGISTER
                                                                                                                                                                             Contact: <sip:bob@192.0.2.4>
                                                                                                                                                                             Expires: 7200
                                                                                             The CSeq value guarantees proper ordering                                       Content-Length: 0
                                                                                             of REGISTER requests. A UA must increment
                                                                                             the CSeq value by one for each REGISTER
                                                                                             request with the same Call-ID.

                                                                                                                                                        The Expires header field indicates
                                                                                                                                                        how long the UA would like the
                                                                                                      The Contact header field with zero or more        binding to be valid. The value is a
                                                                                                      values containing address bindings.               number indicating seconds.                Bob's
                                                                              Alice's
                                                                                                                                                                                                   SIP
                                                                            softphone
                                                                                                                                                                                                  phone
RFC 3261's Example – Registration (b)



                                                                                                      Location
                                                                                                       Server




                                                                                                        Store
                                                                                        atlanta.com                         biloxi.com
                                                                                           proxy                               proxy




                                                                                                      biloxi.com
                                                                                                       registrar
Copyright © 2005-2008 Tech-invite.com Joël Repiquet. All Rights Reserved.




                                                                                                                          F2
                                                                                                                           SIP/2.0 200 OK
                                                                                                                           Via: SIP/2.0/UDP bobspc.biloxi.com:5060
                                                                                                                            ;branch=z9hG4bKnashds7
                                                                                                                            ;received=192.0.2.4
                                                                                                                           To: Bob <sip:bob@biloxi.com>
                                                                                                                            ;tag=2493k59kd
                                                                                                                           From: Bob <sip:bob@biloxi.com>
                                                                                                                            ;tag=456248
                                                                                                                           Call-ID: 843817637684230@998sdasdh09
                                                                                                                           CSeq: 1826 REGISTER
                                                                                                                           Contact: <sip:bob@192.0.2.4>
                                                                                                                           Expires: 7200
                                                                                                                           Content-Length: 0




                                                                                                                                               Bob's
                                                                              Alice's
                                                                                                                                                SIP
                                                                            softphone
                                                                                                                                               phone
RFC 3261's Example – Session Setup                 (1)


                                                                                                                             The Via header field indicates the transport (UDP)
                                                                                                                             used for the transaction and identifies the location
                                                                                                                             -- sent-by (pc33.atlanta.com) -- where the
                                                                            The initial Request-URI                          response is to be sent. The quot;branchquot; parameter is
                                                                            of the message is set                            used to identify the transaction created by that
                                                                            to the value of the URI                          request. It is mandatory and must always begin
                                                                            in the To field.                                 with the characters quot;z9hG4bKquot;.

                                                                                                       atlanta.com                The Max-Forwards header field serves to limit            biloxi.com
                                                                                                          proxy                   the number of hops a request can transit on the             proxy
                                                                                                                                  way to its destination. It is decremented by one
                                                                                                                                  at each hop.


                                                                                                                                     The To header field specifies the desired quot;logicalquot; recipient of the request, or
                                                                                                                                     the address-of-record (AOR) of the user or resource that is the target of this
                                                                            F1                                                       request. There is no quot;tagquot; parameter since the dialog is not established yet.
                                                                             INVITE sip:bob@biloxi.com SIP/2.0
Copyright © 2005-2008 Tech-invite.com Joël Repiquet. All Rights Reserved.




                                                                             Via: SIP/2.0/UDP pc33.atlanta.com
                                                                              ;branch=z9hG4bKnashds8                                       The From header field indicates the logical identity of the initiator of the
                                                                             Max-Forwards: 70                                              request, possibly the user's address-of-record. quot;Alicequot; is the (optional)
                                                                             To: Bob <sip:bob@biloxi.com>                                  display name. The quot;tagquot; parameter identifies this UA as a peer of the dialog.
                                                                             From: Alice <sip:alice@atlanta.com>
                                                                              ;tag=1928301774
                                                                             Call-ID: a84b4c76e66710                                    The Call-ID header field acts as a unique identifier and must be the same
                                                                             CSeq: 314159 INVITE                                        for all requests and responses sent by either UA in a dialog.
                                                                             Contact: <sip:alice@pc33.atlanta.com>
                                                                             Content-Type: application/sdp
                                                                                                                                  The CSeq header field serves as a way to identify and order transactions. It
                                                                             Content-Length: 142                                  consists of a sequence number and a method, matching that of the request.

                                                                             (Alice's SDP not shown)
                                                                                                                             The Contact header field provides a SIP or SIPS URI that can be used by
                                                                                                                             Bob's UA to contact Alice's UA for subsequent requests.


                                                                                                                     The Content-Type header field indicates the media type of the message-body sent
                                                                                                                     to the recipient. SDP (session description protocol ) is defined in RFC 4566.



                                                                                                             Alice's user agent (UA) does not know the location of Bob's UA or his                               Bob's
                                                                                        Alice's              server in the biloxi.com domain. Therefore, the INVITE request is sent to                            SIP
                                                                                      softphone              the SIP server that serves Alice's domain (atlanta.com). The address of
                                                                                                                                                                                                                 phone
                                                                                                             the atlanta.com SIP server could have been configured in Alice's
                                                                                                             softphone, or it could have been discovered by DHCP, for example.
RFC 3261's Example – Session Setup (2)
                                                                            The quot;atlanta.comquot; proxy server finds the SIP proxy server that serves the
                                                                            quot;biloxi.comquot; domain by performing a particular type of DNS lookup. This
                                                                            procedure (selecting a transport protocol, determining port and IP
                                                                            address) is described in RFC 3263 (SIP: Locating SIP Servers).                     Before forwarding the INVITE request, the quot;atlanta.comquot;
                                                                                                                                                               server adds an additional Via header field value that contains
                                                                                                                                                               its own address -- sent-by (bigbox3.site3.atlanta.com) -- and
                                                                                                                                                               the quot;branchquot; transaction value

                                                                                                                             F3
                                                                                                                               INVITE sip:bob@biloxi.com SIP/2.0
                                                                                                        atlanta.com            Via: SIP/2.0/UDP bigbox3.site3.atlanta.com                 biloxi.com
                                                                                                           proxy                ;branch=z9hG4bK77ef4c2312983.1                               proxy
                                                                                                                               Via: SIP/2.0/UDP pc33.atlanta.com
                                                                                                                                ;branch=z9hG4bKnashds8
                                                                                                                                ;received=192.0.2.1
                                                                                                                               Max-Forwards: 69
                                                                            F2                                                 To: Bob <sip:bob@biloxi.com>
                                                                                                                                                                               The quot;receivedquot; parameter is added to
                                                                                                                               From: Alice <sip:alice@atlanta.com>
                                                                             SIP/2.0 100 Trying                                                                                the Via header field built by Alice's
                                                                                                                                ;tag=1928301774
                                                                             Via: SIP/2.0/UDP pc33.atlanta.com                                                                 UA (as for quot;100 Tryingquot; message).
Copyright © 2005-2008 Tech-invite.com Joël Repiquet. All Rights Reserved.




                                                                                                                               Call-ID: a84b4c76e66710
                                                                              ;branch=z9hG4bKnashds8
                                                                                                                               CSeq: 314159 INVITE
                                                                              ;received=192.0.2.1
                                                                                                                               Contact: <sip:alice@pc33.atlanta.com>
                                                                             To: Bob <sip:bob@biloxi.com>
                                                                                                                               Content-Type: application/sdp                   Max-Forwards is decremented by one
                                                                             From: Alice <sip:alice@atlanta.com>
                                                                                                                               Content-Length: 142
                                                                              ;tag=1928301774
                                                                             Call-ID: a84b4c76e66710
                                                                                                                               (Alice's SDP not shown)
                                                                             CSeq: 314159 INVITE
                                                                                                                                                                               The remainder of the INVITE request
                                                                             Content-Length: 0
                                                                                                                                                                               received from Alice's UA is unchanged.




                                                                                                             The 100 (Trying) response contains the same To, From, Call-ID, CSeq
                                                                                                             header field values as the INVITE request.

                                                                                                             The quot;receivedquot; parameter is added to the Via header field by the quot;server
                                                                                                             transportquot; of atlanta.com proxy, after examining the value of the sent-by
                                                                                                             parameter (pc33.atlanta.com). This sent-by parameter was inserted by
                                                                                                             the UA's quot;client transportquot; in the Via header field value, just before
                                                                                                             sending the INVITE request. The sent-by field contained an IP address or
                                                                                                             host name, and port. The quot;receivedquot; parameter contains the IP source
                                                                                                             address from which the packet was received.                                                       Bob's
                                                                                        Alice's
                                                                                                                                                                                                                SIP
                                                                                      softphone
                                                                                                                                                                                                               phone
RFC 3261's Example – Session Setup (3)


                                                                                                                                                                             The proxy server consults
                                                                                                                                                                             the location server database,
                                                                                                                                            Location       Response
                                                                                                                                                                             that contains the current IP
                                                                                                                                             Server            Query         address of Bob.

                                                                                                                F4
                                                                                                                  SIP/2.0 100 Trying
                                                                                        atlanta.com               Via: SIP/2.0/UDP bigbox3.site3.atlanta.com            biloxi.com
                                                                                           proxy                   ;branch=z9hG4bK77ef4c2312983.1                          proxy
                                                                                                                   ;received=192.0.2.2
                                                                                                                  Via: SIP/2.0/UDP pc33.atlanta.com
                                                                                                                   ;branch=z9hG4bKnashds8
                                                                                                                   ;received=192.0.2.1
                                                                                                                                                                       F5
                                                                                                                  To: Bob <sip:bob@biloxi.com>
                                                                                                                  From: Alice <sip:alice@atlanta.com>                  INVITE sip:bob@192.0.2.4 SIP/2.0
                                                                                                                   ;tag=1928301774                                     Via: SIP/2.0/UDP server10.biloxi.com
Copyright © 2005-2008 Tech-invite.com Joël Repiquet. All Rights Reserved.




                                                                                                                  Call-ID: a84b4c76e66710                               ;branch=z9hG4bK4b43c2ff8.1
                                                                                                                  CSeq: 314159 INVITE                                  Via: SIP/2.0/UDP bigbox3.site3.atlanta.com
                                                                                                                  Content-Length: 0                                     ;branch=z9hG4bK77ef4c2312983.1
                                                                                                                                                                        ;received=192.0.2.2
                                                                                                                                                                       Via: SIP/2.0/UDP pc33.atlanta.com
                                                                                                                                                                        ;branch=z9hG4bKnashds8
                                                                                                        Before forwarding the INVITE request, the
                                                                                                                                                                        ;received=192.0.2.1
                                                                                                        quot;biloxi.comquot; server adds an additional Via
                                                                                                                                                                       Max-Forwards: 68
                                                                                                        header field value that contains its own address
                                                                                                                                                                       To: Bob <sip:bob@biloxi.com>
                                                                                                                                                                       From: Alice <sip:alice@atlanta.com>
                                                                                                                                                                        ;tag=1928301774
                                                                                                                                                                       Call-ID: a84b4c76e66710
                                                                                           The quot;receivedquot; parameter is added to the Via header                         CSeq: 314159 INVITE
                                                                                           field built by quot;atlanta.comquot; proxy server                                   Contact: <sip:alice@pc33.atlanta.com>
                                                                                                                                                                       Content-Type: application/sdp
                                                                                                                                                                       Content-Length: 142

                                                                                                                                                                       (Alice's SDP not shown)
                                                                                                                   Max-Forwards is decremented by one




                                                                                                                                                                                            Bob's
                                                                              Alice's                                   The remainder of the INVITE request                                  SIP
                                                                            softphone                                   received from quot;atlanta.comquot; proxy
                                                                                                                                                                                            phone
                                                                                                                        server is unchanged.
RFC 3261's Example – Session Setup (4)




                                                                                        atlanta.com                                                                      biloxi.com
                                                                                           proxy                                                                            proxy




                                                                                                      The quot;receivedquot; parameter is added to the Via                     F6
                                                                                                      header field built by quot;biloxi.comquot; proxy server
                                                                                                                                                                        SIP/2.0 180 Ringing
Copyright © 2005-2008 Tech-invite.com Joël Repiquet. All Rights Reserved.




                                                                                                                                                                        Via: SIP/2.0/UDP server10.biloxi.com
                                                                                                                                                                         ;branch=z9hG4bK4b43c2ff8.1
                                                                                                      The quot;tagquot; parameter, identifying this UA as a                      ;received=192.0.2.3
                                                                                                      peer of the dialog, is added to the To header                     Via: SIP/2.0/UDP bigbox3.site3.atlanta.com
                                                                                                      field. Although the dialog is not established yet,                 ;branch=z9hG4bK77ef4c2312983.1
                                                                                                      the 3 values that identify a dialog (Call-ID, local                ;received=192.0.2.2
                                                                                                      Tag, remote Tag) are already defined.                             Via: SIP/2.0/UDP pc33.atlanta.com
                                                                                                                                                                         ;branch=z9hG4bKnashds8
                                                                                                                                                                         ;received=192.0.2.1
                                                                                                      The Contact header field provides a SIP or SIPS                   To: Bob <sip:bob@biloxi.com>
                                                                                                      URI that can be used by Alice's UA to contact                      ;tag=a6c85cf
                                                                                                      Bob's UA for subsequent requests.                                 From: Alice <sip:alice@atlanta.com>
                                                                                                                                                                         ;tag=1928301774
                                                                                                                                                                        Call-ID: a84b4c76e66710
                                                                                                                                                                        Contact: <sip:bob@192.0.2.4>
                                                                                                                                                                        CSeq: 314159 INVITE
                                                                                                      The other header field values (From, Call-ID,                     Content-Length: 0
                                                                                                      CSeq, and bottom Via's) are copied from the
                                                                                                      INVITE request.



                                                                                                                                   Bob's SIP phone rings and indicates this in a 180         Bob's
                                                                              Alice's                                              (Ringing) response, which is routed back in the
                                                                                                                                                                                              SIP
                                                                            softphone                                              reverse direction to biloxi.com proxy (IP address
                                                                                                                                   and transport found in the top Via header field)          phone
RFC 3261's Example – Session Setup (5)




                                                                                                      F7
                                                                                                      SIP/2.0 180 Ringing
                                                                                                      Via: SIP/2.0/UDP bigbox3.site3.atlanta.com
                                                                                        atlanta.com                                                biloxi.com
                                                                                                       ;branch=z9hG4bK77ef4c2312983.1
                                                                                           proxy       ;received=192.0.2.2
                                                                                                                                                      proxy
                                                                                                      Via: SIP/2.0/UDP pc33.atlanta.com
                                                                                                       ;branch=z9hG4bKnashds8
                                                                                                       ;received=192.0.2.1
                                                                                                      To: Bob <sip:bob@biloxi.com>
                                                                                                       ;tag=a6c85cf
                                                                                                      From: Alice <sip:alice@atlanta.com>          The top Via header field in the 180
                                                                                                       ;tag=1928301774                             (Ringing) message received from
Copyright © 2005-2008 Tech-invite.com Joël Repiquet. All Rights Reserved.




                                                                                                      Call-ID: a84b4c76e66710                      Bob's UA, is used by biloxi.com
                                                                                                      Contact: <sip:bob@192.0.2.4>                 proxy server for retrieving the
                                                                                                      CSeq: 314159 INVITE                          relevant transaction, using the
                                                                                                                                                   quot;branchquot; parameter. It is then
                                                                                                      Content-Length: 0
                                                                                                                                                   removed and the information in
                                                                                                                                                   the new top Via header field is
                                                                                                                                                   used for forwarding the message
                                                                                                                                                   towards the next hop in the
                                                                                                                                                   reverse path: atlanta.com proxy.




                                                                                                                                                                        Bob's
                                                                              Alice's
                                                                                                                                                                         SIP
                                                                            softphone
                                                                                                                                                                        phone
RFC 3261's Example – Session Setup (6)




                                                                                                    atlanta.com                                                             biloxi.com
                                                                                                       proxy                                                                   proxy




                                                                            F8
Copyright © 2005-2008 Tech-invite.com Joël Repiquet. All Rights Reserved.




                                                                            SIP/2.0 180 Ringing
                                                                            Via: SIP/2.0/UDP pc33.atlanta.com
                                                                             ;branch=z9hG4bKnashds8
                                                                             ;received=192.0.2.1
                                                                            To: Bob <sip:bob@biloxi.com>
                                                                             ;tag=a6c85cf
                                                                                                                      The top Via header field in the 180
                                                                            From: Alice <sip:alice@atlanta.com>
                                                                                                                      (Ringing) message received from
                                                                             ;tag=1928301774                          biloxi.com proxy, is used by atlanta.com
                                                                            Call-ID: a84b4c76e66710                   proxy server for retrieving the relevant
                                                                            Contact: <sip:bob@192.0.2.4>              transaction, using the quot;branchquot;
                                                                            CSeq: 314159 INVITE                       parameter. It is then removed and the
                                                                            Content-Length: 0                         information in the new top Via header
                                                                                                                      field is used for forwarding the message
                                                                                                                      towards the next hop in the reverse
                                                                                                                      path: Alice's UA.




                                                                                                   Alice's softphone passes the Ringing information to                                     Bob's
                                                                                     Alice's
                                                                                                   Alice, using an audio ringback tone or by displaying                                     SIP
                                                                                   softphone       a message on Alice's screen.                                                            phone
RFC 3261's Example – Session Setup (7)


                                                                                                                   quot;CSeq: 314159 INVITEquot; / quot;branch=z9hG4bK4b43c2ff8.1quot;
                                                                                                                   transaction, between biloxi.com proxy and Bob's UA,
                                                                                                                   terminates with this 200 (OK) response




                                                                                        atlanta.com                                           biloxi.com
                                                                                           proxy                                                 proxy



                                                                                                                                            F9
                                                                                                                                              SIP/2.0 200 OK
                                                                                                                                              Via: SIP/2.0/UDP server10.biloxi.com
Copyright © 2005-2008 Tech-invite.com Joël Repiquet. All Rights Reserved.




                                                                                                                                               ;branch=z9hG4bK4b43c2ff8.1
                                                                                                                                               ;received=192.0.2.3
                                                                                                                                              Via: SIP/2.0/UDP bigbox3.site3.atlanta.com
                                                                                                                                               ;branch=z9hG4bK77ef4c2312983.1
                                                                                                                                               ;received=192.0.2.2
                                                                                                                                              Via: SIP/2.0/UDP pc33.atlanta.com
                                                                                                                                               ;branch=z9hG4bKnashds8
                                                                                                                                               ;received=192.0.2.1
                                                                                                                                              To: Bob <sip:bob@biloxi.com>
                                                                                                                                               ;tag=a6c85cf
                                                                                                                                              From: Alice <sip:alice@atlanta.com>
                                                                                                                                               ;tag=1928301774
                                                                                                                                              Call-ID: a84b4c76e66710
                                                                                                                                              CSeq: 314159 INVITE
                                                                                                                                              Contact: <sip:bob@192.0.2.4>
                                                                                                                                              Content-Type: application/sdp
                                                                                                                                              Content-Length: 131

                                                                                                                                              (Bob's SDP not shown)



                                                                                                      When Bob answers the call, his SIP phone sends a             Bob's
                                                                              Alice's                 200 (OK) response to indicate that the call has been          SIP
                                                                            softphone                 answered. The 200 (OK) contains a message body
                                                                                                                                                                   phone
                                                                                                      with the SDP media description of the type of session
                                                                                                      that Bob is willing to establish with Alice.
RFC 3261's Example – Session Setup (8)

                                                                            quot;CSeq: 314159 INVITEquot; / quot;branch=z9hG4bK77ef4c2312983.1quot;
                                                                            transaction, between biloxi.com proxy and atlanta.com proxy,
                                                                            terminates with this 200 (OK) response



                                                                                                                                 F10
                                                                                                                                  SIP/2.0 200 OK
                                                                                                       atlanta.com                Via: SIP/2.0/UDP bigbox3.site3.atlanta.com    biloxi.com
                                                                                                          proxy                    ;branch=z9hG4bK77ef4c2312983.1                  proxy
                                                                                                                                   ;received=192.0.2.2
                                                                                                                                  Via: SIP/2.0/UDP pc33.atlanta.com
                                                                                                                                   ;branch=z9hG4bKnashds8
                                                                                                                                   ;received=192.0.2.1
                                                                                                                                  To: Bob <sip:bob@biloxi.com>
                                                                                                                                   ;tag=a6c85cf
                                                                                                                                  From: Alice <sip:alice@atlanta.com>
Copyright © 2005-2008 Tech-invite.com Joël Repiquet. All Rights Reserved.




                                                                                                                                   ;tag=1928301774
                                                                                                                                  Call-ID: a84b4c76e66710
                                                                                                                                  CSeq: 314159 INVITE
                                                                                                                                  Contact: <sip:bob@192.0.2.4>
                                                                                                                                  Content-Type: application/sdp
                                                                                                                                  Content-Length: 131

                                                                                                                                  (Bob's SDP not shown)




                                                                                                                                                                                               Bob's
                                                                                       Alice's
                                                                                                                                                                                                SIP
                                                                                     softphone
                                                                                                                                                                                               phone
RFC 3261's Example – Session Setup (9)




                                                                                                     atlanta.com                                                   biloxi.com
                                                                                                        proxy                                                         proxy




                                                                            F11
Copyright © 2005-2008 Tech-invite.com Joël Repiquet. All Rights Reserved.




                                                                            SIP/2.0 200 OK
                                                                            Via: SIP/2.0/UDP pc33.atlanta.com
                                                                             ;branch=z9hG4bKnashds8
                                                                             ;received=192.0.2.1
                                                                            To: Bob <sip:bob@biloxi.com>
                                                                             ;tag=a6c85cf
                                                                            From: Alice <sip:alice@atlanta.com>
                                                                             ;tag=1928301774
                                                                            Call-ID: a84b4c76e66710
                                                                            CSeq: 314159 INVITE
                                                                            Contact: <sip:bob@192.0.2.4>
                                                                            Content-Type: application/sdp
                                                                            Content-Length: 131

                                                                            (Bob's SDP not shown)


                                                                                               quot;CSeq: 314159 INVITEquot; / quot;branch=z9hG4bKnashds8quot;
                                                                                               transaction, between atlanta.com proxy and Alice's UA,
                                                                                               terminates with this 200 (OK) response


                                                                                                                                                                                  Bob's
                                                                                     Alice's        Alice's softphone stops the ringback tone and
                                                                                                                                                                                   SIP
                                                                                   softphone        indicates that the call has been answered
                                                                                                                                                                                  phone
RFC 3261's Example – Session Setup (10)




                                                                                                   atlanta.com                                                            biloxi.com
                                                                                                      proxy                                                                  proxy
Copyright © 2005-2008 Tech-invite.com Joël Repiquet. All Rights Reserved.




                                                                            Alice's softphone sends an ACK (message
                                                                            request) to Bob's SIP phone to confirm the
                                                                            reception of the final response (200 (OK)).
                                                                            In this example, the ACK is sent directly from
                                                                            Alice's softphone to Bob's SIP phone,
                                                                            bypassing the two proxies. This occurs
                                                                            because the endpoints have learned each
                                                                            other's address from the Contact header          F12
                                                                            fields through the INVITE/200 (OK)               ACK sip:bob@192.0.2.4 SIP/2.0
                                                                            exchange, which was not known when the           Via: SIP/2.0/UDP pc33.atlanta.com
                                                                            initial INVITE was sent.
                                                                                                                              ;branch=z9hG4bKnashds9
                                                                                                                             Max-Forwards: 70
                                                                                                                             To: Bob <sip:bob@biloxi.com>
                                                                                                                              ;tag=a6c85cf
                                                                                                                             From: Alice <sip:alice@atlanta.com>
                                                                                                                              ;tag=1928301774                                            Bob's
                                                                                  Alice's
                                                                                                                             Call-ID: a84b4c76e66710                                      SIP
                                                                                softphone
                                                                                                                             CSeq: 314159 ACK                                            phone
                                                                                                                             Content-Length: 0
RFC 3261's Example – Session Setup (11)




                                                                                        atlanta.com                                                         biloxi.com
                                                                                           proxy                                                               proxy
Copyright © 2005-2008 Tech-invite.com Joël Repiquet. All Rights Reserved.




                                                                                                      Alice and Bob's media session has now begun, and
                                                                                                      they send media packets using the format to
                                                                                                      which they agreed in the exchange of SDP. In
                                                                                                      general, the end-to-end media packets take a
                                                                                                      different path from the SIP signaling messages.

                                                                                                      One or a combination of the following media types
                                                                                                      can be used with SDP: quot;audioquot;, quot;videoquot;,
                                                                                                      quot;applicationquot;, quot;dataquot;, quot;controlquot;...




                                                                                                                                                                           Bob's
                                                                              Alice's
                                                                            softphone
                                                                                                                     Media Session                                          SIP
                                                                                                                                                                           phone
RFC 3261's Example – Session Setup (12)




                                                                                        atlanta.com                                                biloxi.com
                                                                                           proxy                                                      proxy
Copyright © 2005-2008 Tech-invite.com Joël Repiquet. All Rights Reserved.




                                                                                                                                                   At the end of the call, Bob disconnects
                                                                                                      F13                                          (hangs up) first and his SIP phone
                                                                                                      BYE sip:alice@pc33.atlanta.com SIP/2.0       generates a BYE (request) message.
                                                                                                      Via: SIP/2.0/UDP 192.0.2.4                   This BYE is routed directly to Alice's
                                                                                                       ;branch=z9hG4bKnashds10                     softphone, again bypassing the proxies.
                                                                                                      Max-Forwards: 70
                                                                                                      From: Bob <sip:bob@biloxi.com>
                                                                                                       ;tag=a6c85cf
                                                                                                      To: Alice <sip:alice@atlanta.com>
                                                                                                       ;tag=1928301774                                                 Bob's
                                                                              Alice's
                                                                                                      Call-ID: a84b4c76e66710                                           SIP
                                                                            softphone
                                                                                                      CSeq: 231 BYE                                                    phone
                                                                                                      Content-Length: 0
RFC 3261's Example – Session Setup (13)




                                                                                                         atlanta.com                                                  biloxi.com
                                                                                                            proxy                                                        proxy
Copyright © 2005-2008 Tech-invite.com Joël Repiquet. All Rights Reserved.




                                                                                                                       F14
                                                                            Alice confirms receipt of the BYE with a   SIP/2.0 200 OK
                                                                            200 (OK) response, which terminates
                                                                                                                       Via: SIP/2.0/UDP 192.0.2.4
                                                                            the session and the BYE transaction.
                                                                                                                        ;branch=z9hG4bKnashds10
                                                                                                                       From: Bob <sip:bob@biloxi.com>
                                                                                                                        ;tag=a6c85cf
                                                                                                                       To: Alice <sip:alice@atlanta.com>
                                                                                                                        ;tag=1928301774
                                                                                                                       Call-ID: a84b4c76e66710                                       Bob's
                                                                                        Alice's
                                                                                                                       CSeq: 231 BYE                                                  SIP
                                                                                      softphone
                                                                                                                       Content-Length: 0                                             phone
RFC 3261's Example – Session Setup (end)




                                                                                        atlanta.com             biloxi.com
                                                                                           proxy                   proxy
Copyright © 2005-2008 Tech-invite.com Joël Repiquet. All Rights Reserved.




                                                                                                                                Bob's
                                                                              Alice's
                                                                                                                                 SIP
                                                                            softphone
                                                                                                                                phone

Weitere ähnliche Inhalte

Was ist angesagt?

VoLTE_SRVCC_E2Erevised
VoLTE_SRVCC_E2ErevisedVoLTE_SRVCC_E2Erevised
VoLTE_SRVCC_E2ErevisedAmit Deshmukh
 
VoLTE Interfaces , Protocols & IMS Stack
VoLTE Interfaces , Protocols & IMS StackVoLTE Interfaces , Protocols & IMS Stack
VoLTE Interfaces , Protocols & IMS StackVikas Shokeen
 
Advanced: 5G Service Based Architecture (SBA)
Advanced: 5G Service Based Architecture (SBA)Advanced: 5G Service Based Architecture (SBA)
Advanced: 5G Service Based Architecture (SBA)3G4G
 
Initial LTE call Setup Flow
Initial LTE call Setup FlowInitial LTE call Setup Flow
Initial LTE call Setup Flowassinha
 
Beginners: 5G Terminology (Updated - Feb 2019)
Beginners: 5G Terminology (Updated - Feb 2019)Beginners: 5G Terminology (Updated - Feb 2019)
Beginners: 5G Terminology (Updated - Feb 2019)3G4G
 
IMS Session Flow
IMS Session FlowIMS Session Flow
IMS Session FlowKent Loh
 
EPG PGW SAPC SACC PISC Configuration
EPG PGW SAPC SACC PISC ConfigurationEPG PGW SAPC SACC PISC Configuration
EPG PGW SAPC SACC PISC ConfigurationMustafa Golam
 
Internet security association and key management protocol (isakmp)
Internet security association and key management protocol (isakmp)Internet security association and key management protocol (isakmp)
Internet security association and key management protocol (isakmp)CAS
 
Ims call flow
Ims call flowIms call flow
Ims call flowMorg
 
volte call flow - SIP IMS Call Flow - MO and MT Call - Volte Mobile originati...
volte call flow - SIP IMS Call Flow - MO and MT Call - Volte Mobile originati...volte call flow - SIP IMS Call Flow - MO and MT Call - Volte Mobile originati...
volte call flow - SIP IMS Call Flow - MO and MT Call - Volte Mobile originati...Vikas Shokeen
 
SRVCC (Single Radio Voice Call Continuity) in VoLTE & Comparison with CSFB
SRVCC (Single Radio Voice Call Continuity) in VoLTE & Comparison with CSFBSRVCC (Single Radio Voice Call Continuity) in VoLTE & Comparison with CSFB
SRVCC (Single Radio Voice Call Continuity) in VoLTE & Comparison with CSFBVikas Shokeen
 
AIRCOM LTE Webinar 6 - Comparison between GSM, UMTS & LTE
AIRCOM LTE Webinar 6 - Comparison between GSM, UMTS & LTEAIRCOM LTE Webinar 6 - Comparison between GSM, UMTS & LTE
AIRCOM LTE Webinar 6 - Comparison between GSM, UMTS & LTEAIRCOM International
 
IMS Authentication with AKAv1 and AKAv2
IMS Authentication with AKAv1 and AKAv2 IMS Authentication with AKAv1 and AKAv2
IMS Authentication with AKAv1 and AKAv2 mohammad norozzudegan
 
Lte ue initial attach & detach from networkx
Lte ue initial attach & detach from networkxLte ue initial attach & detach from networkx
Lte ue initial attach & detach from networkxtharinduwije
 
Beginners: Different Types of RAN Architectures - Distributed, Centralized & ...
Beginners: Different Types of RAN Architectures - Distributed, Centralized & ...Beginners: Different Types of RAN Architectures - Distributed, Centralized & ...
Beginners: Different Types of RAN Architectures - Distributed, Centralized & ...3G4G
 

Was ist angesagt? (20)

Smpp v3 4
Smpp v3 4Smpp v3 4
Smpp v3 4
 
VoLTE_SRVCC_E2Erevised
VoLTE_SRVCC_E2ErevisedVoLTE_SRVCC_E2Erevised
VoLTE_SRVCC_E2Erevised
 
VoLTE Interfaces , Protocols & IMS Stack
VoLTE Interfaces , Protocols & IMS StackVoLTE Interfaces , Protocols & IMS Stack
VoLTE Interfaces , Protocols & IMS Stack
 
Advanced: 5G Service Based Architecture (SBA)
Advanced: 5G Service Based Architecture (SBA)Advanced: 5G Service Based Architecture (SBA)
Advanced: 5G Service Based Architecture (SBA)
 
Initial LTE call Setup Flow
Initial LTE call Setup FlowInitial LTE call Setup Flow
Initial LTE call Setup Flow
 
Beginners: 5G Terminology (Updated - Feb 2019)
Beginners: 5G Terminology (Updated - Feb 2019)Beginners: 5G Terminology (Updated - Feb 2019)
Beginners: 5G Terminology (Updated - Feb 2019)
 
IMS Session Flow
IMS Session FlowIMS Session Flow
IMS Session Flow
 
3GPP IMS
3GPP IMS3GPP IMS
3GPP IMS
 
Rach procedure in lte
Rach procedure in lteRach procedure in lte
Rach procedure in lte
 
EPG PGW SAPC SACC PISC Configuration
EPG PGW SAPC SACC PISC ConfigurationEPG PGW SAPC SACC PISC Configuration
EPG PGW SAPC SACC PISC Configuration
 
Internet security association and key management protocol (isakmp)
Internet security association and key management protocol (isakmp)Internet security association and key management protocol (isakmp)
Internet security association and key management protocol (isakmp)
 
Ims call flow
Ims call flowIms call flow
Ims call flow
 
volte call flow - SIP IMS Call Flow - MO and MT Call - Volte Mobile originati...
volte call flow - SIP IMS Call Flow - MO and MT Call - Volte Mobile originati...volte call flow - SIP IMS Call Flow - MO and MT Call - Volte Mobile originati...
volte call flow - SIP IMS Call Flow - MO and MT Call - Volte Mobile originati...
 
SRVCC (Single Radio Voice Call Continuity) in VoLTE & Comparison with CSFB
SRVCC (Single Radio Voice Call Continuity) in VoLTE & Comparison with CSFBSRVCC (Single Radio Voice Call Continuity) in VoLTE & Comparison with CSFB
SRVCC (Single Radio Voice Call Continuity) in VoLTE & Comparison with CSFB
 
LTE Procedures
LTE ProceduresLTE Procedures
LTE Procedures
 
AIRCOM LTE Webinar 6 - Comparison between GSM, UMTS & LTE
AIRCOM LTE Webinar 6 - Comparison between GSM, UMTS & LTEAIRCOM LTE Webinar 6 - Comparison between GSM, UMTS & LTE
AIRCOM LTE Webinar 6 - Comparison between GSM, UMTS & LTE
 
IMS Authentication with AKAv1 and AKAv2
IMS Authentication with AKAv1 and AKAv2 IMS Authentication with AKAv1 and AKAv2
IMS Authentication with AKAv1 and AKAv2
 
Lte ue initial attach & detach from networkx
Lte ue initial attach & detach from networkxLte ue initial attach & detach from networkx
Lte ue initial attach & detach from networkx
 
VoLTE flows - basics
VoLTE flows - basicsVoLTE flows - basics
VoLTE flows - basics
 
Beginners: Different Types of RAN Architectures - Distributed, Centralized & ...
Beginners: Different Types of RAN Architectures - Distributed, Centralized & ...Beginners: Different Types of RAN Architectures - Distributed, Centralized & ...
Beginners: Different Types of RAN Architectures - Distributed, Centralized & ...
 

Andere mochten auch

Performance testing ( Approaching , Designing performance tests)
Performance testing ( Approaching , Designing performance tests) Performance testing ( Approaching , Designing performance tests)
Performance testing ( Approaching , Designing performance tests) Abhijeet Patil
 
Analisa performance voip sip trunking pada vpn vtun
Analisa performance voip sip trunking pada vpn vtunAnalisa performance voip sip trunking pada vpn vtun
Analisa performance voip sip trunking pada vpn vtunAde Frihadi
 
Aa pif - orion (local)
Aa pif - orion (local)Aa pif - orion (local)
Aa pif - orion (local)Confidential
 
Interactive whiteboard pro digital
Interactive whiteboard pro digitalInteractive whiteboard pro digital
Interactive whiteboard pro digitalGenee Technologies
 
Reputación online marcas relacionadas con la crisis de la carne de caballo
Reputación online marcas relacionadas con la crisis de la carne de caballoReputación online marcas relacionadas con la crisis de la carne de caballo
Reputación online marcas relacionadas con la crisis de la carne de caballonethodology
 
Vilvalumar ebs consultant
Vilvalumar ebs consultantVilvalumar ebs consultant
Vilvalumar ebs consultantVilva Kumar
 
TradeTech San Fran 2010
TradeTech San Fran 2010TradeTech San Fran 2010
TradeTech San Fran 2010Sara Mueller
 
Empleo, salarios y productividad de los universitarios
Empleo, salarios y productividad de los universitariosEmpleo, salarios y productividad de los universitarios
Empleo, salarios y productividad de los universitariosIvie
 
Programa de Dirección Comercial
Programa de Dirección ComercialPrograma de Dirección Comercial
Programa de Dirección Comercialiddealia
 
Docfoc.com ngn - signaling &amp;amp; protocol analysis
Docfoc.com ngn - signaling &amp;amp; protocol analysisDocfoc.com ngn - signaling &amp;amp; protocol analysis
Docfoc.com ngn - signaling &amp;amp; protocol analysisRashid Khan
 
Solucion sena
Solucion senaSolucion sena
Solucion senapiquia486
 

Andere mochten auch (20)

Performance testing ( Approaching , Designing performance tests)
Performance testing ( Approaching , Designing performance tests) Performance testing ( Approaching , Designing performance tests)
Performance testing ( Approaching , Designing performance tests)
 
Analisa performance voip sip trunking pada vpn vtun
Analisa performance voip sip trunking pada vpn vtunAnalisa performance voip sip trunking pada vpn vtun
Analisa performance voip sip trunking pada vpn vtun
 
IPv6 and SIP - Myth or Reality?
IPv6 and SIP - Myth or Reality?IPv6 and SIP - Myth or Reality?
IPv6 and SIP - Myth or Reality?
 
SIP and IPv6 - Can They Get Along?
SIP and IPv6 - Can They Get Along?SIP and IPv6 - Can They Get Along?
SIP and IPv6 - Can They Get Along?
 
Formato cooperativa 2
Formato cooperativa 2Formato cooperativa 2
Formato cooperativa 2
 
Aa pif - orion (local)
Aa pif - orion (local)Aa pif - orion (local)
Aa pif - orion (local)
 
Interactive whiteboard pro digital
Interactive whiteboard pro digitalInteractive whiteboard pro digital
Interactive whiteboard pro digital
 
VDC Newsletter 2009-02
VDC Newsletter 2009-02VDC Newsletter 2009-02
VDC Newsletter 2009-02
 
Reputación online marcas relacionadas con la crisis de la carne de caballo
Reputación online marcas relacionadas con la crisis de la carne de caballoReputación online marcas relacionadas con la crisis de la carne de caballo
Reputación online marcas relacionadas con la crisis de la carne de caballo
 
Calendario Subbética Cordobesa 2016
Calendario Subbética  Cordobesa 2016Calendario Subbética  Cordobesa 2016
Calendario Subbética Cordobesa 2016
 
Vilvalumar ebs consultant
Vilvalumar ebs consultantVilvalumar ebs consultant
Vilvalumar ebs consultant
 
Brandraising
BrandraisingBrandraising
Brandraising
 
Origen de OndaCampus Radio
Origen de OndaCampus RadioOrigen de OndaCampus Radio
Origen de OndaCampus Radio
 
Dieta mediterranea
Dieta mediterraneaDieta mediterranea
Dieta mediterranea
 
TradeTech San Fran 2010
TradeTech San Fran 2010TradeTech San Fran 2010
TradeTech San Fran 2010
 
Empleo, salarios y productividad de los universitarios
Empleo, salarios y productividad de los universitariosEmpleo, salarios y productividad de los universitarios
Empleo, salarios y productividad de los universitarios
 
Programa de Dirección Comercial
Programa de Dirección ComercialPrograma de Dirección Comercial
Programa de Dirección Comercial
 
Docfoc.com ngn - signaling &amp;amp; protocol analysis
Docfoc.com ngn - signaling &amp;amp; protocol analysisDocfoc.com ngn - signaling &amp;amp; protocol analysis
Docfoc.com ngn - signaling &amp;amp; protocol analysis
 
mipymes papelerias
mipymes papeleriasmipymes papelerias
mipymes papelerias
 
Solucion sena
Solucion senaSolucion sena
Solucion sena
 

Mehr von Abasota

Introduccion al Sistema Digital Radio Mondiale (DRM)
Introduccion al Sistema Digital Radio Mondiale (DRM)Introduccion al Sistema Digital Radio Mondiale (DRM)
Introduccion al Sistema Digital Radio Mondiale (DRM)Abasota
 
Ejemplo Llamada Emergencia En TelefoníA Ip
Ejemplo Llamada Emergencia En TelefoníA IpEjemplo Llamada Emergencia En TelefoníA Ip
Ejemplo Llamada Emergencia En TelefoníA IpAbasota
 
Llamada Sip (1)
Llamada Sip (1)Llamada Sip (1)
Llamada Sip (1)Abasota
 
Llamada Sip (2)
Llamada Sip (2)Llamada Sip (2)
Llamada Sip (2)Abasota
 
Como iniciar una sesión mediante Sip
Como iniciar una sesión mediante SipComo iniciar una sesión mediante Sip
Como iniciar una sesión mediante SipAbasota
 
Registrar En Sip
Registrar En SipRegistrar En Sip
Registrar En SipAbasota
 

Mehr von Abasota (6)

Introduccion al Sistema Digital Radio Mondiale (DRM)
Introduccion al Sistema Digital Radio Mondiale (DRM)Introduccion al Sistema Digital Radio Mondiale (DRM)
Introduccion al Sistema Digital Radio Mondiale (DRM)
 
Ejemplo Llamada Emergencia En TelefoníA Ip
Ejemplo Llamada Emergencia En TelefoníA IpEjemplo Llamada Emergencia En TelefoníA Ip
Ejemplo Llamada Emergencia En TelefoníA Ip
 
Llamada Sip (1)
Llamada Sip (1)Llamada Sip (1)
Llamada Sip (1)
 
Llamada Sip (2)
Llamada Sip (2)Llamada Sip (2)
Llamada Sip (2)
 
Como iniciar una sesión mediante Sip
Como iniciar una sesión mediante SipComo iniciar una sesión mediante Sip
Como iniciar una sesión mediante Sip
 
Registrar En Sip
Registrar En SipRegistrar En Sip
Registrar En Sip
 

Kürzlich hochgeladen

WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 

Kürzlich hochgeladen (20)

WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 

Ejemplos SIP RFC 3261

  • 1. http://www.tech-invite.com RFC 3261's SIP Examples V2.4 – January 2, 2008 biloxi.com Bob's Registrar SIP phone .REGISTER. This is a representation, as a slide show, of the SIP examples outlined in .200 OK. chapter 4 (overview of operation) and detailed in chapter 24 of RFC 3261 – Alice's atlanta.com biloxi.com SIP: Session Initiation Protocol. softphone Proxy Proxy SIP messages are reported in strict .INVITE. conformance with this RFC. Copyright © 2005-2008 Tech-invite.com Joël Repiquet. All Rights Reserved. .100 Trying. .INVITE. .100 Trying. .INVITE. .180 Ringing. .180 Ringing. .180 Ringing. .200 OK. .200 OK. .200 OK. .ACK. ..Media Session.. .BYE. .200 OK. 17 pages
  • 2. RFC 3261's Example – Registration (a) Location Server The Request-URI atlanta.com biloxi.com names the domain of the location proxy proxy service for which the registration is meant biloxi.com registrar The To header field contains the address of record whose registration is to be created Copyright © 2005-2008 Tech-invite.com Joël Repiquet. All Rights Reserved. F1 The From header field contains the address-of-record REGISTER sip:registrar.biloxi.com SIP/2.0 of the person responsible for the registration. The Via: SIP/2.0/UDP bobspc.biloxi.com:5060 value is the same as the To header field unless the ;branch=z9hG4bKnashds7 request is a third-party registration. Max-Forwards: 70 To: Bob <sip:bob@biloxi.com> From: Bob <sip:bob@biloxi.com> All registrations from a UA should use the ;tag=456248 same Call-ID header field value for Call-ID: 843817637684230@998sdasdh09 registrations sent to a particular registrar. CSeq: 1826 REGISTER Contact: <sip:bob@192.0.2.4> Expires: 7200 The CSeq value guarantees proper ordering Content-Length: 0 of REGISTER requests. A UA must increment the CSeq value by one for each REGISTER request with the same Call-ID. The Expires header field indicates how long the UA would like the The Contact header field with zero or more binding to be valid. The value is a values containing address bindings. number indicating seconds. Bob's Alice's SIP softphone phone
  • 3. RFC 3261's Example – Registration (b) Location Server Store atlanta.com biloxi.com proxy proxy biloxi.com registrar Copyright © 2005-2008 Tech-invite.com Joël Repiquet. All Rights Reserved. F2 SIP/2.0 200 OK Via: SIP/2.0/UDP bobspc.biloxi.com:5060 ;branch=z9hG4bKnashds7 ;received=192.0.2.4 To: Bob <sip:bob@biloxi.com> ;tag=2493k59kd From: Bob <sip:bob@biloxi.com> ;tag=456248 Call-ID: 843817637684230@998sdasdh09 CSeq: 1826 REGISTER Contact: <sip:bob@192.0.2.4> Expires: 7200 Content-Length: 0 Bob's Alice's SIP softphone phone
  • 4. RFC 3261's Example – Session Setup (1) The Via header field indicates the transport (UDP) used for the transaction and identifies the location -- sent-by (pc33.atlanta.com) -- where the The initial Request-URI response is to be sent. The quot;branchquot; parameter is of the message is set used to identify the transaction created by that to the value of the URI request. It is mandatory and must always begin in the To field. with the characters quot;z9hG4bKquot;. atlanta.com The Max-Forwards header field serves to limit biloxi.com proxy the number of hops a request can transit on the proxy way to its destination. It is decremented by one at each hop. The To header field specifies the desired quot;logicalquot; recipient of the request, or the address-of-record (AOR) of the user or resource that is the target of this F1 request. There is no quot;tagquot; parameter since the dialog is not established yet. INVITE sip:bob@biloxi.com SIP/2.0 Copyright © 2005-2008 Tech-invite.com Joël Repiquet. All Rights Reserved. Via: SIP/2.0/UDP pc33.atlanta.com ;branch=z9hG4bKnashds8 The From header field indicates the logical identity of the initiator of the Max-Forwards: 70 request, possibly the user's address-of-record. quot;Alicequot; is the (optional) To: Bob <sip:bob@biloxi.com> display name. The quot;tagquot; parameter identifies this UA as a peer of the dialog. From: Alice <sip:alice@atlanta.com> ;tag=1928301774 Call-ID: a84b4c76e66710 The Call-ID header field acts as a unique identifier and must be the same CSeq: 314159 INVITE for all requests and responses sent by either UA in a dialog. Contact: <sip:alice@pc33.atlanta.com> Content-Type: application/sdp The CSeq header field serves as a way to identify and order transactions. It Content-Length: 142 consists of a sequence number and a method, matching that of the request. (Alice's SDP not shown) The Contact header field provides a SIP or SIPS URI that can be used by Bob's UA to contact Alice's UA for subsequent requests. The Content-Type header field indicates the media type of the message-body sent to the recipient. SDP (session description protocol ) is defined in RFC 4566. Alice's user agent (UA) does not know the location of Bob's UA or his Bob's Alice's server in the biloxi.com domain. Therefore, the INVITE request is sent to SIP softphone the SIP server that serves Alice's domain (atlanta.com). The address of phone the atlanta.com SIP server could have been configured in Alice's softphone, or it could have been discovered by DHCP, for example.
  • 5. RFC 3261's Example – Session Setup (2) The quot;atlanta.comquot; proxy server finds the SIP proxy server that serves the quot;biloxi.comquot; domain by performing a particular type of DNS lookup. This procedure (selecting a transport protocol, determining port and IP address) is described in RFC 3263 (SIP: Locating SIP Servers). Before forwarding the INVITE request, the quot;atlanta.comquot; server adds an additional Via header field value that contains its own address -- sent-by (bigbox3.site3.atlanta.com) -- and the quot;branchquot; transaction value F3 INVITE sip:bob@biloxi.com SIP/2.0 atlanta.com Via: SIP/2.0/UDP bigbox3.site3.atlanta.com biloxi.com proxy ;branch=z9hG4bK77ef4c2312983.1 proxy Via: SIP/2.0/UDP pc33.atlanta.com ;branch=z9hG4bKnashds8 ;received=192.0.2.1 Max-Forwards: 69 F2 To: Bob <sip:bob@biloxi.com> The quot;receivedquot; parameter is added to From: Alice <sip:alice@atlanta.com> SIP/2.0 100 Trying the Via header field built by Alice's ;tag=1928301774 Via: SIP/2.0/UDP pc33.atlanta.com UA (as for quot;100 Tryingquot; message). Copyright © 2005-2008 Tech-invite.com Joël Repiquet. All Rights Reserved. Call-ID: a84b4c76e66710 ;branch=z9hG4bKnashds8 CSeq: 314159 INVITE ;received=192.0.2.1 Contact: <sip:alice@pc33.atlanta.com> To: Bob <sip:bob@biloxi.com> Content-Type: application/sdp Max-Forwards is decremented by one From: Alice <sip:alice@atlanta.com> Content-Length: 142 ;tag=1928301774 Call-ID: a84b4c76e66710 (Alice's SDP not shown) CSeq: 314159 INVITE The remainder of the INVITE request Content-Length: 0 received from Alice's UA is unchanged. The 100 (Trying) response contains the same To, From, Call-ID, CSeq header field values as the INVITE request. The quot;receivedquot; parameter is added to the Via header field by the quot;server transportquot; of atlanta.com proxy, after examining the value of the sent-by parameter (pc33.atlanta.com). This sent-by parameter was inserted by the UA's quot;client transportquot; in the Via header field value, just before sending the INVITE request. The sent-by field contained an IP address or host name, and port. The quot;receivedquot; parameter contains the IP source address from which the packet was received. Bob's Alice's SIP softphone phone
  • 6. RFC 3261's Example – Session Setup (3) The proxy server consults the location server database, Location Response that contains the current IP Server Query address of Bob. F4 SIP/2.0 100 Trying atlanta.com Via: SIP/2.0/UDP bigbox3.site3.atlanta.com biloxi.com proxy ;branch=z9hG4bK77ef4c2312983.1 proxy ;received=192.0.2.2 Via: SIP/2.0/UDP pc33.atlanta.com ;branch=z9hG4bKnashds8 ;received=192.0.2.1 F5 To: Bob <sip:bob@biloxi.com> From: Alice <sip:alice@atlanta.com> INVITE sip:bob@192.0.2.4 SIP/2.0 ;tag=1928301774 Via: SIP/2.0/UDP server10.biloxi.com Copyright © 2005-2008 Tech-invite.com Joël Repiquet. All Rights Reserved. Call-ID: a84b4c76e66710 ;branch=z9hG4bK4b43c2ff8.1 CSeq: 314159 INVITE Via: SIP/2.0/UDP bigbox3.site3.atlanta.com Content-Length: 0 ;branch=z9hG4bK77ef4c2312983.1 ;received=192.0.2.2 Via: SIP/2.0/UDP pc33.atlanta.com ;branch=z9hG4bKnashds8 Before forwarding the INVITE request, the ;received=192.0.2.1 quot;biloxi.comquot; server adds an additional Via Max-Forwards: 68 header field value that contains its own address To: Bob <sip:bob@biloxi.com> From: Alice <sip:alice@atlanta.com> ;tag=1928301774 Call-ID: a84b4c76e66710 The quot;receivedquot; parameter is added to the Via header CSeq: 314159 INVITE field built by quot;atlanta.comquot; proxy server Contact: <sip:alice@pc33.atlanta.com> Content-Type: application/sdp Content-Length: 142 (Alice's SDP not shown) Max-Forwards is decremented by one Bob's Alice's The remainder of the INVITE request SIP softphone received from quot;atlanta.comquot; proxy phone server is unchanged.
  • 7. RFC 3261's Example – Session Setup (4) atlanta.com biloxi.com proxy proxy The quot;receivedquot; parameter is added to the Via F6 header field built by quot;biloxi.comquot; proxy server SIP/2.0 180 Ringing Copyright © 2005-2008 Tech-invite.com Joël Repiquet. All Rights Reserved. Via: SIP/2.0/UDP server10.biloxi.com ;branch=z9hG4bK4b43c2ff8.1 The quot;tagquot; parameter, identifying this UA as a ;received=192.0.2.3 peer of the dialog, is added to the To header Via: SIP/2.0/UDP bigbox3.site3.atlanta.com field. Although the dialog is not established yet, ;branch=z9hG4bK77ef4c2312983.1 the 3 values that identify a dialog (Call-ID, local ;received=192.0.2.2 Tag, remote Tag) are already defined. Via: SIP/2.0/UDP pc33.atlanta.com ;branch=z9hG4bKnashds8 ;received=192.0.2.1 The Contact header field provides a SIP or SIPS To: Bob <sip:bob@biloxi.com> URI that can be used by Alice's UA to contact ;tag=a6c85cf Bob's UA for subsequent requests. From: Alice <sip:alice@atlanta.com> ;tag=1928301774 Call-ID: a84b4c76e66710 Contact: <sip:bob@192.0.2.4> CSeq: 314159 INVITE The other header field values (From, Call-ID, Content-Length: 0 CSeq, and bottom Via's) are copied from the INVITE request. Bob's SIP phone rings and indicates this in a 180 Bob's Alice's (Ringing) response, which is routed back in the SIP softphone reverse direction to biloxi.com proxy (IP address and transport found in the top Via header field) phone
  • 8. RFC 3261's Example – Session Setup (5) F7 SIP/2.0 180 Ringing Via: SIP/2.0/UDP bigbox3.site3.atlanta.com atlanta.com biloxi.com ;branch=z9hG4bK77ef4c2312983.1 proxy ;received=192.0.2.2 proxy Via: SIP/2.0/UDP pc33.atlanta.com ;branch=z9hG4bKnashds8 ;received=192.0.2.1 To: Bob <sip:bob@biloxi.com> ;tag=a6c85cf From: Alice <sip:alice@atlanta.com> The top Via header field in the 180 ;tag=1928301774 (Ringing) message received from Copyright © 2005-2008 Tech-invite.com Joël Repiquet. All Rights Reserved. Call-ID: a84b4c76e66710 Bob's UA, is used by biloxi.com Contact: <sip:bob@192.0.2.4> proxy server for retrieving the CSeq: 314159 INVITE relevant transaction, using the quot;branchquot; parameter. It is then Content-Length: 0 removed and the information in the new top Via header field is used for forwarding the message towards the next hop in the reverse path: atlanta.com proxy. Bob's Alice's SIP softphone phone
  • 9. RFC 3261's Example – Session Setup (6) atlanta.com biloxi.com proxy proxy F8 Copyright © 2005-2008 Tech-invite.com Joël Repiquet. All Rights Reserved. SIP/2.0 180 Ringing Via: SIP/2.0/UDP pc33.atlanta.com ;branch=z9hG4bKnashds8 ;received=192.0.2.1 To: Bob <sip:bob@biloxi.com> ;tag=a6c85cf The top Via header field in the 180 From: Alice <sip:alice@atlanta.com> (Ringing) message received from ;tag=1928301774 biloxi.com proxy, is used by atlanta.com Call-ID: a84b4c76e66710 proxy server for retrieving the relevant Contact: <sip:bob@192.0.2.4> transaction, using the quot;branchquot; CSeq: 314159 INVITE parameter. It is then removed and the Content-Length: 0 information in the new top Via header field is used for forwarding the message towards the next hop in the reverse path: Alice's UA. Alice's softphone passes the Ringing information to Bob's Alice's Alice, using an audio ringback tone or by displaying SIP softphone a message on Alice's screen. phone
  • 10. RFC 3261's Example – Session Setup (7) quot;CSeq: 314159 INVITEquot; / quot;branch=z9hG4bK4b43c2ff8.1quot; transaction, between biloxi.com proxy and Bob's UA, terminates with this 200 (OK) response atlanta.com biloxi.com proxy proxy F9 SIP/2.0 200 OK Via: SIP/2.0/UDP server10.biloxi.com Copyright © 2005-2008 Tech-invite.com Joël Repiquet. All Rights Reserved. ;branch=z9hG4bK4b43c2ff8.1 ;received=192.0.2.3 Via: SIP/2.0/UDP bigbox3.site3.atlanta.com ;branch=z9hG4bK77ef4c2312983.1 ;received=192.0.2.2 Via: SIP/2.0/UDP pc33.atlanta.com ;branch=z9hG4bKnashds8 ;received=192.0.2.1 To: Bob <sip:bob@biloxi.com> ;tag=a6c85cf From: Alice <sip:alice@atlanta.com> ;tag=1928301774 Call-ID: a84b4c76e66710 CSeq: 314159 INVITE Contact: <sip:bob@192.0.2.4> Content-Type: application/sdp Content-Length: 131 (Bob's SDP not shown) When Bob answers the call, his SIP phone sends a Bob's Alice's 200 (OK) response to indicate that the call has been SIP softphone answered. The 200 (OK) contains a message body phone with the SDP media description of the type of session that Bob is willing to establish with Alice.
  • 11. RFC 3261's Example – Session Setup (8) quot;CSeq: 314159 INVITEquot; / quot;branch=z9hG4bK77ef4c2312983.1quot; transaction, between biloxi.com proxy and atlanta.com proxy, terminates with this 200 (OK) response F10 SIP/2.0 200 OK atlanta.com Via: SIP/2.0/UDP bigbox3.site3.atlanta.com biloxi.com proxy ;branch=z9hG4bK77ef4c2312983.1 proxy ;received=192.0.2.2 Via: SIP/2.0/UDP pc33.atlanta.com ;branch=z9hG4bKnashds8 ;received=192.0.2.1 To: Bob <sip:bob@biloxi.com> ;tag=a6c85cf From: Alice <sip:alice@atlanta.com> Copyright © 2005-2008 Tech-invite.com Joël Repiquet. All Rights Reserved. ;tag=1928301774 Call-ID: a84b4c76e66710 CSeq: 314159 INVITE Contact: <sip:bob@192.0.2.4> Content-Type: application/sdp Content-Length: 131 (Bob's SDP not shown) Bob's Alice's SIP softphone phone
  • 12. RFC 3261's Example – Session Setup (9) atlanta.com biloxi.com proxy proxy F11 Copyright © 2005-2008 Tech-invite.com Joël Repiquet. All Rights Reserved. SIP/2.0 200 OK Via: SIP/2.0/UDP pc33.atlanta.com ;branch=z9hG4bKnashds8 ;received=192.0.2.1 To: Bob <sip:bob@biloxi.com> ;tag=a6c85cf From: Alice <sip:alice@atlanta.com> ;tag=1928301774 Call-ID: a84b4c76e66710 CSeq: 314159 INVITE Contact: <sip:bob@192.0.2.4> Content-Type: application/sdp Content-Length: 131 (Bob's SDP not shown) quot;CSeq: 314159 INVITEquot; / quot;branch=z9hG4bKnashds8quot; transaction, between atlanta.com proxy and Alice's UA, terminates with this 200 (OK) response Bob's Alice's Alice's softphone stops the ringback tone and SIP softphone indicates that the call has been answered phone
  • 13. RFC 3261's Example – Session Setup (10) atlanta.com biloxi.com proxy proxy Copyright © 2005-2008 Tech-invite.com Joël Repiquet. All Rights Reserved. Alice's softphone sends an ACK (message request) to Bob's SIP phone to confirm the reception of the final response (200 (OK)). In this example, the ACK is sent directly from Alice's softphone to Bob's SIP phone, bypassing the two proxies. This occurs because the endpoints have learned each other's address from the Contact header F12 fields through the INVITE/200 (OK) ACK sip:bob@192.0.2.4 SIP/2.0 exchange, which was not known when the Via: SIP/2.0/UDP pc33.atlanta.com initial INVITE was sent. ;branch=z9hG4bKnashds9 Max-Forwards: 70 To: Bob <sip:bob@biloxi.com> ;tag=a6c85cf From: Alice <sip:alice@atlanta.com> ;tag=1928301774 Bob's Alice's Call-ID: a84b4c76e66710 SIP softphone CSeq: 314159 ACK phone Content-Length: 0
  • 14. RFC 3261's Example – Session Setup (11) atlanta.com biloxi.com proxy proxy Copyright © 2005-2008 Tech-invite.com Joël Repiquet. All Rights Reserved. Alice and Bob's media session has now begun, and they send media packets using the format to which they agreed in the exchange of SDP. In general, the end-to-end media packets take a different path from the SIP signaling messages. One or a combination of the following media types can be used with SDP: quot;audioquot;, quot;videoquot;, quot;applicationquot;, quot;dataquot;, quot;controlquot;... Bob's Alice's softphone Media Session SIP phone
  • 15. RFC 3261's Example – Session Setup (12) atlanta.com biloxi.com proxy proxy Copyright © 2005-2008 Tech-invite.com Joël Repiquet. All Rights Reserved. At the end of the call, Bob disconnects F13 (hangs up) first and his SIP phone BYE sip:alice@pc33.atlanta.com SIP/2.0 generates a BYE (request) message. Via: SIP/2.0/UDP 192.0.2.4 This BYE is routed directly to Alice's ;branch=z9hG4bKnashds10 softphone, again bypassing the proxies. Max-Forwards: 70 From: Bob <sip:bob@biloxi.com> ;tag=a6c85cf To: Alice <sip:alice@atlanta.com> ;tag=1928301774 Bob's Alice's Call-ID: a84b4c76e66710 SIP softphone CSeq: 231 BYE phone Content-Length: 0
  • 16. RFC 3261's Example – Session Setup (13) atlanta.com biloxi.com proxy proxy Copyright © 2005-2008 Tech-invite.com Joël Repiquet. All Rights Reserved. F14 Alice confirms receipt of the BYE with a SIP/2.0 200 OK 200 (OK) response, which terminates Via: SIP/2.0/UDP 192.0.2.4 the session and the BYE transaction. ;branch=z9hG4bKnashds10 From: Bob <sip:bob@biloxi.com> ;tag=a6c85cf To: Alice <sip:alice@atlanta.com> ;tag=1928301774 Call-ID: a84b4c76e66710 Bob's Alice's CSeq: 231 BYE SIP softphone Content-Length: 0 phone
  • 17. RFC 3261's Example – Session Setup (end) atlanta.com biloxi.com proxy proxy Copyright © 2005-2008 Tech-invite.com Joël Repiquet. All Rights Reserved. Bob's Alice's SIP softphone phone