Zend_Asterisk is a component that contain two main components: Zend_Asterisk_Manager and Zend_Asterisk_Agi
Zend_Asterisk_Manager will connect with the Asterisk Manager interfaces and can send and load data with the local Asterisk server.
Zend_Asterisk_Agi implements a Asterisk Gateway Interface which can be used to control and interact with a call in progress.
3. Component Requirements, Constraints, and Acceptance Criteria
This component will connect with the Asterisk Manager and can write and read to Asterisk socket.
This component will answer to Asterisk call and hangup an active call.
This component will detect DTMF digits (single or collect digits) and play specific audio files.
This component will read and write Asterisk global variables (like extensions) and call variables (like callerid).
4. Dependencies on Other Framework Components
Zend_Exception
5. Theory of Operation
The component can be used in two way:
As Asterisk Manager, who can send command directly to the server and read it's output
As Asterisk Gateway Interfaces, who can answer to a call, process user input, interact with others services (like a database) and return results or informations to user.
<p>We have an asterisk voip network at my place of employment and have been asked to look into possible solutions for a web based front end and ways to integrate our intranet site with Asterisk. I'd be very interested in testing, assisting with this component, regardless of whether or not it makes it into Zend Core.</p>
<p>When do you expect to get back to it? If it's not within a few weeks, then I think it's best if we archive it for now. That way no one with some more time will hesitate before creating their own proposal for a similar component. <ac:emoticon ac:name="wink" /></p>
<p>I'm in rather a similar position as Jed, I'd love to see this component mature. I'd also be keen on testing if you're after more test subjects <ac:emoticon ac:name="smile" /></p>
11 Comments
comments.show.hideNov 20, 2007
Jed Green
<p>We have an asterisk voip network at my place of employment and have been asked to look into possible solutions for a web based front end and ways to integrate our intranet site with Asterisk. I'd be very interested in testing, assisting with this component, regardless of whether or not it makes it into Zend Core.</p>
Dec 13, 2007
Emanuele Deserti
<p>Thanks for help.</p>
<p>Actually this project is "On Hold" but the development of the classes still continue... <ac:emoticon ac:name="smile" /></p>
Feb 21, 2008
Wil Sinclair
<p>When do you expect to get back to it? If it's not within a few weeks, then I think it's best if we archive it for now. That way no one with some more time will hesitate before creating their own proposal for a similar component. <ac:emoticon ac:name="wink" /></p>
Feb 06, 2008
Craig Rose
<p>I'm in rather a similar position as Jed, I'd love to see this component mature. I'd also be keen on testing if you're after more test subjects <ac:emoticon ac:name="smile" /></p>
<p>Looking forward to more additions!</p>
<p>Regards,<br />
Craig</p>
Feb 22, 2008
Emanuele Deserti
<p>Sorry for long delay...</p>
<p>I have just upload a VERY draft version of Zend_Asterisk_Manager (this is in use in one of our web application).</p>
<p>Of course, all comment, critic and contribute of code are welcome <ac:emoticon ac:name="smile" /></p>
<p>This class is heavily based on PHP-AGI <a class="external-link" href="http://phpagi.sourceforge.net">http://phpagi.sourceforge.net</a></p>
May 10, 2008
Sébastien Cramatte
<p>Take a look to this AGI class for php 5</p>
<p><a class="external-link" href="http://wisedonkey.livejournal.com/98142.html">http://wisedonkey.livejournal.com/98142.html</a></p>
<p>Works quite well and you can adapt it easily to Zend Framework</p>
<p>Cheers !</p>
<p>I will you manager class asap. I'm interested to build a click on dial using you class.<br />
Could you give me any clue ?</p>
<p>Regards</p>
Jul 14, 2008
Emanuele Deserti
<p>I have just added another UC with an Originate command useful for click to dial from a web interface</p>
Oct 15, 2008
Sébastien Cramatte
<p>Where can I download the latest class with "Orignate" function ?<br />
The archive posted here doesn't have it</p>
<p>Regards</p>
Oct 16, 2008
Emanuele Deserti
<p>You can find the Manager Class here:</p>
<p><a href="http://www.deserti.net/zend/Manager.zip">http://www.deserti.net/zend/Manager.zip</a></p>
Dec 29, 2010
Dolf Schimmel (Freeaqingme)
<p>Are there any updates to this issue? Should it be archived?</p>
Jan 04, 2011
Dolf Schimmel (Freeaqingme)
<p>Due to lack of response I assume this proposal to be abandoned and have archived it as such. Please contact me if I'm wrong.</p>