Summary: | ASTERISK-28187: Asterisk 16.0 crash on receiving fax | ||
Reporter: | Carl Fortin (phonefxg) | Labels: | fax pjsip |
Date Opened: | 2018-11-28 12:01:14.000-0600 | Date Closed: | 2018-11-29 08:49:15.000-0600 |
Priority: | Major | Regression? | |
Status: | Closed/Complete | Components: | Resources/res_pjsip_t38 |
Versions: | 16.0.0 | Frequency of Occurrence | Constant |
Related Issues: | |||
Environment: | CentOS 7.5 Asterisk 16.0.1 PJSIP Realtime asterik-dti*CLI> fax show version FAX For Asterisk Components: Applications: 16.0.1 Spandsp FAX Driver: 20110122 075024 Registered FAX Technology Modules: Type : Spandsp Description : Spandsp FAX Driver Capabilities : SEND RECEIVE T.38 G.711 GATEWAY 1 registered modules | Attachments: | ( 0) backtrace.txt ( 1) extension_part.conf ( 2) log.txt ( 3) pjsip.conf ( 4) res_fax.conf ( 5) rtp.conf |
Description: | I am updating from Asterisk 14.4 to Asterisk 16.0.1 and during my tests, I have found that the system will crash upon receiving a FAX from our gateway.
Damn faxes, one day it will be over!!! We did about 600000 calls with our last version so it was quite stable and nothing changed in my dialplan. I can reproduce the problem easily. | ||
Comments: | By: Asterisk Team (asteriskteam) 2018-11-28 12:01:16.321-0600 Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution. A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report. Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process]. By: Carl Fortin (phonefxg) 2018-11-28 12:01:38.803-0600 Backtrace By: Carl Fortin (phonefxg) 2018-11-28 12:22:22.453-0600 log file fax receive app By: Joshua C. Colp (jcolp) 2018-11-28 12:28:07.331-0600 Did you upgrade anything else about the platform? Was spandsp also upgraded? By: Carl Fortin (phonefxg) 2018-11-28 12:52:38.617-0600 Well I'm starting a new server with CentOS 7.5 and I have installed SpanDSP 0.0.6. I have the same spandsp version running in production with CentOS 6. Spandsp status on my new server: Connected to Asterisk 16.0.1 currently running on asterik-dti (pid = 1791) {noformat} asterik-dti*CLI> module show like res_fax_spandsp.so Module Description Use Count Status Support Level res_fax_spandsp.so Spandsp G.711 and T.38 FAX Technologies 0 Running extended 1 modules loaded {noformat} By: Carl Fortin (phonefxg) 2018-11-28 14:32:33.396-0600 Some of my config files in case you need it. extension_part.conf has been modified just to include the fax reception dialplan. By: Carl Fortin (phonefxg) 2018-11-29 08:48:57.579-0600 Nevermind it looks like spandsp was installed but not working properly. To fix it I had to recompile Spandsp, LDCONFIG and restarted Asterisk and everything is working fine now. Still I guess Asterisk should not crash. By: Carl Fortin (phonefxg) 2018-11-29 08:49:15.479-0600 Nevermind it looks like spandsp was installed but not working properly. To fix it I had to recompile Spandsp, LDCONFIG and restarted Asterisk and everything is working fine now. Still I guess Asterisk should not crash. By: Joshua C. Colp (jcolp) 2018-11-29 10:44:18.624-0600 The crash itself occurred down in spandsp. It's possible that Asterisk was built against one version, but another was installed. This would result in both disagreeing and depending on the library (spandsp) in this case could cause a crash. |