Sip messages, Sip fundamentals, Registration – H3C Technologies H3C MSR 50 User Manual
Page 667

282
•
Scalable system. The system allows expansion as enterprises grow.
•
Support to remote users. With SIP, an enterprise network can extend to all its users, wherever they
are.
•
Consistent communication method. Management becomes easier as the result of consistency in
dialup mode and system access method used by branches, SOHOs, and traveling personnel.
•
Quick launch. The system can be updated quickly to accommodate new branches and personnel,
and changes resulting from job rotation or relocation.
•
Easy to install and maintain. Nonprofessional individuals can install and maintain SIP systems.
SIP messages
SIP messages, including SIP request messages and SIP response messages, are encoded in text mode.
SIP request messages include INVITE, ACK, OPTIONS, BYE, CANCEL, and REGISTER. RFC 3261 defines
the following six request messages:
•
INVITE—Used to invite a user to join a call.
•
ACK—Used to acknowledge the response to a request.
•
OPTIONS—Used to query for the capabilities.
•
BYE—Used to release an established call.
•
CANCEL—Used to give up a call attempt.
•
REGISTER—Used to register with the SIP registrar.
SIP response messages, used to respond to SIP requests, indicate the status of a call or registration,
succeeded or failed. Response messages are distinguished by status codes. Each status code is a 3-digit
integer, where the first digit defines the class of a response, and the last two digits describe the response
message in more detail.
Table 239 Status codes of response messages
Code Description Class
100–199
Request is received and is being processed.
Provisional
200–299
Request is successfully received, understood, and accepted.
Success
300–399
Further action needs to be taken to process the request.
Redirection
400–499
Request contains bad syntax, and therefore cannot be processed.
Client error
500–599
Request cannot be processed due to UAS or server error.
Server error
600–699
Request cannot be processed by any UAS or server.
Global error
SIP fundamentals
Registration
In a complete SIP system, all SIP endpoints working as UAs should register with SIP registrars, providing
information such as location, session capabilities, and call policy.
Typically, a SIP UA sends its registrar a REGISTER request at startup or in response to an administratively
registration operation, carrying all the information that must be recorded. Upon receipt of the request, the