This issue was verified under Ubuntu Server 5.10, with callweaver from 
trunk and soxmix 12.17.9.

I have many custom applications made for asterisk that use ${UNIQUEID}in 
the filename to locate recordings, and I would like to recycle them.

Monitor natively relies on soxmix to mix the two legs of the call when 
the option "m" is used. If the filename has more than one dot char, 
soxmix may fail with:
soxmix: Unknown output file format for 'someprefix_1179403553.23.gsm':  
File type '23.gsm' is not known

I don't want to discuss if this is a soxmix or callweaver bug, because I 
dislike the ugly MSDOS "filename.ext" convention first.

I could not find what are the conventions used by developers, like how 
to send patches, indent arguments, etc, but I would like to sugest a 
patch to res_monitor.c:

diff res_monitor.c res_monitor.c.original
286c286
<                        snprintf(tmp, sizeof(tmp), "%s \"%s/%s-in.%s\" 
\"%s/%s-out.%s\" \"%s/%s.%s\" %s &", execute, dir, name, format, dir, 
name, format, dir, name, format,execute_args);
---
 >                        snprintf(tmp, sizeof(tmp), "%s -t %s 
\"%s/%s-in.%s\" -t %s \"%s/%s-out.%s\" -t %s \"%s/%s.%s\" %s &", 
execute, format, dir, name, format, format, dir, name, format, format, 
dir, name, format,execute_args);

Thanks in advance,
--
Paulo Scardine

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

Reply via email to