3Com VCX V7122/SIP VoIP Gateway User Manual
57
To: <sip:[email protected]>;tag=1c7345
Call-ID: [email protected]
CSeq: 18154 BYE
Supported: 100rel,em
Content-Length: 0
SIP Authentication Example
The VCX V7122/SIP Gateway supports basic and digest authentication types, according to
the SIP standard. A proxy server might require authentication before forwarding an INVITE
message. A registrar server may also require authentication for client registration. A proxy
replies to an unauthenticated INVITE with a 407 Proxy Authorization Required response,
containing a Proxy-Authenticate header with the form of the challenge. After sending an ACK
for the 407, the User Agent can then resend the INVITE with a Proxy-Authorization header
containing the credentials.
User Agent, Redirect, or Registrar servers typically use 401 Unauthorized responses to
challenge authentication containing a WWW-Authenticate header, and expect the re-INVITE
to contain an Authorization header.
The following example describes the Digest Authentication procedure including computation
of User Agent credentials.
1
The REGISTER request is sent to Registrar 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]
CSeq: 1 REGISTER
Contact: sip:[email protected]:
Expires:3600
2
On receiving this request the registrar 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="3com.com",
nonce="11432d6bce58ddf02e3b5e1c77c010d2",
stale=FALSE,
algorithm=MD5
According to the sub-header present in the WWW-Authenticate header the correct
REGISTER request is formed.
3
Since the algorithm used is MD5, we use:
The user name from the INI file: VCX V7111 8FXS-3Com
The realm return by the proxy: 3com.com
The password from the INI file: 3Com
Содержание VCX V7122 SIP
Страница 8: ...8 3Com VCX V7122 SIP VoIP Gateway User Manual ...
Страница 12: ...12 3Com VCX V7122 SIP VoIP Gateway User Manual ...
Страница 17: ...3Com VCX V7122 SIP VoIP Gateway User Manual 17 Reader s Notes ...
Страница 18: ...18 3Com VCX V7122 SIP VoIP Gateway User Manual ...
Страница 35: ...3Com VCX V7122 SIP VoIP Gateway User Manual 35 Reader s Notes ...
Страница 36: ...36 3Com VCX V7122 SIP VoIP Gateway User Manual ...
Страница 47: ...3Com VCX V7122 SIP VoIP Gateway User Manual 47 Reader s Notes ...
Страница 48: ...48 3Com VCX V7122 SIP VoIP Gateway User Manual ...
Страница 60: ...60 3Com VCX V7122 SIP VoIP Gateway User Manual Reader s Notes ...
Страница 88: ...88 3Com VCX V7122 SIP VoIP Gateway User Manual General Data Sheet Figure 24 General Data Sheet ...
Страница 89: ...3Com VCX V7122 SIP VoIP Gateway User Manual 89 SIP Parameters Sheet Figure 25 SIP Parameters Sheet ...
Страница 90: ...90 3Com VCX V7122 SIP VoIP Gateway User Manual End Points Data Sheet Figure 26 End Points Data Sheet ...
Страница 91: ...3Com VCX V7122 SIP VoIP Gateway User Manual 91 Prefix to IP Routing Table Figure 27 Routing Table Data Sheet ...
Страница 99: ...3Com VCX V7122 SIP VoIP Gateway User Manual 99 Reader s Notes ...
Страница 100: ...100 3Com VCX V7122 SIP VoIP Gateway User Manual ...
Страница 129: ...3Com VCX V7122 SIP VoIP Gateway User Manual 129 Reader s Notes ...
Страница 130: ...130 3Com VCX V7122 SIP VoIP Gateway User Manual ...
Страница 138: ...138 3Com VCX V7122 SIP VoIP Gateway User Manual Reader s Notes ...
Страница 143: ...3Com VCX V7122 SIP VoIP Gateway User Manual 143 Reader s Notes ...
Страница 144: ...144 3Com VCX V7122 SIP VoIP Gateway User Manual ...
Страница 154: ...154 3Com VCX V7122 SIP VoIP Gateway User Manual Figure 65 Templates Window ...
Страница 155: ...3Com VCX V7122 SIP VoIP Gateway User Manual 155 Reader s Notes ...
Страница 156: ...156 3Com VCX V7122 SIP VoIP Gateway User Manual ...
Страница 160: ...160 3Com VCX V7122 SIP VoIP Gateway User Manual Reader s Notes ...
Страница 164: ...164 3Com VCX V7122 SIP VoIP Gateway User Manual Reader s Notes ...
Страница 166: ...166 3Com VCX V7122 SIP VoIP Gateway User Manual Reader s Notes ...
Страница 172: ...172 3Com VCX V7122 SIP VoIP Gateway User Manual Reader s Notes ...