Set up your VOIP based SIP soft phone and know more about VOIP


VOIP (Voice over internet protocol)

       The  trending technology of present and near future. I have spent months of efforts on voip , its a huge topic so to minimize your time and also to refresh my voip skills , I have decided to write this blog.

Main Topics covered :-

SIP (session initiation protocol)
ASTERISK (open source voip server platform)

    SIP is a part of Application layer (fig1) in TCP/IP , its major function is to initiate/terminate a sip session and transfer it to TCP/UDP for transmission. In simple terms it holds the FROM and TO addresses in a post , the rest is carried using TCP/IP protocol. 

fig1 : SIP in TCP/IP


The basic operation of SIP is an INVITE and ACK via proxy, once the opposite Sip phone B accepts the call, a media session is established. Its simple as shown in fig 2. The proxy might be a VOIP services provided by certain websites such as  www.linphone.orgSIP2SIP.info etc or it might be your IP also.

fig 2 : Sip basic operation 

     Sip id : user@domain  or user@IP
           ex : hanu@linphone.org   or   hanu@192.168.1.13


SIP proxy is nothing but a VOIP server, You can deploy your own Voip Sip server using asterisk  www.asterisk.org. For example the your Skype and  even  facebook video calling services are nothing but a VOIP services and the two people calling using SKYPE are nothing but SIP endpoints. 

More features of SIP include video conferencing unit.
Example of a typical video conferencing unit using WEBRTC protcol - http://tresbu.com/trespond/

ASTERISK SERVER

  I am describing the possibilities of asterisk as a voip service. It has tremendous capabilities of using it in a call center, IVR etc. You can download any of the latest version of asterisk from this website http://www.asterisk.org/downloads. Further this blog guides you through the installation steps http://highsecurity.blogspot.in/2012/12/quick-and-dirty-asterisk-11-and-freepbx.html. The entire approach of asterisk is modular. You can add, modify the modules at your will. 

Here are the steps needed to configure asterisk as a voip service is as follows:- 
We have to make the following configuration :-

nano /etc/asterisk/sip.conf 
1) sip.conf


[1001]
type=friend
host=dynamic
context=default
username=1001
secret=1001
nat=yes
canreinvite=no
dtmfmode=rfc2833
qualify=yes
disallow=all
allow=ulaw
[1002]
type=friend
host=dynamic
context=default
username=1002
secret=1002
nat=yes
canreinvite=no
dtmfmode=rfc2833
qualify=yes
insecure=port,invite
disallow=all
allow=ulaw


2) nano /etc/asterisk/extensions.conf
Extensions.conf

[default]
exten => 1001,1,Answer()
exten => 1001,n,Dial(SIP/1001,20,tr)
exten => 1001,n,Hangup

exten => 1002,1,Answer()
exten => 1002,n,Dial(SIP/1002,20,tr)
exten => 1002,n,Hangup.


If you make the following changes you will be able to make calls using asterisk and any sip softphone.


Comments

  1. It's awesome blog, beginner can learn a lot

    ReplyDelete
  2. Nice post! Thanks for sharing and keep posting more reliable information like this. VOIP telephony is growing year on year.

    ReplyDelete
  3. This post is full of information.

    Thank you so much.

    ReplyDelete
  4. This comment has been removed by a blog administrator.

    ReplyDelete
  5. We have launched a new platform that consists list of top Ucaas and Voip providers for businesses. If you want VOIP services from the best provider then must visit our website and browse Best VoIP providers for small business

    ReplyDelete
  6. I read a lot of stuff and i found that the way of writing to clearifing that exactly want to say was very good so i am impressed and I like to come again in future. Voip Telephone

    ReplyDelete
  7. Thank you so much for sharing this Blog.It is very useful..!
    Visit now for more Best voip service provider

    ReplyDelete
  8. India CLI, Bangladesh CLI/Non CLI, Pakistan CLI/Non CLI & A-z CLI/Non CLI.
    Quality with very good status routes, A-Z CLI & Non CLI are very low rates with working routes.
    Bangladesh, Kuwait, Oman, Qatar, Saudi Arabia & United Arab Emirates are payments.

    Mobile : +919747434994
    WhatsApp : +919747434994

    ReplyDelete
  9. open source voip pbx,
    Wow, cool post. I'd like to write like this too - taking time and real hard work to make a great article... but I put things off too much and never seem to get started. Thanks though.

    ReplyDelete
  10. Great article, Thanks for sharing good and knowledgeable information. voip companies

    ReplyDelete
  11. I want to thanks for your time for this wonderful Article!! I really enjoying every little bit of it. Best voip service for business

    ReplyDelete
  12. Nice blog, thank for sharing this information with us. I liked your blog.
    VoIP Phone Systems. https://www.genesystel.com.au/managed-voip-phone-system/

    ReplyDelete
  13. Great Blog, I want to thanks for your time for this wonderful Article!! Best voip service for business

    ReplyDelete
  14. This blog is really helpful to deliver updated affairs over internet which is really appraisable. softphone

    ReplyDelete
  15. Great Blog, there is so much reality written in this content and everything is very hard to be argued. A top-notch blog having excellent content. call center telephone systems

    ReplyDelete
  16. Great Post! It's very nice to read this info from someone that actually knows what they are talking about. call center telephone systems

    ReplyDelete
  17. After a long time, I read a very beautiful and very important article that I enjoyed reading. I have found that this article has many important points, I sincerely thank the admin of this website for sharing it. Best business voip phone service Services Provider

    ReplyDelete
  18. Its a great piece of information. I was looking for VoIP phone system
    service, I got IPPBX LLC. it was really helpful for me I will recommend you as well too visit their services. keep sharing healthy knowledge

    ReplyDelete
  19. Nice Blog, I found satisfied information here. Thanks for sharing this blog with us. top voip providers for business

    ReplyDelete
  20. I just need to say this is a well-informed article which you have shared here about Sip Providers In UAE It is an engaging and gainful article for us. Continue imparting this sort of info, Thanks to you.

    ReplyDelete
  21. India, Bangladesh & Pakistan very low rates (IP to IP)
    WhatsApp: +919747434994

    ReplyDelete
  22. You can use your local service provider's international roaming services, purchase local SIM cards in your target country, or purchase an international SIM card that meets your needs if you want to use your cell phone abroad. SIM Card for IoT

    ReplyDelete
  23. Build Your Own Customized Crypto Exchange Platform Like Binance

    Binance Clone Script

    ReplyDelete
  24. Wow, I want to salute you. Is a very good comment and very informative as well
    Token development services

    ReplyDelete

Post a Comment

Popular posts from this blog

Front End Developer Interview quiestions- All in single blog

Data Science v/s Data engineer v/s Data Analyst