Re Invite

Download as pdf or txt
Download as pdf or txt
You are on page 1of 16

RFC 3665

Basic Call Flow Examples

http://www.tech-invite.com

Alice's
SIP phone

Bob's
SIP phone

Proxy 2

INVITE
INVITE

3.7 Session with


re-INVITE (IP Address
Change)

100 Trying
180 Ringing

V1.1 April 27, 2005

180 Ringing
200 OK
200 OK

This is a representation, as a slide show, of


the SIP examples detailed in RFC 3665
SIP: Basic Call Flow Examples.

Copyright 2005-2008 Tech-invite.com Jol Repiquet. All Rights Reserved.

ACK
Both Way RTP
Media

SIP messages are reported


conformance with this RFC.

in

strict

Bob changes IP
address
INVITE
200 OK
ACK
New RTP Media
Stream
BYE
200 OK

16 pages

RFC 3665-3.7 Session with re-INVITE (IP Address Change)

Proxy 2

Copyright 2005-2008 Tech-invite.com Jol Repiquet. All Rights Reserved.

F1
INVITE sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP client.atlanta.example.com:5060
;branch=z9hG4bK74bf9
Max-Forwards: 70
From: Alice <sip:[email protected]>
;tag=9fxced76sl
To: Bob <sip:[email protected]>
Call-ID: [email protected]
CSeq: 1 INVITE
Contact: <sip:[email protected]>
Content-Type: application/sdp
Content-Length: 151
v=0
o=alice 2890844526 2890844526 IN IP4 client.atlanta.example.com
s=c=IN IP4 192.0.2.101
t=0 0
m=audio 49172 RTP/AVP 0
a=rtpmap:0 PCMU/8000

Alice's SIP
phone

Bob's SIP
phone

(1)

RFC 3665-3.7 Session with re-INVITE (IP Address Change)

(2)

Proxy 2

F2

Copyright 2005-2008 Tech-invite.com Jol Repiquet. All Rights Reserved.

F3
SIP/2.0 100 Trying
Via: SIP/2.0/UDP client.atlanta.example.com:5060
;branch=z9hG4bK74bf9
;received=192.0.2.101
From: Alice <sip:[email protected]>
;tag=9fxced76sl
To: Bob <sip:[email protected]>
Call-ID: [email protected]
CSeq: 1 INVITE
Content-Length: 0

INVITE sip:[email protected] SIP/2.0


Via: SIP/2.0/UDP ss2.biloxi.example.com:5060
;branch=z9hG4bK2d4790.1
Via: SIP/2.0/UDP client.atlanta.example.com:5060
;branch=z9hG4bK74bf9
;received=192.0.2.101
Max-Forwards: 69
From: Alice <sip:[email protected]>
;tag=9fxced76sl
To: Bob <sip:[email protected]>
Call-ID: [email protected]
CSeq: 1 INVITE
Contact: <sip:[email protected]>
Content-Type: application/sdp
Content-Length: 151
v=0
o=alice 2890844526 2890844526 IN IP4 client.atlanta.example.com
s=c=IN IP4 192.0.2.101
t=0 0
m=audio 49172 RTP/AVP 0
a=rtpmap:0 PCMU/8000

Alice's SIP
phone

Bob's SIP
phone

RFC 3665-3.7 Session with re-INVITE (IP Address Change)

(3)

Proxy 2

Copyright 2005-2008 Tech-invite.com Jol Repiquet. All Rights Reserved.

F4
SIP/2.0 180 Ringing
Via: SIP/2.0/UDP ss2.biloxi.example.com:5060
;branch=z9hG4bK2d4790.1
;received=192.0.2.222
Via: SIP/2.0/UDP client.atlanta.example.com:5060
;branch=z9hG4bK74bf9
;received=192.0.2.101
From: Alice <sip:[email protected]>
;tag=9fxced76sl
To: Bob <sip:[email protected]>
;tag=314159
Call-ID: [email protected]
CSeq: 1 INVITE
Contact: <sip:[email protected]>
Content-Length: 0

Alice's SIP
phone

