After restoring from Backup, my trunk isn’t working. My trunk is an analog line plugged into dahdi device. Calls to that number ring endlessly and outgoing calls give me a “all circuits are busy now” error. I’m at a loss as to where even to begin troubleshooting this.
I have a Sangoma A200 card also, but I’m not sure the issue is the same. I am on FreePBX 6.12.65. Here’s a few things I’ve discovered since originally posting this:
Running dahdi_hardware does show my card.
Running dahdi_scan gives no results.
The Dahdi Config section on the web interface says “DAHDi Doesn’t appear to be running. Click the ‘Restart/Reload Dahdi Button’ Below”.
Restarting or Reloading doesn’t make that go away.
The page desn’t show any ports or give me the option to edit under the analog section (or anywhere, for that matter).
However, lsmod | grep dahdi does show a number of modules loaded.
Manually running “/etc/init.d/dahdi restart” doesn’t throw any errors. Everything shows “OK”.
I seem to be on version 2.10.0.1-1.shmz65.1.17. This is a new install that I imported the backup into, so it was last updated whenever I completed the installation. Some of the things you were discussing in the other thread are over my head. So, if this is the same issue, I may need a little more hand holding than what is on that thread.
The only fix that works for me right now is removing the dahdi-config module and setupping the card manually with setup-sangoma (as dicko had suggested in another thread since this always work for him), anything else including not putting the card in DAHDi mode did not work.
The ticket was assigned to someone today, hopefully a fix will be coming soon…
Thank you so much. Uninstalling the dahdi-config module and running setup-sangoma brought this week-long nightmare to an end for me. Although my faith in the stability of FreePBX is severely shaken, everything seems to be working now.
I am pretty sure it’s bad timing, if it had not been Thanksgiving in the US last week the problem would have most likely been fixed by now…
It must not be everyone with DAHDi which is affected by this because otherwise the FreePBX devs would have noticed the problem before releasing what is currently breaking our configs…
I know it affects Sangoma A200 users and OpenVox users but it must have been tested with DAHDi hardware…
I suggest you keep an eye on the ticket I mentioned… It was done against FreePBX 13 and the latest distro but I did mention that the same problem was apparently present in yours…
It does not fix my problem either. I’m on 10.13.66-6 on Asterisk 13 now. Every time I reboot I have to run setup-sangoma at least once, sometimes twice for it to start working again (oftentimes the first time errors out).
It seems to be working for me now. One of the problems was that, since I ran the setup-sangoma script as root, some of the files and directories were owned by root. Running “fwconsole chown” fixed it. It seems to be working now.