Version 6.6
187
MP-11x & MP-124
User's Manual
17. SIP Definitions
FXS/FXO endpoints - Endpoint Phone Number Table page (see Configuring Endpoint
Phone Numbers on page
203
)
Accounts - Account table (see 'Configuring Account Table' on page
183
)
Click the
Proxy Set Table
button to Open the Proxy Sets Table page to configure
groups of proxy addresses. Alternatively, you can open this page from the
Proxy Sets
Table
page item (see 'Configuring Proxy Sets Table' on page
178
for a description of this
page).
17.3.1 SIP Message Authentication Example
The device supports basic and digest (MD5) authentication types, according to SIP RFC
3261 standard. A proxy server might require authentication before forwarding an INVITE
message. A Registrar/Proxy 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 re-send the INVITE with a Proxy-
Authorization header containing the credentials.
User agents, Redirect or Registrar servers typically use the SIP 401 Unauthorized
response to challenge authentication containing a WWW-Authenticate header, and expect
the re-INVITE to contain an Authorization header.
The following example shows the Digest Authentication procedure, including computation
of user agent credentials:
1.
The REGISTER request is sent to a Registrar/Proxy server for registration:
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: Sip-Gateway/MediaPack/v.6.60.010.006
CSeq: 1 REGISTER
Contact: sip:[email protected]:
Expires:3600
2.
Upon receipt of this request, the Registrar/Proxy returns a 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 2012 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 created.
4.
Since the algorithm is MD5:
•
The username is equal to the endpoint phone number "122".
•
The realm return by the proxy is "audiocodes.com".
•
The password from the
ini
file is "AudioCodes".
Summary of Contents for Media Pack MP-124
Page 2: ......
Page 14: ...User s Manual 14 Document LTRT 65422 MP 11x MP 124 Reader s Notes...
Page 18: ...User s Manual 18 Document LTRT 65422 MP 11x MP 124 Reader s Notes...
Page 23: ...Part I Getting Started with Initial Connectivity...
Page 24: ......
Page 32: ...User s Manual 32 Document LTRT 65422 MP 11x MP 124 Reader s Notes...
Page 33: ...Part II Management Tools...
Page 34: ......
Page 36: ...User s Manual 36 Document LTRT 65422 MP 11x MP 124 Reader s Notes...
Page 86: ...User s Manual 86 Document LTRT 65422 MP 11x MP 124 Reader s Notes...
Page 88: ...User s Manual 88 Document LTRT 65422 MP 11x MP 124 Reader s Notes...
Page 93: ...Part III General System Settings...
Page 94: ......
Page 103: ...Part IV General VoIP Configuration...
Page 104: ......
Page 130: ...User s Manual 130 Document LTRT 65422 MP 11x MP 124 Reader s Notes...
Page 164: ...User s Manual 164 Document LTRT 65422 MP 11x MP 124 Reader s Notes...
Page 174: ...User s Manual 174 Document LTRT 65422 MP 11x MP 124 Reader s Notes...
Page 199: ...Part V Gateway Application...
Page 200: ......
Page 202: ...User s Manual 202 Document LTRT 65422 MP 11x MP 124 Reader s Notes...
Page 240: ...User s Manual 240 Document LTRT 65422 MP 11x MP 124 Reader s Notes...
Page 286: ...User s Manual 286 Document LTRT 65422 MP 11x MP 124 Reader s Notes...
Page 287: ...Part VI Stand Alone Survivability Application...
Page 288: ......
Page 296: ...User s Manual 296 Document LTRT 65422 MP 11x MP 124 Reader s Notes...
Page 319: ...Part VII Maintenance...
Page 320: ......
Page 326: ...User s Manual 326 Document LTRT 65422 MP 11x MP 124 Reader s Notes...
Page 359: ...Part VIII Status Performance Monitoring and Reporting...
Page 360: ......
Page 389: ...Part IX Diagnostics...
Page 390: ......
Page 404: ...User s Manual 404 Document LTRT 65422 MP 11x MP 124...
Page 417: ...Part X Appendix...
Page 418: ......
Page 580: ...User s Manual 580 Document LTRT 65422 MP 11x MP 124 Reader s Notes...