hardware type is : wctdm24xxp. dahdi version: 2.5 . asterisk version: 1.8 .
i have an asterisk with fxs and fxo cards.
fxo and fxs are connected through an analog trunk.
trying to make a call from fxs through fxo, but it does not work. it says everybody congested.
unless i received a call on fxo then i would be able to make calls from fxs through fxo.
i kind of found out the problem!
the fxo line hookstatus is onhook whereas it should have been offhook in order to function normally.
the fxo line hook state changes to OFFHOOK in three cases :
case 1: if i received a call on the fxo line
case 2: if i unplugged then plugged the fxo line
case 3: if i plugged the fxo line after turning on the hardware not before, otherwise i have to do what i did in case 2 to make it work.
so my question is: why is it not detecting that fxo line is OFFHOOK (connected) ? why do i have to unplug then plug to make it offhook? and how to force it to be offhook by asterisk or linux or dahdi?
thanks in advance