Technical Manual
U-SYS MRS6100 Media Resource Server
Chapter 5 MGCP and SIP
Huawei Technologies Proprietary
5-49
receiving the authorization request. Some fields such as the Request-URI may be
modified while the request is transmitted through the network server. While UA
originates a request, the URI parameter in the authorization field is used to deliver the
Request-URI of the original message for authorization, to guarantee the correctness
of the authorization.
Cnonce
: If UA does not return the new request with the authorization response
information to the server until the server expires, the server will regenerates a nonce
and reinitiates a user authorization procedure. The earlier nonce will be returned to
UA with the cnonce parameter.
Algorithm
is used for exchanging algorithms that generate the RESPONSE.
An example of Authorization field:
Authorization: DIGEST USERNAME="6540012", REALM="huawei.com",
NONCE="200361722310491179922",
RESPONSE="b7c848831dc489f8dc663112b21ad3b6", URI="sip:182.20.150.30"
3) An example of request message
The following is an example of request message encoding.
INVITE sip:[email protected] SIP/2.0
From: sip:[email protected];tag=1c25759
To: sip:[email protected]
CSeq: 1 INVITE
Call-Id: [email protected]
Via: SIP/2.0/UDP 182.20.20.105:5061
Contact: <sip:[email protected]>
Supported: 100rel,100rel
Max-Forwards:70
Allow:INVITE,ACK,CANCEL,OPTIONS,BYE,REGISTER,PRACK,INFO,UPDATE,SU
BSCRIBE,NOTIFY,MESSAGE,REFER
Content-Length:230
Content-Type: application/sdp
v: 0
o: UNICA 1073741831 1073741831 IN IP4 182.20.20.105
s: Sip Call
c: IN IP4 182.20.70.1
t: 0 0
m: audio 30000 RTP/AVP 8 0 4 18