Home arrow SIP arrow SIP Callflow Examples

Language Translator

Hacking Zone

Hacking Tools
Attacking

Configure Windows

Windows Configuration

Novels

Mix Novels

Human Personality

Body Language
SIP Callflow Examples PDF Print E-mail
Written by Hemanshu Patel   
Thursday, 08 November 2007
Article Index
SIP Callflow Examples
Page 2
Page 3
Page 4
Page 5
Page 6
Page 7
Page 8
Page 9
Page 10
Page 11
Page 12
Page 13
Page 14
Page 15
Page 16
Page 17
3.8. Unsuccessful No Answer

Alice Proxy 1 Proxy 2 Bob
| | | |
| INVITE F1 | | |
|--------------->| INVITE F2 | |
| 100 F3 |--------------->| INVITE F4 |
|<---------------| 100 F5 |--------------->|
| |<---------------| |
| | | 180 F6 |
| | 180 F7 |<---------------|
| 180 F8 |<---------------| |
|<---------------| | |
| CANCEL F9 | | |
|--------------->| | |
| 200 F10 | | |
|<---------------| CANCEL F11 | |
| |--------------->| |
| | 200 F12 | |
| |<---------------| |
| | | CANCEL F13 |
| | |--------------->|
| | | 200 F14 |
| | |<---------------|
| | | 487 F15 |
| | |<---------------|
| | | ACK F16 |
| | 487 F17 |--------------->|
| |<---------------| |
| | ACK F18 | |
| 487 F19 |--------------->| |
|<---------------| | |
| ACK F20 | | |
|--------------->| | |
| | | |

In this scenario, Alice gives up on the call before Bob answers
(sends a 200 OK response). Alice sends a CANCEL (F9) since no final
response had been received from Bob. If a 200 OK to the INVITE had
crossed with the CANCEL, Alice would have sent an ACK then a BYE to
Bob in order to properly terminate the call.

Note that the CANCEL message is acknowledged with a 200 OK on a hop
by hop basis, rather than end to end.


Message Details

F1 INVITE Alice -> Proxy 1

INVITE sip: This e-mail address is being protected from spam bots, you need JavaScript enabled to view it SIP/2.0
Via: SIP/2.0/UDP client.atlanta.example.com:5060;branch=z9hG4bK74bf9
Max-Forwards: 70
Route: <sip:ss1.atlanta.example.com;lr>
From: Alice <sip: This e-mail address is being protected from spam bots, you need JavaScript enabled to view it >;tag=9fxced76sl
To: Bob <sip: This e-mail address is being protected from spam bots, you need JavaScript enabled to view it >
Call-ID: This e-mail address is being protected from spam bots, you need JavaScript enabled to view it
CSeq: 1 INVITE
Contact: <sip: This e-mail address is being protected from spam bots, you need JavaScript enabled to view it >
Proxy-Authorization: Digest username="alice",
realm="atlanta.example.com",
nonce="ze7k1ee88df84f1cec431ae6cbe5a359", opaque="",
uri="sip: This e-mail address is being protected from spam bots, you need JavaScript enabled to view it ",
response="b00b416324679d7e243f55708d44be7b"
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

/*Client for Alice prepares to receive data on port 49172 from the
network.*/


F2 INVITE Proxy 1 -> Proxy 2

INVITE sip: This e-mail address is being protected from spam bots, you need JavaScript enabled to view it SIP/2.0
Via: SIP/2.0/UDP ss1.atlanta.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
Record-Route: <sip:ss1.atlanta.example.com;lr>
From: Alice <sip: This e-mail address is being protected from spam bots, you need JavaScript enabled to view it >;tag=9fxced76sl
To: Bob <sip: This e-mail address is being protected from spam bots, you need JavaScript enabled to view it >
Call-ID: This e-mail address is being protected from spam bots, you need JavaScript enabled to view it
CSeq: 1 INVITE
Contact: <sip: This e-mail address is being protected from spam bots, you need JavaScript enabled to view it >
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


F3 100 Trying Proxy 1 -> Alice

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: This e-mail address is being protected from spam bots, you need JavaScript enabled to view it >;tag=9fxced76sl
To: Bob <sip: This e-mail address is being protected from spam bots, you need JavaScript enabled to view it >
Call-ID: This e-mail address is being protected from spam bots, you need JavaScript enabled to view it
CSeq: 1 INVITE
Content-Length: 0


F4 INVITE Proxy 2 -> Bob

