[asterisk-dev] [Code Review] Design review: allow remote AGI to effectively use EAGI

Russell Bryant russell at digium.com
Tue Feb 23 06:16:41 CST 2010


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/524/#review1554
-----------------------------------------------------------


I don't really like the idea of going down this route.  I would rather offer a solution that is more generic (not specific to AGI).  There are two that come to mind:

1) JACK - you could use the JACK audiohook and the ability to connect JACK ports over a network.  This exists in Asterisk today (though there is at least one bug report open for the module where it's not working).

2) I would also like to see the completion of a patch for call monitoring via an RTP stream.  Tzafrir has a patch on reviewboard for this, though I have some reservations about the current implementation.

- Russell


On 2010-02-22 00:08:44, Tilghman Lesher wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.asterisk.org/r/524/
> -----------------------------------------------------------
> 
> (Updated 2010-02-22 00:08:44)
> 
> 
> Review request for Asterisk Developers.
> 
> 
> Summary
> -------
> 
> Various people have asked on the mailing list whether it was possible to get the audio stream from a remote AGI script.  This is usually not possible, because by nature, a remote AGI is connected across a single socket, and audio data typically needs to run across a separate socket, to avoid confusing the command syntax engine.  However, we could certainly open another socket on demand from the AGI script, once it has started, by allowing the AGI script first to listen on a network port for connections, then specifying that hostname and port across the AGI interface to Asterisk.
> 
> 
> This addresses bug 16879.
>     https://issues.asterisk.org/view.php?id=16879
> 
> 
> Diffs
> -----
> 
>   /trunk/res/res_agi.c 247785 
> 
> Diff: https://reviewboard.asterisk.org/r/524/diff
> 
> 
> Testing
> -------
> 
> Compile testing only.  As I said, this is at design phase, and changes may be in order to the "open audio" command before we get to testing stage.
> 
> 
> Thanks,
> 
> Tilghman
> 
>




More information about the asterisk-dev mailing list