Summary: | ASTERISK-12819: Asterisk > 1.4.17 not mixing recorded channels calls with soxmix on Debian Etch | ||
Reporter: | Giorgio Incantalupo (gincantalupo) | Labels: | |
Date Opened: | 2008-10-03 05:54:12 | Date Closed: | 2011-06-07 14:07:53 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Resources/res_monitor |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) res_monitor.patch.asterisk1_4_22-rc5_licensed | |
Description: | Asterisk 1.4.17 until 1.4.22rc5 version does not work with soxmix on Debian Etch. Soxmix version is 12.17.9 and has problems joining files with 2 dots in their filename if output format is not specified. | ||
Comments: | By: Giorgio Incantalupo (gincantalupo) 2008-10-03 06:04:07 Patch to specify output sound type when calling soxmix external command. By: Sean Bright (seanbright) 2008-10-03 17:20:07 You'll need to sign the license agreement before we can look at your patch. Thanks. By: Giorgio Incantalupo (gincantalupo) 2008-10-06 05:19:33 No prob. I signed the license as requested. By: Tilghman Lesher (tilghman) 2008-10-20 11:56:03 gincantalupo: please reupload your patch, as the patch needs to be uploaded after the time that you sign the license agreement. By: Sean Bright (seanbright) 2008-11-19 09:30:17.000-0600 Does this patch work for all types? slinear for example might be problematic. Also, why did you change the delimiters to literal /'s instead of using the %s/absolute combination in the original code? By: Giorgio Incantalupo (gincantalupo) 2008-11-20 10:34:36.000-0600 Slinear? You cannot specify it in queues.conf (monitor-format parameter), only gsm,wav or wav49. I tried to put slinear but Asterisk complains. By: Sean Bright (seanbright) 2008-11-21 09:09:20.000-0600 Try 'slin' (It's what sox calls 'raw') By: Giorgio Incantalupo (gincantalupo) 2008-11-21 10:08:28.000-0600 Hi, tried 'slin' but Asterisk says: WARNING[674]: file.c:1087 ast_writefile: No such format 'slin' By: Sean Bright (seanbright) 2008-11-21 10:55:49.000-0600 It definitely works, I am using it in production on 1.4. You might just need to make sure the module is loaded. By: Sean Bright (seanbright) 2008-11-21 11:46:51.000-0600 Sorry about that, should be 'sln' By: Giorgio Incantalupo (gincantalupo) 2008-11-24 02:37:34.000-0600 Hi Seanbright, tried with sln. Asterisk creates the in and out files but soxmix is not able to mix them (soxmix says "Do not understand format type: sln"). By: Sean Bright (seanbright) 2008-11-24 10:17:06.000-0600 Right, because the 'type' of slinear as far as sox is concerned is 'raw.' You'll need to update your patch to take that into account in a non-hardcoded way, if possible, in order to make this a candidate for commit. By: Sean Bright (seanbright) 2008-12-10 09:54:57.000-0600 gincantalupo: Any update to your patch? By: Giorgio Incantalupo (gincantalupo) 2009-01-14 03:11:35.000-0600 Hi, sorry not yet, need a little more time. Hope to start this week. I'll keep you informed. Thank you. By: Sean Bright (seanbright) 2009-02-12 08:31:43.000-0600 If you come up with a working patch, feel free to re-open. Thanks! |