INVITE sip: This e-mail address is being protected from spam bots, you need JavaScript enabled to view it SIP/2.0
Via: SIP/2.0/UDP ss2.biloxi.example.com:5060;branch=z9hG4bK721e4.1
Via: SIP/2.0/UDP ss1.atlanta.example.com:5060;branch=z9hG4bK2d4790.1
;received=192.0.2.111
Via: SIP/2.0/UDP client.atlanta.example.com:5060;branch=z9hG4bK74bf9
;received=192.0.2.101
Record-Route: <sip:ss2.biloxi.example.com;lr>,
<sip:ss1.atlanta.example.com;lr>
Max-Forwards: 68
From: Alice <sip: This e-mail address is being protected from spam bots, you need JavaScript enabled to view it >;tag=9fxced76sl
To: Bob <sip: This e-mail address is being protected from spam bots, you need JavaScript enabled to view it >
Call-ID: This e-mail address is being protected from spam bots, you need JavaScript enabled to view it
CSeq: 1 INVITE
Contact: <sip: This e-mail address is being protected from spam bots, you need JavaScript enabled to view it >
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

F5 100 Trying Proxy 2 -> Proxy 1

SIP/2.0 100 Trying
Via: SIP/2.0/UDP ss1.atlanta.example.com:5060;branch=z9hG4bK2d4790.1
;received=192.0.2.111
Via: SIP/2.0/UDP client.atlanta.example.com:5060;branch=z9hG4bK74bf9
;received=192.0.2.101
From: Alice <sip: This e-mail address is being protected from spam bots, you need JavaScript enabled to view it >;tag=9fxced76sl
To: Bob <sip: This e-mail address is being protected from spam bots, you need JavaScript enabled to view it >
Call-ID: This e-mail address is being protected from spam bots, you need JavaScript enabled to view it
CSeq: 1 INVITE
Content-Length: 0


F6 180 Ringing Bob -> Proxy 2

SIP/2.0 180 Ringing
Via: SIP/2.0/UDP ss2.biloxi.example.com:5060;branch=z9hG4bK721e4.1
;received=192.0.2.222
Via: SIP/2.0/UDP ss1.atlanta.example.com:5060;branch=z9hG4bK2d4790.1
;received=192.0.2.111
Via: SIP/2.0/UDP client.atlanta.example.com:5060;branch=z9hG4bK74bf9
;received=192.0.2.101
Record-Route: <sip:ss2.biloxi.example.com;lr>,
<sip:ss1.atlanta.example.com;lr>
From: Alice <sip: This e-mail address is being protected from spam bots, you need JavaScript enabled to view it >;tag=9fxced76sl
To: Bob <sip: This e-mail address is being protected from spam bots, you need JavaScript enabled to view it >;tag=314159
Call-ID: This e-mail address is being protected from spam bots, you need JavaScript enabled to view it
CSeq: 1 INVITE
Contact: <sip: This e-mail address is being protected from spam bots, you need JavaScript enabled to view it >
Content-Length: 0


F7 180 Ringing Proxy 2 -> Proxy 1

SIP/2.0 180 Ringing
Via: SIP/2.0/UDP ss1.atlanta.example.com:5060;branch=z9hG4bK2d4790.1
;received=192.0.2.111
Via: SIP/2.0/UDP client.atlanta.example.com:5060;branch=z9hG4bK74bf9
;received=192.0.2.101
Record-Route: <sip:ss2.biloxi.example.com;lr>,
<sip:ss1.atlanta.example.com;lr>
From: Alice <sip: This e-mail address is being protected from spam bots, you need JavaScript enabled to view it >;tag=9fxced76sl
To: Bob <sip: This e-mail address is being protected from spam bots, you need JavaScript enabled to view it >;tag=314159
Call-ID: This e-mail address is being protected from spam bots, you need JavaScript enabled to view it
CSeq: 1 INVITE
Contact: <sip: This e-mail address is being protected from spam bots, you need JavaScript enabled to view it >
Content-Length: 0


F8 180 Ringing Proxy 1 -> Alice

SIP/2.0 180 Ringing
Via: SIP/2.0/UDP client.atlanta.example.com:5060;branch=z9hG4bK74bf9
;received=192.0.2.101
Record-Route: <sip:ss2.biloxi.example.com;lr>,
<sip:ss1.atlanta.example.com;lr>
From: Alice <sip: This e-mail address is being protected from spam bots, you need JavaScript enabled to view it >;tag=9fxced76sl
To: Bob <sip: This e-mail address is being protected from spam bots, you need JavaScript enabled to view it >;tag=314159
Call-ID: This e-mail address is being protected from spam bots, you need JavaScript enabled to view it
CSeq: 1 INVITE
Contact: <sip: This e-mail address is being protected from spam bots, you need JavaScript enabled to view it >
Content-Length: 0


