Wednesday, September 24, 2008

My VoIP protocol(SIP)


VoIP (Voice over Internet Protocol)

  VoIP stands for Voice over Internet Protocol. The main theme of VoIP is that if we can send mail free of cost then why we can not use this Internet Protocol for our voice transmission.

We used this internet protocol for our voice packet transmission as this clear by its name.

The benefit of this is that we make telephony call that is very low price (or free of cost as our mail).

I mention mainly on VoIP or mail because I feel that it help us to understand VoIP easily.

We write VoIP in this way because this is a standard way to write.

There is SIP; H.323 etc are the VoIP protocol.

These are not the odd name there is some meaning stand for these special (odd) words. Like SIP stands for the Session Initiation Protocol. 

 

SIP is my final year project that I have completed successfully as a part of my course (B.Tech.).So, I completely switch my topic on SIP

SIP (Session Initiation Protocol)

 Every one wants to implement and used the latest technology because

 “An inventor is always in benefit because he is the first in his way, enjoy every challenge and acknowledge for his work”(This is my thinking)

  Many organization and people want to used and implement the latest technology and SIP is not exception.

 SIP has five servers and two User Agent.

Examples of SIP server are

            1 Registrar Server

            2 Redirect Server

            3 Location Server

            4 Proxy Server

The user Agent are

1 UAC(User Agent Client)

2 UAS(User Agent Server)

                                                        

My Work

I implement these four servers but finally I used only three servers these are Registrar, Redirect and Location server.

  • I implement both UAC and UAS.
  • In C I implement these entire using sockets Programming using GCC compiler.
  • I used Linux platform and MySQL as database.
  • One main thing that I make is a mike sound getting program. That is completely used for sound packet creation.

Theme of project

I implement UAC and UAS that is separate program.

I create a main program that is attached with all the server and able to run these UAC and UAS by the help of system() calls.

I used curses for this main method.

 

These are the some steps that is followed by the user

1          The user is asked for sign in or sign up.

2          If user choose sign in then it asked for user name and password and sends these for matching to the Location server that check in one database and adds it to the currently sing in database if this is correct otherwise it sends an error message.

3          If user choose sign up then it asked for the user name and password and sends it to the registrar server and then this sends to the location server and it check that this is assigned to the others or not if assigned then sends an signal that show an error message.

Otherwise sends the user an confirmation that he/She sign up. Then the user asked for sign in prompt

4          After user sign in main program asked for the work as the UAC or UAS.

            If choose the option UAS then waiting for the call.

            If choose the option UAC then asked for which UAS you want to connect.

5          UAC write the name this goes to Redirect server and Redirect server sends this to Location  Server and on its database entry it gives the IP of the specified user .

6          Then by the help of this IP UAC connect to UAS.

7          UAC and UAS sends voice packet to used each other.


ACHIEVEMENT

My achievement is that my project is running.

It requires at least two systems.

I check it over five systems on college LAN and in CENT OS/Red Hat Linux platform.


--------------------------------------------------------------------------------------

No comments: