I wonder if anyone can give me any ideas how to go about achieving the following? I want to create a CGI or PHP script that, when invoked from the web, will make a call to Asterisk on a given extension number, and the audio that is played to that extension gets streamed to the remote client. I'm happy to write code and hack on Asterisk, so am just after some clues about likely approaches to take. Cheers Tony -- Tony Mountifield Work: tony@softins.co.uk - http://www.softins.co.uk Play: tony@mountifield.org - http://tony.mountifield.org
Tony Mountifield wrote:> I want to create a CGI or PHP script that, when invoked from the web, > will make a call to Asterisk on a given extension number, and the audio > that is played to that extension gets streamed to the remote client.A EAGI interface with FFMPEG or Helix (using Windows Media/mplayer/Realplay as output), or if you are really good in Macromedia Flash directly stream it into the clients Flash player. Stefan de Konink
Stefan de Konink wrote:> Tony Mountifield wrote: > >> I want to create a CGI or PHP script that, when invoked from the web, >> will make a call to Asterisk on a given extension number, and the audio >> that is played to that extension gets streamed to the remote client. > > A EAGI interface with FFMPEG or Helix (using Windows > Media/mplayer/Realplay as output), or if you are really good in > Macromedia Flash directly stream it into the clients Flash player. > > Stefan de Konink >what about a combo of an EAGI and MING ? (generate flash on the fly) ming.sourceforge.net matt