Step-by-Step guide to make calls with Asterisk

Question is simple: I need to write some server-side code to make calls. User type a number in a web-page and a call is made on the server-side. Is there a step-by-step guide on how to do that with Asterisk?

Thank you,

-Sergio

You can use AGI or call files to make calls

call file is easy way to originate call following link has complete description

You can use java or any server side scripts to create file and move it to specified location

voip-info.org/wiki/view/Aste … o-dial+out

AMI would be more normal than AGI, if AGI works at all.

Hi

Yep David is correct an AMI connection is whats required, can even hazard a guess to why you would expect to be able to do it with an AGI

Basicly you need to do it in a client server mode, for security more than anything

so
HTML page <—Submit—> PHP scriplet <—AMI–>Asterisk

check out

voipuser.org/forum_topic_9971.html

for an old copy of my code, much changed now but kept inhouse for our systems.

Ian

Do I need some special hardware or VOIP service to make calls out of my Linux server?

If yes, which ones?

If yes, what hosting services support Asterisk?

Again, the big picture of what I want is:

  • User types a number, number is submitted to my web server, a phone call happens.

Thank you very much!