At a guess I’m assuming that you are using BRI (Basic Rate Interface - 1 D channel & 2 B channels)?
Ok first thing first. Check if kernel has seen the card. do this by typing dmesg (or dmesg|less) and look for you card. Alternative you can use lspci.
You have a number of options in asterisk for using BRI cards.
- ZapHFC - assuming that you have a card with a Cologne HFC chip on it (to find out look at the chip on the card or look at the output from dmesg)
- Capi with chan_capi - this will in all likelihood require you to recompile the linux kernel for Capi. Obviously you need a supported card
- mISDN (modular ISDN) with cha_misdn - even more complex. You will need to patch then recompile the kernel.
- i4l (ISDN4Linux) - is dead (well depreciated) in the 2.6 Kernel tree
The first option is the simplest, and I’ve found it to be quite reliable. I have a asterisk server currently running with 2 HFC cards, and I haven’t had a problem so far (ok it’s only been up for 4 weeks).
For future reference. Include the relevent info in you posts:
What version of linux (and I mean the kernel)?
What distribution (it helps people know where to find things)?
What version of Asterisk?
As you post mentions hardware, what hardware?