[asterisk-bugs] [Asterisk 0011282]: [patch] Execute AGI from the CLI and the manager interface

noreply at bugs.digium.com noreply at bugs.digium.com
Tue Dec 11 11:49:47 CST 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=11282 
====================================================================== 
Reported By:                moy
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   11282
Category:                   Applications/NewFeature
Reproducibility:            N/A
Severity:                   feature
Priority:                   normal
Status:                     new
Asterisk Version:            SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 89394 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             11-17-2007 23:09 CST
Last Modified:              12-11-2007 11:49 CST
====================================================================== 
Summary:                    [patch] Execute AGI from the CLI and the manager
interface
Description: 
This new application allow to take control of the applications executed
using the Asterisk console or via AMI.

[default]
exten => _X.,1,Answer()
exten => _X.,2,DynamicApp()
exten => _X.,3,Hangup()

Once the channel enter DynamicApp, it will wait there for applications to
execute. Applications may arrive either from the console or AMI, like
this:

*CLI> dynapp SIP/testing-09124338 Playback hello-world

That will execute Playback application with hello-world arguments.

The same using AMI:

Action: AddDynApp
Channel: SIP/testing-09124338
App: Playback
Data: hello-world

I need some help of you guys to check locking/unlocking of channels, I
think I am doing right, but I am still unsure about some cases. It seems to
work though.

Comments and corrections are always welcomed.
====================================================================== 

---------------------------------------------------------------------- 
 moy - 12-11-07 11:49  
---------------------------------------------------------------------- 
mnicholson: I have not tried Adhearsion, sounds like a pretty cool project.
Similar in goals to the closed source framework we developed in PHP at the
company I worked for 2 years ago. I would have to try it to be able to give
an educated opinion and point out the differences.

In the other hand, I do know using FastAGI is a feasible way of
approaching the same problem. But I don't need nor want a separate TCP
socket for each call.

And what about the CLI AGI feature! ain't that cool? :)

Seriously, discussion can continue in asterisk-dev, the "Unified Asterisk
Interface" topic is getting hot. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
12-11-07 11:49  moy            Note Added: 0075220                          
======================================================================




More information about the asterisk-bugs mailing list