Hi Paulo,

Paulo Scardine wrote:
> Dear callweaver developers,
>
> res_monitor relies on soxmix to join the in and out leg recordings, 
> but if the filename has more than one dot (for example, if using 
> ${UNIQUEID} to compose the filename), soxmix will fail to guess the 
> filetype with an error like:
>
> soxmix: Unknown output file format for 'recording_1179403553.23.gsm': 
> File type '23.gsm' is not known
>
> (at least on Ubuntu)
>
> I'm not a great coder, nor have much experience contributing to 
> opensource projects, so I don't have a clue if this is the right way 
> to do that. Forgive this well-intended newbie, if pointed the right 
> direction I will try my best.
>
> Attached is a patch to circumvent this soxmix bug. It worked for me.
>
> Mikael, I will look MuxMon sources and see if it has a similar bug, 
> and if so, I will try to provide a fix.

I have commit a slightly different change to do the same thing as yours. 
I notice that format wav49 is translated to "WAV" rather than "wav". Is 
that right? It certainly looks wrong.

I think we should migrate away from all these file types and use .wav 
for everything. There isn't a codec we use that can't be put into a wav 
file, either using a standard approach, or by proprietary fudging 
(probably needed for, say, speex).

Steve

_______________________________________________
Callweaver-dev mailing list
[email protected]
http://lists.callweaver.org/mailman/listinfo/callweaver-dev

Reply via email to