Need help setting up an analog FXO card

found a solution here:

Disable DAHDI config module
Reboot
Running “/usr/sbin/wancfg_dahdi” at the cli.
Reboot
Enable DAHDI config mdule
Reboot

Card is now visible in FreePBX!