Bob's SIP
phone

RFC 3665-3.7 Session with re-INVITE (IP Address Change)

Proxy 2

Copyright 2005-2008 Tech-invite.com Jol Repiquet. All Rights Reserved.

F5
SIP/2.0 180 Ringing
Via: SIP/2.0/UDP client.atlanta.example.com:5060
;branch=z9hG4bK74bf9
;received=192.0.2.101
From: Alice <sip:[email protected]>
;tag=9fxced76sl
To: Bob <sip:[email protected]>
;tag=314159
Call-ID: [email protected]
CSeq: 1 INVITE
Contact: <sip:[email protected]>
Content-Length: 0

Alice's SIP
phone

Bob's SIP
phone

(4)

RFC 3665-3.7 Session with re-INVITE (IP Address Change)

(5)

Proxy 2

Copyright 2005-2008 Tech-invite.com Jol Repiquet. All Rights Reserved.

F6
SIP/2.0 200 OK
Via: SIP/2.0/UDP ss2.biloxi.example.com:5060
;branch=z9hG4bK2d4790.1
;received=192.0.2.222
Via: SIP/2.0/UDP client.atlanta.example.com:5060
;branch=z9hG4bK74bf9
;received=192.0.2.101
From: Alice <sip:[email protected]>
;tag=9fxced76sl
To: Bob <sip:[email protected]>
;tag=314159
Call-ID: [email protected]
CSeq: 1 INVITE
Contact: <sip:[email protected]>
Content-Type: application/sdp
Content-Length: 147
v=0
o=bob 2890844527 2890844527 IN IP4 client.biloxi.example.com
s=c=IN IP4 192.0.2.201
t=0 0
m=audio 3456 RTP/AVP 0
a=rtpmap:0 PCMU/8000

Alice's SIP
phone

Bob's SIP
phone

RFC 3665-3.7 Session with re-INVITE (IP Address Change)

Proxy 2

Copyright 2005-2008 Tech-invite.com Jol Repiquet. All Rights Reserved.

F7
SIP/2.0 200 OK
Via: SIP/2.0/UDP client.atlanta.example.com:5060
;branch=z9hG4bK74bf9
;received=192.0.2.101
From: Alice <sip:[email protected]>
;tag=9fxced76sl
To: Bob <sip:[email protected]>
;tag=314159
Call-ID: [email protected]
CSeq: 1 INVITE
Contact: <sip:[email protected]>
Content-Type: application/sdp
Content-Length: 147
v=0
o=bob 2890844527 2890844527 IN IP4 client.biloxi.example.com
s=c=IN IP4 192.0.2.201
t=0 0
m=audio 3456 RTP/AVP 0
a=rtpmap:0 PCMU/8000

Alice's SIP
phone

Bob's SIP
phone

(6)

RFC 3665-3.7 Session with re-INVITE (IP Address Change)

Copyright 2005-2008 Tech-invite.com Jol Repiquet. All Rights Reserved.

Proxy 2

F8

Alice's SIP
phone

ACK sip:[email protected] SIP/2.0


Via: SIP/2.0/UDP client.atlanta.example.com:5060
;branch=z9hG4bK74b7b
Max-Forwards: 70
From: Alice <sip:[email protected]>
;tag=9fxced76sl
To: Bob <sip:[email protected]>
;tag=314159
Call-ID: [email protected]
CSeq: 1 ACK
Content-Length: 0

Bob's SIP
phone

(7)

RFC 3665-3.7 Session with re-INVITE (IP Address Change)

Copyright 2005-2008 Tech-invite.com Jol Repiquet. All Rights Reserved.

Proxy 2

Alice's SIP
phone

Both Way RTP Media

Bob's SIP
phone

(8)

RFC 3665-3.7 Session with re-INVITE (IP Address Change)

Proxy 2

Copyright 2005-2008 Tech-invite.com Jol Repiquet. All Rights Reserved.

Bob changes IP address


and re-INVITEs Alice with
new Contact and SDP

