SIP

VoIP

6

IP-, , .

, , SIP, .

, - . - .

- , , IP- .

! , , . , . , .

, , SIP, - SIP . , , SIP .

 SIP

:

  1. ;
  2. ;
  3. , Authorization, ;
  4. .

SIP . , . , .

, , , - .

, , SIP REGISTER, . , .

, Authorization REGISTER.

, Authorization :

  • Authentication Scheme - ;
  • SIP HTTP, HTTP , (Digest) . . , -, . , .

  • Username - , . 3354;
  • Realm - , ;
  • , VoIP realm , . , domain.com, Asterisk, - - asterisk.

  • Nonce Value - , , 401 . , , ;
  • Authentication URI - . , , 123.45.67.89, SIP, 5060.
  • Digest Authentication Response - , , . , .
  • RFC 2069, HTTP , response :

    HA1 = MD5(username:realm:password)
    HA2 = MD5(method:digestURI)
    response = MD5(HA1:nonce:HA2)
    

    , MD5 - : username, realm, password (, ), method, digestURI nonce response, , , .

  • Algorithm - , response

? , Authorization, , .

. , REGISTER, INVITE BYE.

. , , SIP 401 Unauthorized, , . realm nonce . :

, :

, , . , - . , BYE .

. , SIP . , SIP . , , . , Proxy-.

, :

  • IP- SIP-;
  • IP-, INVITE ;
  • IP-, INVITE .;

Authorization . , - , : username, realm, method, digestURI, nonce - response

. . , , username, 1 .

, , , , . .


50% Merion Academy