[SIPForum-discussion] When SIP registration how can implement password security option

Rohan Almeida almeida.rohan at gmail.com
Mon Jan 30 13:53:45 UTC 2012


Hi,

include 'authorization' header.
typical call flow will be as below


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:bob at biloxi.example.com>;tag=a73kszlfl
   To: Bob <sips:bob at biloxi.example.com>
   Call-ID: 1j9FpLxk3uxtm8tn at biloxi.example.com
   CSeq: 1 REGISTER
   Contact: <sips:bob at client.biloxi.example.com>
   Content-Length: 0



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:bob at biloxi.example.com>;tag=a73kszlfl
   To: Bob <sips:bob at biloxi.example.com>;tag=1410948204
   Call-ID: 1j9FpLxk3uxtm8tn at biloxi.example.com
   CSeq: 1 REGISTER
   WWW-Authenticate: Digest realm="atlanta.example.com", qop="auth",
    nonce="ea9c8e88df84f1cec4341ae6cbe5a359",
    opaque="", stale=FALSE, algorithm=MD5
   Content-Length: 0




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:bob at biloxi.example.com>;tag=ja743ks76zlflH
   To: Bob <sips:bob at biloxi.example.com>
   Call-ID: 1j9FpLxk3uxtm8tn at biloxi.example.com
   CSeq: 2 REGISTER
   Contact: <sips:bob at client.biloxi.example.com>
   Authorization: Digest username="bob", realm="atlanta.example.com"
    nonce="ea9c8e88df84f1cec4341ae6cbe5a359", opaque="",
    uri="sips:ss2.biloxi.example.com",
    response="dfe56131d1958046689d83306477ecc"
   Content-Length: 0


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:bob at biloxi.example.com>;tag=ja743ks76zlflH
   To: Bob <sips:bob at biloxi.example.com>;tag=37GkEhwl6
   Call-ID: 1j9FpLxk3uxtm8tn at biloxi.example.com
   CSeq: 2 REGISTER
   Contact: <sips:bob at client.biloxi.example.com>;expires=3600
   Content-Length: 0



regards.

On 1/27/12, Divya Reddy <devyareddy at gmail.com> wrote:
> Hi Friends,
>
> Please conform two or three transactions in Basic Call Flow
>
>
>
> When SIP registration how can implement password security option
>
>
>
>
> regards,
> Devya reddy
>



More information about the discussion mailing list