Professional Documents
Culture Documents
Basic SIP Operation
Basic SIP Operation
As I explained in the first part of this series, there are certain tasks that SIP is
responsible for performing. SIP performs these tasks by issuing commands, which
are commonly referred to as verbs. Any time that SIP issues a verb, the host that
the verbs are being transmitted to responds with a numerical code. This code tells
SIP the results of the requested action so that it knows what it needs to do next.
Later in this article, I'm going to show you some of the more commonly used SIP
verbs, and provide you with a general overview of what the response codes mean.
Before I get into all of that though, I want to give you an example of how the
process works as a whole.
Perhaps the most commonly used verb associated with SIP is REGISTER.
REGISTER is used primarily for logging into the SIP environment, but the
REGISTER verb can also be used when a user is logging out or changing
locations.
With that in mind, here's a condensed version of what happens when a user tries to
log into an Office Communications Server:
• Since Office Communications Server 2007 uses SIP, the client machine issues
the Register verb to the server.
• Because of the security that Office Communications Server uses, a user can not
register with the server without first logging on. Therefore, the Office
Communications Server returns an error. As I mentioned earlier, SIP issued
verbs are met with numerical responses. In this case, the response code is 401,
which indicates that the registration was unauthorized.
• In response to the error, the client reissues the register verb. This time though,
the registration will supply a set of Kerberos credentials.
Conclusion
In this article, I have talked about some of the more commonly used SIP verbs and
response codes. In part 3, I will conclude this series by talking about SIP routing.