Version 5.8
437
September 2009
SIP User's Manual
9. IP Telephony Capabilities
The following example describes the Digest Authentication procedure, including
computation of user agent credentials:
1.
The REGISTER request is sent to Registrar/Proxy server for registration, as follows:
REGISTER sip:10.2.2.222 SIP/2.0
Via: SIP/2.0/UDP 10.1.1.200
From: <sip: [email protected]>;tag=1c17940
To: <sip: [email protected]>
Call-ID: [email protected]
User-Agent: Audiocodes-Sip-Gateway/MediaPack/v.5.80.010.006
CSeq: 1 REGISTER
Contact: sip:[email protected]:
Expires:3600
2.
Upon receipt of this request, the Registrar/Proxy returns 401 Unauthorized response.
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 10.2.1.200
From: <sip:[email protected] >;tag=1c17940
To: <sip:[email protected] >
Call-ID: [email protected]
Cseq: 1 REGISTER
Date: Mon, 30 Jul 2001 15:33:54 GMT
Server: Columbia-SIP-Server/1.17
Content-Length: 0
WWW-Authenticate: Digest realm="audiocodes.com",
nonce="11432d6bce58ddf02e3b5e1c77c010d2",
stale=FALSE,
algorithm=MD5
3.
According to the sub-header present in the WWW-Authenticate header, the correct
REGISTER request is formed.
4.
Since the algorithm is MD5, then:
•
The username is equal to the endpoint phone number 122.
•
The realm return by the proxy is audiocodes.com.
•
The password from the
ini
•
The equation to be evaluated is (according to RFC this part is called A1)
file is AudioCodes.
•
The MD5 algorithm is run on this equation and stored for future usage.
‘122:audiocodes.com:AudioCodes’.
•
The result is ‘a8f17d4b41ab8dab6c95d3c14e34a9e1’.
5.
Next, the par called A2 needs to be evaluated:
•
The method type is ‘REGISTER’.
•
Using SIP protocol ‘sip’.
•
Proxy IP from
ini
•
The equation to be evaluated is
file is ‘10.2.2.222’.
‘REGISTER:sip:10.2.2.222’.
Содержание Media Pack MP-112
Страница 1: ...Document LTRT 65412 September 2009 User s Manual Version 5 8...
Страница 2: ......
Страница 16: ...SIP User s Manual 16 Document LTRT 65412 MP 11x MP 124 Reader s Notes...
Страница 24: ...SIP User s Manual 24 Document LTRT 65412 MP 11x MP 124 Reader s Notes...
Страница 115: ...Version 5 8 115 September 2009 SIP User s Manual 3 Web Based Management Figure 3 68 Supplementary Services Page...
Страница 188: ...SIP User s Manual 188 Document LTRT 65412 MP 11x MP 124 Reader s Notes...
Страница 364: ...SIP User s Manual 364 Document LTRT 65412 MP 11x MP 124 Reader s Notes...
Страница 366: ...SIP User s Manual 366 Document LTRT 65412 MP 11x MP 124 Reader s Note...
Страница 472: ...SIP User s Manual 472 Document LTRT 65412 MP 11x MP 124 Reader s Notes...
Страница 474: ...SIP User s Manual 474 Document LTRT 65412 MP 11x MP 124 Reader s Notes...
Страница 482: ...SIP User s Manual 482 Document LTRT 65412 MP 11x MP 124 Reader s Notes...
Страница 486: ...User s Manual Version 5 8 www audiocodes com...