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
2.1. Successful New Registration

Bob SIP Server
| |
| REGISTER F1 |
|------------------------------>|
| 401 Unauthorized F2 |
|<------------------------------|
| REGISTER F3 |
|------------------------------>|
| 200 OK F4 |
|<------------------------------|
| |

Bob sends a SIP REGISTER request to the SIP server. The request
includes the user's contact list. This flow shows the use of HTTP
Digest for authentication using TLS transport. TLS transport is used
due to the lack of integrity protection in HTTP Digest and the danger
of registration hijacking without it, as described in RFC 3261 [1].
The SIP server provides a challenge to Bob. Bob enters her/his valid
user ID and password. Bob's SIP client encrypts the user information
according to the challenge issued by the SIP server and sends the
response to the SIP server. The SIP server validates the user's
credentials. It registers the user in its contact database and
returns a response (200 OK) to Bob's SIP client. The response
includes the user's current contact list in Contact headers. The
format of the authentication shown is HTTP digest. It is assumed
that Bob has not previously registered with this Server.

Message Details

F1 REGISTER Bob -> SIP Server

REGISTER sips:ss2.biloxi.example.com SIP/2.0
Via: SIP/2.0/TLS client.biloxi.example.com:5061;branch=z9hG4bKnashds7
Max-Forwards: 70
From: Bob <sips: This e-mail address is being protected from spam bots, you need JavaScript enabled to view it >;tag=a73kszlfl
To: Bob <sips: 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 REGISTER
Contact: <sips: This e-mail address is being protected from spam bots, you need JavaScript enabled to view it >
Content-Length: 0



F2 401 Unauthorized SIP Server -> Bob

SIP/2.0 401 Unauthorized
Via: SIP/2.0/TLS client.biloxi.example.com:5061;branch=z9hG4bKnashds7
;received=192.0.2.201
From: Bob <sips: This e-mail address is being protected from spam bots, you need JavaScript enabled to view it >;tag=a73kszlfl
To: Bob <sips: This e-mail address is being protected from spam bots, you need JavaScript enabled to view it >;tag=1410948204
Call-ID: This e-mail address is being protected from spam bots, you need JavaScript enabled to view it
CSeq: 1 REGISTER
WWW-Authenticate: Digest realm="atlanta.example.com", qop="auth",
nonce="ea9c8e88df84f1cec4341ae6cbe5a359",
opaque="", stale=FALSE, algorithm=MD5
Content-Length: 0


F3 REGISTER Bob -> SIP Server

REGISTER sips:ss2.biloxi.example.com SIP/2.0
Via: SIP/2.0/TLS client.biloxi.example.com:5061;branch=z9hG4bKnashd92
Max-Forwards: 70
From: Bob <sips: This e-mail address is being protected from spam bots, you need JavaScript enabled to view it >;tag=ja743ks76zlflH
To: Bob <sips: 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: 2 REGISTER
Contact: <sips: This e-mail address is being protected from spam bots, you need JavaScript enabled to view it >
Authorization: Digest username="bob", realm="atlanta.example.com"
nonce="ea9c8e88df84f1cec4341ae6cbe5a359", opaque="",
uri="sips:ss2.biloxi.example.com",
response="dfe56131d1958046689d83306477ecc"
Content-Length: 0


F4 200 OK SIP Server -> Bob

SIP/2.0 200 OK
Via: SIP/2.0/TLS client.biloxi.example.com:5061;branch=z9hG4bKnashd92
;received=192.0.2.201
From: Bob <sips: This e-mail address is being protected from spam bots, you need JavaScript enabled to view it >;tag=ja743ks76zlflH
To: Bob <sips: This e-mail address is being protected from spam bots, you need JavaScript enabled to view it >;tag=37GkEhwl6
Call-ID: This e-mail address is being protected from spam bots, you need JavaScript enabled to view it
CSeq: 2 REGISTER
Contact: <sips: This e-mail address is being protected from spam bots, you need JavaScript enabled to view it >;expires=3600
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