Skip to main content

LESSON 2: SIP SYSTEM ARCHITECTURE



As a part of Learning SIP, in the last post I did demonstrate on a Basic Call Flow of SIP. Today, I am going to take you through the SIP System Architecture.


SIP is a revolution in this modern world of communications. Rather I would say that SIP alone did not bring this change. That's where I would like to introduce SIP SYSTEM ARCHITECTURE. Each component of this architecture has contributed and made this drastic change in Telecom World.


So, why wait! Lets go through the architecture and its components.


SIP System Architecture

sip-system-architecture.png


SIP Endpoints:
SIP Phones, SIP Soft clients running on PCs, mobiles etc.


Proxy:
  • This server accepts INVITE from any SIP endpoints and process the request.
  • This is the server which decides whether the call need to terminated on to another SIP Endpoints (or) to another PBX (or) to PSTN.
  • The routing decision would be taken by the logic written by Administration of this proxy server.
  • It is purely for Session Management.


Registrar:
  • Every SIP User-Agent should register to this server with its current location on the network.
  • This server authenticates and authorizes by accepting every REGISTER request from User-Agents in the network.


Location Server:

  • This server keeps a record of all the location ip-address information of User-Agent who registers with Registrar Server.
  • Its a kind of database with Address of Records (AoR)


SIP-to-PSTN Gateway:

  • SIP could not be understood by PSTN. This Gateway fills the gap of understanding SIP signaling to PSTN SS7 and vice-versa.
  • Generally this would be provided as a service by SIP Service Provider.


As we have come through the functionality of each component in the architecture, now we will go through an example call i.e. an Incoming PSTN call to the SIP Endpoint. This call flow gives more clarity!


  1. PSTN call enters through the SIP-to-PSTN Gateway.
  2. This SIP-to-PSTN Gateway converts the SS7 signaling of PSTN to SIP and it forwards the request to the respective Proxy server based on the Domain/Sub-network.
  3. Now, Proxy server accepts the INVITE request from Gateway and acknowledges immediately that the accepted INVITE is in process.
  4. Proxy Server will now find the current location of the SIP Endpoint (User-Agent) by sending the request to Registrar Server
  5. Registrar Server in turn verifies the current location (AoR) by querying the database of Location server.
  6. Once Registrar Server responds Proxy Server with the current Address-Of-Records. Then Proxy will send the request to all those location IP-addresses.
  7. Later, the call will be terminated on SIP Endpoint.


I have started a new naming convention for each post. Now, it makes more easy to navigate and be aligned.

Thanks,
Raj

Comments

  1. I really did an excellent job. If you add some questions about SDP, it will be good for us. DPH-150SE Broadband Internet IP Phone lets you take advantage of a DSL / cable modem connection for inexpensive online phone calls.

    ReplyDelete

  2. I really did an excellent job. If you add some questions about SDP, it will be good for us. DPH-150SE Broadband Internet IP Phone lets you take advantage of a DSL / cable modem connection for inexpensive online phone calls.

    ReplyDelete
  3. Wonderful post and such fantastic information that you gave to us thank you so much. I suggested the VoIP Office for VoIP Services In Bangalore.
    VoIP Office Telecommunications Pvt Ltd | VoIP Service Providers In Bangalore
    No 354/428, 1st Floor 27th Main
    1st Sector, HSR Layout
    Bangalore KA – 560 102
    Phone:+91 8046354000

    ReplyDelete
  4. Hi,
    In first request Invite from UAC to UAS,how UAS know the local IP of the UAC, it's not global ip but local ip of device?

    ReplyDelete
  5. Thanks for sharing this post. To know more about mutual fund and its services please click here : UTIITSL

    ReplyDelete
  6. HI Rajesh, I liked your SIP basics video tutorial on youtube. Please share your contact no. and email id.

    ReplyDelete
    Replies
    1. Please share your contact no. and email id.

      Delete

Post a Comment

Popular posts from this blog

LESSON 1: SIP: BASIC CALL FLOW (PEER-TO-PEER)

Alert: If you HATE long posts, stop reading and click here . The Session Initiation Protocol, a VoIP protocol, used for originating and termination of media sessions like voice, video, IM, presence etc. Before we enter into the more technical details of SIP, let's refresh our basic telecom VoIP skills. I'd like to insist here that SIP is a signalling protocol, its NOT a media protocol -- which means it is a set of rules use to control the signaling part of a media session. It doesn't have any control on media. So let's not wait to start the basic call flow of SIP. Key terms: It is important to familiarize with these terms in order to understand basic SIP call flow. Here are few of them: Call flow : It's a flow diagram of SIP messages -- shows an ideal way how a media session carried over two endpoints. Its a must know thing and will be useful for your troubleshooting as well. Endpoint: Any device which is used to originate and terminate

WORDS OF LIFE: KNOW THE DIFFERENCE AND MAKE THE DIFFERENCE

Today's blog is all about "words of life". If you know the difference of understanding these words, then I surely can say that you can make the difference. You can make the difference, if you start seeing them different. Enough of saying 'differences' , let me take you to the actual content what I would like to take you through. Before we enter the post....What is this topic about? Why am I posting this?  Allow me to explain. Understand this, out of this telecom world, I am a common man who always wish to Make The Difference wherever I am interested in. The way we have grown, in our childhood and then later, makes lot of impressions in our mind and becomes "belief" while time flies.  At times you see these impressions, instead I'd call them beliefs, limit them knowingly or unknowingly. Every person in the world come  across  them. So, I am also a person with lot of beliefs. We can call these beliefs (or) principles as "Tenets&qu

LESSON 5: SIP REGISTRAR SERVER AND LOCATION SERVER

If you hate long posts as I always suggest go through this video lesson (click here) Now, we already know that in real SIP world, any UA when it wants to communicate with another UA should take the help of “SIP Proxy Server” - which finds the actual location. Because it is not practically possible to remember all other UA’s addresses. All good till now. The next question which comes to mind is How a Proxy Server able to find contact  address of an User Agent(Called Party). Here, Proxy Server takes help of “Location Service”. Location Server Location Service helps in providing the exact location of UA. Location server is a server which records and maintain the contact information of each and every UA with in a typical enterprise. Location Server has its own database, which keeps up-to-date info of each UA by another Service called “Registration Service”. The Server which provides this service  called as a “Registrar Service”. Registrar Server This Server