Joshua C. Colp
2021-Nov-03 12:38 UTC
[asterisk-users] 18.7.1 - can't load res_fax, can't stop app_fax
On Wed, Nov 3, 2021 at 9:09 AM Kingsley Tart <kingsley at dns99.co.uk> wrote:> Hi, > > I'm using Asterisk 18.7.1. > > I can't get res_fax to load. I built it accidentally with app_fax > enabled, and was getting this in the log on startup: > > [Nov 3 11:52:31] ERROR[10886] loader.c: Error loading module > 'res_fax_spandsp.so', missing dependency: res_fax > > Discovering that app_fax and res_fax conflict, I went back in to make > menuselect and unselected app_fax, so now it says this: > > ( ) app_fax > > and in the resource modules I have this: > > [*] res_fax > > so I re-did make and make install and then a full asterisk restart, but > I still got the same "missing dependency: res_fax" error in the log. > > I noticed that "noload => res_fax.so" was in modules.conf so I removed > that line and restarted Asterisk again, but it then declined to load, > ending with this error: > > [Nov 3 11:54:45] ERROR[11381] loader.c: *** Failed to load module > app_fax.so > [Nov 3 11:54:45] ERROR[11381] asterisk.c: Module initialization failed. > ASTERISK EXITING! > > and sure enough if I put that line back in to modules.conf, Asterisk > start and I notice that it's been saying this: > > [Nov 3 11:54:59] WARNING[11510] loader.c: Module 'app_fax' has been > loaded but was deprecated in Asterisk version 16 and will be removed in > Asterisk version 19. Its replacement is 'res_fax'. > > I can't figure out why it's still loading app_fax. Any ideas? >Is the app_fax.so module still in /usr/lib/asterisk/modules? If so - if you remove it do things work. Is app_fax.so explicitly being loaded in modules.conf? -- Joshua C. Colp Asterisk Technical Lead Sangoma Technologies Check us out at www.sangoma.com and www.asterisk.org -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20211103/306e8d86/attachment.html>
Kingsley Tart - Barritel Ltd
2021-Nov-03 12:58 UTC
[asterisk-users] 18.7.1 - can't load res_fax, can't stop app_fax
> Is the app_fax.so module still in /usr/lib/asterisk/modules? If so - > if you remove it do things work. > Is app_fax.so explicitly being loaded in modules.conf?Thanks. I was already waiting for it to finish recompiling after Doug's suggestion but yes, app_fax.so was still in there and removing it then let me remove the noload => res_fax.so line from modules.conf and everything started fine. At the end of the re-compile it was nice to see it point this out actually: --8<-- WARNING WARNING WARNING Your Asterisk modules directory, located at /usr/lib/asterisk/modules contains modules that were not installed by this version of Asterisk. Please ensure that these modules are compatible with this version before attempting to run Asterisk. app_fax.so WARNING WARNING WARNING --8<-- No, modules.conf didn't mention app_fax. Thanks. All sorted. Now to work on the next one ;) -- Cheers, Kingsley.
Kingsley Tart
2021-Nov-03 13:14 UTC
[asterisk-users] 18.7.1 - can't load res_fax, can't stop app_fax
> Is the app_fax.so module still in /usr/lib/asterisk/modules? If so - > if you remove it do things work. > Is app_fax.so explicitly being loaded in modules.conf?Thanks. I was already waiting for it to finish recompiling after Doug's suggestion but yes, app_fax.so was still in there and removing it then let me remove the noload => res_fax.so line from modules.conf and everything started fine. At the end of the re-compile it was nice to see it point this out actually: --8<-- WARNING WARNING WARNING Your Asterisk modules directory, located at /usr/lib/asterisk/modules contains modules that were not installed by this version of Asterisk. Please ensure that these modules are compatible with this version before attempting to run Asterisk. app_fax.so WARNING WARNING WARNING --8<-- No, modules.conf didn't mention app_fax. Thanks. All sorted. Now to work on the next one ;) -- Cheers, Kingsley.