F9 CANCEL Alice -> Proxy 1

CANCEL sip: This e-mail address is being protected from spam bots, you need JavaScript enabled to view it SIP/2.0
Via: SIP/2.0/UDP client.atlanta.example.com:5060;branch=z9hG4bK74bf9
Max-Forwards: 70
From: Alice <sip: This e-mail address is being protected from spam bots, you need JavaScript enabled to view it >;tag=9fxced76sl
To: Bob <sip: This e-mail address is being protected from spam bots, you need JavaScript enabled to view it >
Route: <sip:ss1.atlanta.example.com;lr>
Call-ID: This e-mail address is being protected from spam bots, you need JavaScript enabled to view it
CSeq: 1 CANCEL
Content-Length: 0


F10 200 OK Proxy 1 -> Alice

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: This e-mail address is being protected from spam bots, you need JavaScript enabled to view it >;tag=9fxced76sl
To: Bob <sip: This e-mail address is being protected from spam bots, you need JavaScript enabled to view it >
Call-ID: This e-mail address is being protected from spam bots, you need JavaScript enabled to view it
CSeq: 1 CANCEL
Content-Length: 0


F11 CANCEL Proxy 1 -> Proxy 2

CANCEL sip: This e-mail address is being protected from spam bots, you need JavaScript enabled to view it SIP/2.0
Via: SIP/2.0/UDP ss1.atlanta.example.com:5060;branch=z9hG4bK2d4790.1
Max-Forwards: 70
From: Alice <sip: This e-mail address is being protected from spam bots, you need JavaScript enabled to view it >;tag=9fxced76sl
To: Bob <sip: This e-mail address is being protected from spam bots, you need JavaScript enabled to view it >
Call-ID: This e-mail address is being protected from spam bots, you need JavaScript enabled to view it
CSeq: 1 CANCEL
Content-Length: 0


F12 200 OK Proxy 2 -> Proxy 1

SIP/2.0 200 OK
Via: SIP/2.0/UDP ss1.atlanta.example.com:5060;branch=z9hG4bK2d4790.1
;received=192.0.2.111
From: Alice <sip: This e-mail address is being protected from spam bots, you need JavaScript enabled to view it >;tag=9fxced76sl
To: Bob <sip: This e-mail address is being protected from spam bots, you need JavaScript enabled to view it >
Call-ID: This e-mail address is being protected from spam bots, you need JavaScript enabled to view it
CSeq: 1 CANCEL
Content-Length: 0


F13 CANCEL Proxy 2 -> Bob

CANCEL sip: This e-mail address is being protected from spam bots, you need JavaScript enabled to view it SIP/2.0
Via: SIP/2.0/UDP ss2.biloxi.example.com:5060;branch=z9hG4bK721e4.1
Max-Forwards: 70
From: Alice <sip: This e-mail address is being protected from spam bots, you need JavaScript enabled to view it >;tag=9fxced76sl
To: Bob <sip: This e-mail address is being protected from spam bots, you need JavaScript enabled to view it >
Call-ID: This e-mail address is being protected from spam bots, you need JavaScript enabled to view it
CSeq: 1 CANCEL
Content-Length: 0


F14 200 OK Bob -> Proxy 2

SIP/2.0 200 OK
Via: SIP/2.0/UDP ss2.biloxi.example.com:5060;branch=z9hG4bK721e4.1
;received=192.0.2.222
From: Alice <sip: This e-mail address is being protected from spam bots, you need JavaScript enabled to view it >;tag=9fxced76sl
To: Bob <sip: This e-mail address is being protected from spam bots, you need JavaScript enabled to view it >
Call-ID: This e-mail address is being protected from spam bots, you need JavaScript enabled to view it
CSeq: 1 CANCEL
Content-Length: 0


F15 487 Request Terminated Bob -> Proxy 2

SIP/2.0 487 Request Terminated
Via: SIP/2.0/UDP ss2.biloxi.example.com:5060;branch=z9hG4bK721e4.1
;received=192.0.2.222
Via: SIP/2.0/UDP ss1.atlanta.example.com:5060;branch=z9hG4bK2d4790.1
;received=192.0.2.111
Via: SIP/2.0/UDP client.atlanta.example.com:5060;branch=z9hG4bK74bf9
;received=192.0.2.101
From: Alice <sip: This e-mail address is being protected from spam bots, you need JavaScript enabled to view it >;tag=9fxced76sl
To: Bob <sip: This e-mail address is being protected from spam bots, you need JavaScript enabled to view it >;tag=314159
Call-ID: This e-mail address is being protected from spam bots, you need JavaScript enabled to view it
CSeq: 1 INVITE
Content-Length: 0


