[asterisk-dev] Stream the audio of the caller and the callee as two separate streams

Tony Mountifield tony at softins.co.uk
Thu Feb 14 03:15:17 CST 2013


In article <511CA9F2.7020905 at gmail.com>,
Magyar Viktor <viktormv at gmail.com> wrote:
> Hello,
> 
> Could someone put me on the right track?
> I'm developing a module that would stream the audio of the caller and 
> the callee as two separate streams to an MRCP recorder. What is the 
> recommended way to do this? I have already examined MixMonitor source 
> code. It seems that using an audiohook could do that, but in the case of 
> MixMonitor the two streams are mixed together. Is there a way to read 
> the audio stream of one direction only?

Have a look at the Monitor application. It records each stream to a separate
file and then mixes them after the call, so it would probably be a better
starting point for what you want to do.

Cheers
Tony
-- 
Tony Mountifield
Work: tony at softins.co.uk - http://www.softins.co.uk
Play: tony at mountifield.org - http://tony.mountifield.org



More information about the asterisk-dev mailing list