[Home]

Summary:ASTERISK-16427: [patch] Formats should have a load priority
Reporter:Paul Belanger (pabelanger)Labels:
Date Opened:2010-07-25 15:46:36Date Closed:2011-06-07 14:01:05
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Formats/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) load_formats.patch
Description:With the recent change to formats, they now have a default load priority.  This currently causes an issue, since app_voicemail.c now loads prior to formats_*.



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

CLI errors
---
[Jul 25 15:32:20] WARNING[27898]: file.c:1396 ast_format_str_reduce: ignoring unknown format 'wav49'
[Jul 25 15:32:20] WARNING[27898]: file.c:1396 ast_format_str_reduce: ignoring unknown format 'gsm'
[Jul 25 15:32:20] WARNING[27898]: file.c:1396 ast_format_str_reduce: ignoring unknown format 'wav'
[Jul 25 15:32:20] WARNING[27898]: file.c:1426 ast_format_str_reduce: no known formats found in format list (wav49|gsm|wav)
[Jul 25 15:32:20] ERROR[27898]: app_voicemail.c:11702 load_config: Error processing format string, defaulting to format 'wav'
Comments:By: Paul Belanger (pabelanger) 2010-07-25 15:50:06

I'm not sure if this is the correct approach, I created a new AST_MODPRI_SYSTEM_DEPEND flag.  Since formats, don't appear, to have any dependencies we can assume(?) they can be safely loaded first.