SIP Protocol

What is SIP ?

SIP stands for (Session Initiation Protocol). It is a protocol that let applications easily set up outgoing and incoming voice calls, without having to manage sessions, transport-level communication, or audio record or playback directly.

Applications

Some of the common applications of SIP are.

  • Video conferencing
  • Instant messaging

Functions of SIP

SIP has following major functions.

  • SIP allows for the establishment of user location
  • SIP provides a mechanism for call management
  • SIP provides feature negotiation, so that all the parties in the call can agree to the features supported among them

Components of SIP

SIP has two major components which are listed below.

  • User Agent Client (UAC)
  • User Agent Server (UAS)

UAC

UAC or User Agent Client are those end users who generates requests and send those requests to the server.These requests are generated by the client applications running on their systems.

UAS

UAS or User Agent Server are those systems which get the request generated by UAC. The UAS process those requests and then according to the requests it generates responses accordingly.

SipManager

SipManager is an android API for SIP tasks, such as initiating SIP connections, and provides access to related SIP services. This class is the starting point for any SIP actions. You can acquire an instance of it with newInstance().