F16 ACK Proxy 2 -> Bob

ACK sip: This e-mail address is being protected from spam bots, you need JavaScript enabled to view it SIP/2.0
Via: SIP/2.0/UDP ss2.biloxi.example.com:5060;branch=z9hG4bK721e4.1
Max-Forwards: 70
From: Alice <sip: This e-mail address is being protected from spam bots, you need JavaScript enabled to view it >;tag=9fxced76sl
To: Bob <sip: This e-mail address is being protected from spam bots, you need JavaScript enabled to view it >;tag=314159
Call-ID: This e-mail address is being protected from spam bots, you need JavaScript enabled to view it
CSeq: 1 ACK
Content-Length: 0


F17 487 Request Terminated Proxy 2 -> Proxy 1

SIP/2.0 487 Request Terminated
Via: SIP/2.0/UDP ss1.atlanta.example.com:5060;branch=z9hG4bK2d4790.1
;received=192.0.2.111
Via: SIP/2.0/UDP client.atlanta.example.com:5060;branch=z9hG4bK74bf9
;received=192.0.2.101
From: Alice <sip: This e-mail address is being protected from spam bots, you need JavaScript enabled to view it >;tag=9fxced76sl
To: Bob <sip: This e-mail address is being protected from spam bots, you need JavaScript enabled to view it >;tag=314159
Call-ID: This e-mail address is being protected from spam bots, you need JavaScript enabled to view it
CSeq: 1 INVITE
Content-Length: 0


F18 ACK Proxy 1 -> Proxy 2

ACK sip: This e-mail address is being protected from spam bots, you need JavaScript enabled to view it SIP/2.0
Via: SIP/2.0/UDP ss2.biloxi.example.com:5060;branch=z9hG4bK721e4.1
Max-Forwards: 70
From: Alice <sip: This e-mail address is being protected from spam bots, you need JavaScript enabled to view it >;tag=9fxced76sl
To: Bob <sip: This e-mail address is being protected from spam bots, you need JavaScript enabled to view it >;tag=314159
Call-ID: This e-mail address is being protected from spam bots, you need JavaScript enabled to view it
CSeq: 1 ACK
Content-Length: 0


F19 487 Request Terminated Proxy 1 -> Alice

SIP/2.0 487 Request Terminated
Via: SIP/2.0/UDP client.atlanta.example.com:5060;branch=z9hG4bK74bf9
;received=192.0.2.101
From: Alice <sip: This e-mail address is being protected from spam bots, you need JavaScript enabled to view it >;tag=9fxced76sl
To: Bob <sip: This e-mail address is being protected from spam bots, you need JavaScript enabled to view it >;tag=314159
Call-ID: This e-mail address is being protected from spam bots, you need JavaScript enabled to view it
CSeq: 1 INVITE


F20 ACK Alice -> Proxy 1

ACK sip: This e-mail address is being protected from spam bots, you need JavaScript enabled to view it SIP/2.0
Via: SIP/2.0/UDP client.atlanta.example.com:5060;branch=z9hG4bK74bf9
Max-Forwards: 70
From: Alice <sip: This e-mail address is being protected from spam bots, you need JavaScript enabled to view it >;tag=9fxced76sl
To: Bob <sip: This e-mail address is being protected from spam bots, you need JavaScript enabled to view it >;tag=314159
Call-ID: This e-mail address is being protected from spam bots, you need JavaScript enabled to view it
Proxy-Authorization: Digest username="alice",
realm="atlanta.example.com",
nonce="ze7k1ee88df84f1cec431ae6cbe5a359", opaque="",
uri="sip: This e-mail address is being protected from spam bots, you need JavaScript enabled to view it ",
response="b00b416324679d7e243f55708d44be7b"
CSeq: 1 ACK
Content-Length: 0



 
< Prev   Next >
Your Ad Here

Donate us!!

Enter Amount:

RSS socialnet

Add to MyYahoo!
Subscribe in NewsGator Online
Add to Newsburst
Add to Google
Add to My AOL
Add to Pluck
Subscribe in FeedLounge
Add to Windows Live
Add to NetVibes
Subscribe in Rojo
Subscribe in Bloglines
Add to MyMSN
Add to Plusmo for your cellphone
Add to PageFlakes
Add to Technorati
Add to BlinkBits