<div dir="ltr"><div><div><div>I second Twilio. If for no other reason, it&#39;s way cooler than PHP and AGI. PHP is so last decade! ;)<br><br></div>But if I was going to do it with Asterisk, I&#39;d just write a file into  <strong>/var/spool/asterisk/outgoing/</strong>. Not fancy but easy and reliable.<br>
<br></div>This link: <a href="http://www.voip-info.org/wiki/view/Asterisk+auto-dial+out">http://www.voip-info.org/wiki/view/Asterisk+auto-dial+out</a> has the details on the 4 primary ways of triggering a call in Asterisk.<br>
<br></div>John<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jan 16, 2013 at 5:19 PM, Sean Walberg <span dir="ltr">&lt;<a href="mailto:sean@ertw.com" target="_blank">sean@ertw.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Just for fun a Click to call example I did using Twilio a while back: <a href="https://github.com/swalberg/guido" target="_blank">https://github.com/swalberg/guido</a><div>
<br></div><div>It gets the contact details from Freshbooks, figures out your invoices due, then presents a click to call interface so you can do collections. As Adam said, you&#39;re usually nailing up two legs and tying them together.</div>

<div><br></div><div>Sean</div></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div class="h5">On Wed, Jan 16, 2013 at 4:53 PM, Akash Deep Singh <span dir="ltr">&lt;<a href="mailto:akashdeepsingh@dsicanada.com" target="_blank">akashdeepsingh@dsicanada.com</a>&gt;</span> wrote:<br>

</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div link="blue" vlink="purple" lang="EN-US"><div><p class="MsoNormal">How can we use asterisk to make a call from php based website. <u></u><u></u></p>

<p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">For e.g. I have an asterisk based system and website or a php page showing list of people with their numbers.  So what I want to do is click the number and call goes through my asterisk system.  I could answer it using my deskphone or softphone. <u></u><u></u></p>

<p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Can we use TAPI or some sort of script in php to pass the number to asterisk. <u></u><u></u></p></div></div><br></div></div>
<div class="im">_______________________________________________<br>

Asterisk mailing list<br>
<a href="mailto:Asterisk@muug.mb.ca" target="_blank">Asterisk@muug.mb.ca</a><br>
<a href="http://www.muug.mb.ca/mailman/listinfo/asterisk" target="_blank">http://www.muug.mb.ca/mailman/listinfo/asterisk</a><br>
<br></div></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br>Sean Walberg &lt;<a href="mailto:sean@ertw.com" target="_blank">sean@ertw.com</a>&gt;    <a href="http://ertw.com/" target="_blank">http://ertw.com/</a>
</font></span></div>
<br>_______________________________________________<br>
Asterisk mailing list<br>
<a href="mailto:Asterisk@muug.mb.ca">Asterisk@muug.mb.ca</a><br>
<a href="http://www.muug.mb.ca/mailman/listinfo/asterisk" target="_blank">http://www.muug.mb.ca/mailman/listinfo/asterisk</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>John Lange<br><a href="http://www.johnlange.ca">www.johnlange.ca</a>
</div>