Hi Paulo,

http://www.cpqlinux.com/patch.html

The first paragraph explains how to create a patch file.

There is a MuxMon application which records natively included in
CallWeaver. It might be worth checking. I am using it to record calls
and conferences.

It also has a problem with ${UNIQUEID} in the filename. If you want to
create a patch for it so that the extension is an arg on its own I would
be happy to merge it.


søn, 20.05.2007 kl. 12.33 -0300, skrev Paulo Scardine:
> 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

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

Reply via email to