[quote=“semsettin”]Finally success, at least fax comes in and asterisk does not crash.
I first setup a test box, which had Asterisk 1.4 running already. I copied the spandsp and asterisk sources from my production box to the test server. Then I compiled spandsp (which was a fresh install), recompiled Asterisk, and voila it worked. Then I did the following on the production box. Keep in mind, I had applied the Asterisk patches manually, plus changes to makeopts.in and build_tools/menuselect-deps.in .
- Go to usr/src/spandsp_0.0.3 (I am using spandsp-20061206.tar.gz)
- make uninstall
- make clean
- make install
Once it is installed, check location of libspandsp.la, if it is in /usr/local/lib, open /etc/ld.so.conf, add /usr/local/lib there, save and exit, run ldconfig
Then go to asterisk source folder
make menuselect (select/remove any unwanted modules)
Restart asterisk. Voila. Keep in mind, I am running Debian, so your locations might be different, and all was done as root.
Now, one small issue after rxfax, the dialplan does not continue, where I set it to convert the tiff to pdf, email and delete the tiff and pdf. Time to do more debugging [/quote]
I’m having the same problem you described early on, when a fax comes in and i call rxfax to handle it, Asterisk dies. I’ve employed every tip posted here, but still have not resolved the issue.
I’m unclear which version of spandsp you used. I don’t see a tar file with the date you mention on the softswitch website. Can you please clarify?
Also, did you have to modify the app_rxfax.c and app_txfax.x files in order to get them to compile properly with Asterisk 1.4? I found that it was necessary to update a couple of function calls. Now the files compile and appear in Asterisk as applications, but rxfax causes Asterisk to die when it is called. If you did make changes to app_rxfax.c could you post your changes?