[Asterisk-Users] Calls from web interface

Nir Simionovich nirs at dimitel.com
Wed Mar 16 04:22:36 MST 2005


Those are the two valid methods. However, if you intend to generate many
calls, using the spool directory isn't a good method, as the spool is a very
slow means to do so. Using the manager proves more efficient for this task.

Nir S

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Stefan Reuter
Sent: Wednesday, March 16, 2005 1:15 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [Asterisk-Users] Calls from web interface

> There was a thread some time back about making calls via * from a web
> interface...ie user clicks number on web page and call is made...

There are basically two ways to implement this.

The first one assumes that your webserver is running on the same machine
as Asterisk. Then your web application will have to create a .call file
in /var/spool/asterisk/outgoing.
Examples on how do this are available at
http://www.voip-info.org/wiki-Asterisk+auto-dial+out

The second option is to use the Manager API which allows you to trigger
a call via TCP/IP.
For more information see
http://www.voip-info.org/tiki-index.php?page=Asterisk+manager+dialout
http://www.voip-info.org/wiki-Asterisk+manager+api

=Stefan

_______________________________________________
Asterisk-Users mailing list
Asterisk-Users at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users




More information about the asterisk-users mailing list