Skip to main content

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 accepts the registration request from UA and responds with 2000k.
  • Once the UA is successfully registered, then it is authorized to participate/communicate to any UA with in the enterprise.
  • If the registrar Server wants NOT to accept the request, then it responds with “401 Unauthorized”.


When a SIP device starts up it sends its current address and location details to its Registrar Server. Registrar Server then updates that information in the database which is maintained by Location Server.


IMG_1497.JPG



Now Let me align all the above scrap in an order:-
  • Whenever a UA-1 wants to communicate with UA-2, then UA-1 sends an INVITE
         request to SIP PROXY SERVER
  • The SIP Proxy Server then first checks with Registrar Server whether UA-1 is an authorized to participate in the session or not.
  • Let's assume,  UA-1 is not registered. Then SIP Proxy Server responds with “407 Authentication Required” to UA-1
  • Upon receiving 407 from SIP Proxy Server, now UA-1 sends a REGISTER request to Registrar Server to get authorized and authenticated. Once UA-1 is successfully registered, then as usual UA-1 sends an INVITE request to SIP PROXY SERVER.
  • Now, SIP PROXY SERVER will accept the INVITE and interprets for Called Party’s information. SIP Proxy Server then forwards that info to Location Server to find the exact Location of the UA-2.
  • Location Server maintains its own database which contains the Location information of an UA i.e; Address of Record(AOR).
  • This AOR is getting updated by Registrar Server
  • After finding AOR of UA-2, then SIP Proxy Server forwards the INVITE request to UA-2

Precisely that's how SIP PROXY SERVER finds the exact Location of UA-2 (called Party) with the help of Registrar and Location services. Generally, you don’t find a SIP PROXY Server without inbuilt services like Registration/Location.

Lot of people already has posted some comments and requests. Some suggested with different set of topics. I will definitely cover them but it takes time.

Hope this helps.

Thanks,
Rajesh Talluri,
http://telecomtechsource.blogspot.in

Comments

  1. Thanks for sharing like this content. I really appreciate sharing your post. and also you can go through this site and read the interesting thing Telecom Tech Outlook

    ReplyDelete
  2. hack whatsapp phishing pageExcellent article! We are linking to this great article on our website. Keep up the good writing.Hacking BlogsHack Instagram

    ReplyDelete
  3. HI Rajesh, I liked your SIP basics video tutorial on youtube. Please share your contact no. and email id. My email id is Anujid29@gmail.com

    ReplyDelete

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