[asterisk-dev] Extend MixMonitor to record stereo files
Scott Griepentrog
sgriepentrog at digium.com
Thu Nov 14 09:15:35 CST 2013
It's definitely possible. Many moons ago (before mixmonitor) I once hacked
the mixing script in FreePBX to use sox to build a stero wav file from the
two recordings - so I understand the usefulness of what you're trying to do.
Be aware that both the Asterisk project and the FreePBX project are open
source, and you can contribute to either or both.
If I'm not mistaken (willing to be corrected on the internet if I'm wrong
;-) the WAV handling code is fixed in mono and 8khz (or at least used to
be) and it may be tricky to add in stereo support. That being said, it's
certainly possible to do it within Asterisk. It would require changes to
both MixMonitor() or creation of StereoMixMonitor and the WAV handling.
The part that I'm fuzzy on is how best to pass the two channels between
them.
On Thu, Nov 14, 2013 at 3:57 AM, Alex Barnes <
Alex.Barnes at completeautomotivesolutions.co.uk> wrote:
> Hi all,
>
>
>
> I was hoping somebody knowledgeable about the inner workings of
> app_mixmonitor could give me an idea of how feasible our change might be?
>
>
>
> User Story:
>
> As a FreePBX user I would like MixMonitor to save recordings in stereo wav
> format where inbound calls are one channel and outbound are another.
>
> This will allow me to more clearly hear who is speaking as well as more
> easily extract the audio of just one speaker.
>
>
>
> Note:
>
> The “FreePBX” part is important as we cannot make it use Monitor and an
> external bash script without hacking apart a lot of the dial plan, hence we
> are stuck using MixMonitor.
>
>
>
> We are a dev company but with little C experience and zero Asterisk
> application development knowledge HOWEVER we’re very happy to give it a
> whirl.
>
>
>
> I’m literally just starting on researching this and no doubt have lots of
> reading to do regarding general Asterisk app development, research WAV
> format issues in C and MixMonitor, how to submit changes to the Asterisk
> project etc etc. I was hoping somebody could let me know if they think
> this will definitely not work or if they happen to know of some of the
> issues we may face and possibly where to start looking.
>
>
>
> Thanks in advance
>
>
>
> Alex
>
>
>
>
>
> The Manheim group of companies within the UK comprises: Manheim Europe
> Limited (registered number: 03183918), Manheim Auctions Limited (registered
> number: 00448761), Manheim Retail Services Limited (registered number:
> 02838588), Motors.co.uk Limited (registered number: 05975777), Real Time
> Communications Limited (registered number: 04277845) and Complete
> Automotive Solutions Limited (registered number: 05302535). Each of these
> companies is registered in England and Wales with the registered office
> address of Central House, Leeds Road, Rothwell, Leeds LS26 0JE. The Manheim
> group of companies operates under various brand/trading names including
> Manheim Inspection Services, Manheim Auctions, Manheim Direct, Manheim
> De-fleet and Manheim Aftersales Solutions.
>
> V:0CF72C13B2AC
>
>
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-dev mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-dev
>
--
[image: Digium logo]
*Scott Griepentrog*
Digium, Inc · Software Developer
445 Jan Davis Drive NW · Huntsville, AL 35806 · US
direct/fax: +1 256 428 6239 · mobile: +1 317 507 4029
Check us out at: http://digium.com <http://www.digium.com> ·
http://asterisk.org <http://www.asterisk.org>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20131114/6c28d65f/attachment-0001.html>
More information about the asterisk-dev
mailing list