I have an Asterisk 13.8-cert4 which has been working since few months.
Now I am trying to enable faxing, which requires installing spandsp.
I downloaded spandsp snapshot spandsp-20160831.tar.gz and installed the same, after which I recompiled the same Asterisk version which I previously have with pjsip support. I have confirmed with make menuselect that res_fax_spandsp is enabled.
Now after re-installing Asterisk, I see the following output:
fax show capabilities
Registered FAX Technology Modules:
0 registered modules
So how to tell Asterisk that spandsp is now available as a fax capability?
Have you looked at the console at startup to see if it was attempted to be loaded and failed? Have you looked in the /usr/lib/asterisk/modules directory to see if the module is present?
The /var/log/asterisk/full log file generally contains information. You can also do âmodule show like spandspâ to see if it was loaded at all, and âmodule load res_fax_spandsp.soâ to manually load it.
That would mean that the spandsp library canât be found. It could be installed in a different place than the system is looking. You could try running âldconfigâ to see if that helps. If not youâll need to find where the library was installed and where things are expecting it to be. It could be that when installed it went to /usr/local but in reality it should have been /usr
The inability to find the library isnât because of Asterisk, itâs because of the system itself. Itâs configured to look in certain places for libraries and youâve installed spandsp in a place it isnât. The easiest way would be to rebuild spandsp and use â./configure --prefix=/usrâ as that is likely where things are configured to look.