Asterisk don't detect pstn lines

I need your help coz i spend more than 4 days on this problem without any solution.

here is the probleme.

asterisk installation and dahdi hardware installation go really fine.

i got my hardware up and running.all the led are green

but if i put my pstn line in one of my tdm03b port , it seems that asterisk don’t see that i plugged in the line. no message appears in the cli.

and also if i try to call the line number, the telco tells me that the number i dialed can’t be reached. as if it was out of service.
but it rings when i put off the line from the tdm card. or if i connect it directly to an analog phone .

here is the dahdi_test result
99.990% 99.987% 99.987% 99.989% 99.989% 99.990% 99.992% 99.987%
99.990% 99.988% 99.992% 99.988% 99.989% 99.989% 99.989% 99.989%
99.990% 99.990% 99.983% 99.989% 99.989% 99.990% 99.989% 99.990%
99.989% 99.991% 99.988% 99.990% 99.992% 99.987% 99.990% 99.990%
99.989% 99.990% 99.990% 99.990% 99.989% 99.990% 99.990% 99.990%
99.990% ^C
— Results after 41 passes —
Best: 99.992 – Worst: 99.983 – Average: 99.989269, Difference: 99.989270

and my dahdi_cfg :

Channel 02: FXS Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 02)
Channel 03: FXS Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 03)
Channel 04: FXS Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 04)

3 channels to configure.

Setting echocan for channel 2 to mg2
Setting echocan for channel 3 to mg2
Setting echocan for channel 4 to mg2

my dahdi-channels.conf included in chan_dahdi.conf :
channel => 2-4

please tell me what is wrong here.
is my card damaged or i have forgotten something in my configuration
i am using:

  • os : debian etch
  • asterisk 1.8
  • dahdi 2.4



Contact the company that sold you the card.


the card is more than 2 years old and worked fine .

the probem happens after reinstalling my system .

so the help i needed was to tells what’s wrong. is my card or not ?

here are the last news.

when i plug off and plug on again the pstn lines in the card , asterisk show alert message of alarm on channel…
line 2 and 3 also answer now call and asterisk show incoming call on the cli; but it says that all call come from dahdi/2 port even if i call another line plug in channel 3 of the card.

and more , when i try to make outbond call , call myself as if i was making playback. only one channel make call normally

does anyone know someting about that problem.

thanks for any helps

Check your contexts, check you incoming dial plan.
You have to check if your ISP have an automatically jump.
I mean, if you call your self, the ISP foward the call to other of your current lines.

Or use the dahdi_tools to check you hadware status