F9
INVITE sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP client.chicago.example.com:5060
;branch=z9hG4bKlkld5l
Max-Forwards: 70
From: Bob <sip:[email protected]>
;tag=314159
To: Alice <sip:[email protected]>
;tag=9fxced76sl
Call-ID: [email protected]
CSeq: 14 INVITE
Contact: <sip:[email protected]>
Content-Type: application/sdp
Content-Length: 149

Alice's SIP
phone

v=0
o=bob 2890844527 2890844528 IN IP4 client.chicago.example.com
s=c=IN IP4 192.0.2.100
t=0 0
m=audio 47172 RTP/AVP 0
a=rtpmap:0 PCMU/8000

Bob's SIP
phone

(9)

RFC 3665-3.7 Session with re-INVITE (IP Address Change)

Proxy 2

Copyright 2005-2008 Tech-invite.com Jol Repiquet. All Rights Reserved.

Bob's SIP
phone

F10
SIP/2.0 200 OK
Via: SIP/2.0/UDP client.chicago.example.com:5060
;branch=z9hG4bKlkld5l
;received=192.0.2.100
Max-Forwards: 70
From: Bob <sip:[email protected]>
;tag=314159
To: Alice <sip:[email protected]>
;tag=9fxced76sl
Call-ID: [email protected]
CSeq: 14 INVITE
Contact: <sip:[email protected]>
Content-Type: application/sdp
Content-Length: 150

Alice's SIP
phone

v=0
o=alice 2890844526 2890844526 IN IP4 client.atlanta.example.com
s=c=IN IP4 192.0.2.101
t=0 0
m=audio 1000 RTP/AVP 0
a=rtpmap:0 PCMU/8000

(10)

RFC 3665-3.7 Session with re-INVITE (IP Address Change)

(11)

Proxy 2

Copyright 2005-2008 Tech-invite.com Jol Repiquet. All Rights Reserved.

Bob's SIP
phone

F11
ACK sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP client.chicago.example.com:5060
;branch=z9hG4bKlkldcc
Max-Forwards: 70
From: Bob <sip:[email protected]>
;tag=314159
To: Alice <sip:[email protected]>
;tag=9fxced76sl
Call-ID: [email protected]
CSeq: 14 ACK
Content-Length: 0

Alice's SIP
phone

RFC 3665-3.7 Session with re-INVITE (IP Address Change)

Proxy 2

Copyright 2005-2008 Tech-invite.com Jol Repiquet. All Rights Reserved.

Bob's SIP
phone

Alice's SIP
phone

New RTP Media Stream

(12)

RFC 3665-3.7 Session with re-INVITE (IP Address Change)

Proxy 2

Copyright 2005-2008 Tech-invite.com Jol Repiquet. All Rights Reserved.

Bob's SIP
phone

F12

Alice's SIP
phone

BYE sip:[email protected] SIP/2.0


Via: SIP/2.0/UDP client.atlanta.example.com:5060
;branch=z9hG4bK74bo4
Max-Forwards: 70
From: Alice <sip:[email protected]>
;tag=9fxced76sl
To: Bob <sip:[email protected]>
;tag=314159
Call-ID: [email protected]
CSeq: 2 BYE
Content-Length: 0

(13)

RFC 3665-3.7 Session with re-INVITE (IP Address Change)

(14)

Proxy 2

Copyright 2005-2008 Tech-invite.com Jol Repiquet. All Rights Reserved.

Bob's SIP
phone

F13
SIP/2.0 200 OK
Via: SIP/2.0/UDP client.atlanta.example.com:5060
;branch=z9hG4bK74bo4
;received=192.0.2.101
Max-Forwards: 70
From: Alice <sip:[email protected]>
;tag=9fxced76sl
To: Bob <sip:[email protected]>
;tag=314159
Call-ID: [email protected]
CSeq: 2 BYE
Content-Length: 0

Alice's SIP
phone

RFC 3665-3.7 Session with re-INVITE (IP Address Change)

Proxy 2

Copyright 2005-2008 Tech-invite.com Jol Repiquet. All Rights Reserved.

Bob's SIP
phone

Alice's SIP
phone

(end)

You might also like