title: Make phone ring through webserver using Asterisk
body: <p>What is the easiest way? And how can it be implemented?</p>
  
  <p>I thought to something like:</p>
  
  <ol>
  <li>I request a page to the webserver</li>
  <li>Php sends to asterisk a number to dial (php and asterisk are running in the same machine)</li>
  <li>Asterisk calls the phone</li>
  </ol>
  
  <p>or</p>
  
  <ol>
  <li>A php sip client registers to remote asterisk server</li>
  <li>Php sip client sends to asterik the number to dial</li>
  <li>Phone rings</li>
  </ol>
  
  <p>i don't care if i can hear something, it's enough that it rings</p>