title: Web based Voice over IP application with Rails
body: <p>I was planning to develop a project including VoIP functionality between mobile app client and web browser with Rails as back-end. After I did some research, I had several questions.</p>
  
  <p>First I Google it around and found most of VoIP applications have a client installed. Is that possible to just use web browser to make a audio call? I did a project of simple computer-to-computer VoIP with Sockets and some Audio library. I think what I can do is to use sockets to connect web browser (JavaScript?) with mobile client. (I'm not very experienced with Client-side JavaScript so not sure what can be done in browser.)</p>
  
  <p>Second I searched about real time application with Rails, and many other developers are talking about rails + node.js + socket.io + redis. For what I'm understanding (not know node.js very well), node.js is a server javascript engine. So does that means there are two back-end running for one application? </p>
  
  <p>Last I searched about VoIP in rails and found Adhearsion for Ruby which is built on to asterisk. Adhearsion did have some way to integrate with rails which is good. But does this make for communicate with actual phone (i.e. regular phone call with phone number)? If I installed Adhearsion, do I answer the phone call through terminal or some client application or web browser? </p>
  
  <p>I'll continue research more about Adhearsion and other stuff.</p>
  
  <p>Any clarification or guidance would be very helpful. Thanks.</p>
  
  <p>UPDATE:</p>
  
  <p>As for first question, I found WebRTC probably the solution. </p>
  
  <p>Some Sources:</p>
  
  <p><a href="https://stackoverflow.com/questions/4628372/are-there-any-web-standards-for-voice-over-ip">Are there any web standards for voice over IP?</a></p>
  
  <p><a href="https://stackoverflow.com/questions/3492758/sip-asterisk-adhearson-and-voip">SIP, asterisk, adhearson and VoIP</a></p>
  
  <p><a href="https://stackoverflow.com/questions/16915661/node-js-socket-io-redis-rails-realtime-application">node.js + socket.io + redis + rails — RealTime application</a>
  <a href="http://www.slideshare.net/DieterPisarewski/ruby-voip" rel="nofollow noreferrer">http://www.slideshare.net/DieterPisarewski/ruby-voip</a></p>