[Home]

Summary:ASTERISK-14221: Nice to have setting to point to sox/soxmix
Reporter:Marc M. Adkins (madkins)Labels:
Date Opened:2009-05-28 17:03:41Date Closed:2011-06-07 14:00:53
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Sounds
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:Calls to sox/soxmix are hard-coded into several modules.  Our company installs all software into particular directories, so we would like a setting to change the hard-coded strings.  Otherwise we need to adjust PATH before running Asterisk.  Not a huge deal, but would be nice.

****** ADDITIONAL INFORMATION ******

Seems to be a small number of cases (1.6.1.0 code):

apps/app_minivm.c:              snprintf(tmpcmd, sizeof(tmpcmd), "sox -v %.4f %s.%s %s.%s", vmu->volgain, filename, format, newtmp, format);
apps/app_voicemail.c:                   snprintf(tmpcmd, sizeof(tmpcmd), "sox -v %.4f %s.%s %s.%s", vmu->volgain, attach, format, newtmp, format);
res/res_monitor.c:                              execute = "nice -n 19 soxmix";
res/res_monitor.c:                              execute = "nice -n 19 sox -m";

Of course there may be other applications called in this manner.  Perhaps an external.conf file would be appropriate for setting these.
Comments:By: Leif Madsen (lmadsen) 2009-06-16 15:38:55

Feature requests are not handled through the issue tracker unless the feature is accompanied by a patch. If you are looking for a developer to move this issue forward, please discuss on the asterisk-users list (or asterisk-biz), or you can use asterisk-dev if you have specific questions about implementing this feature yourself. Thanks!