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
  4. Great and that i have a super proposal: How To Budget House Renovation small home renovations

    ReplyDelete
  5. Great insights on how SIP Proxy Servers find user addresses! To recap, SIP Proxy Servers rely on Location Services to determine the exact contact address of a User Agent (UA). The Location Server, updated by the Registrar Server, maintains a database of UA contact info. When UA-1 wants to communicate with UA-2, it sends an INVITE to the SIP Proxy Server, which checks with the Registrar Server for authorization. Once authorized, the Proxy Server uses the Location Server to find and forward the INVITE to UA-2. Stay tuned for more in-depth discussions!

    ReplyDelete
  6. Nursing Recruitment Agencies in the USA are specialized in linking skilled nursing professionals with top-notch healthcare centers nationwide. Candidates are required to have valid nursing licenses recognized in the USA and exceptional clinical skills. Core duties involve delivering high-standard patient care and collaborating smoothly within multidisciplinary teams. These agencies provide competitive salary packages, vast career advancement possibilities, and support in obtaining professional licensure. Superior communication skills and a commitment to culturally sensitive, patient-centered care are critical. Partnering with these agencies allows nurses to enhance their careers significantly while making positive contributions to patient health and wellbeing in the USA. Apply now to join a revered network of healthcare providers and embark on a rewarding professional journey.
    https://www.dynamichealthstaff.com/nursing-recruitment-agency-in-usa

    ReplyDelete
  7. The research uses a cross-sectional descriptive research design with an exploratory qualitative phase followed by an analytical quantitative stage.
    Best Watercraft Insurance

    ReplyDelete
  8. Best Personal Installment LoanSeptember 16, 2024 at 4:16:00 PM GMT+5:30

    The more relevant the content, the more likely it is that readers will share it with their friends and family. This will generate more traffic for your website, which can lead to more sales and referrals.
    Best Personal Installment Loan

    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...