Help with Dahdi and Asterisk 11.2.1

Hi, I am quite new to this and could do with a bit of help if anyone is willing. I have a FreePBX distro running with Asterisk 11. I had everything working fine on a test PC where i had installed everything from first principles but having moved to the vastly easier distro install on the PC i want to deploy I have run into a roadblock.

I have a TDM card that is installed fine, i can see the channels in the Dadhi page and can edit the FXO ports (3 FXO, 1 FXS)

Everything is set up the same as a system that was working fine.

At the top of the Dahdi page it says “DAHDi doesnt appear to be running. Click below to restart etc…”

When i hit restart then Asterisk stops running and i need to go and do an amportal start.

When you do the asterisk -vvvr then it does not detect the incoming line and it cannot dial out. Also “dahdi show” does not work in the CLI as it states no such command.

Is it an installation order problem? or a register issue? I ran dahdi_genconf and that didnt help

Some of the things i can run are

Chkconfig --list … gives
0:off 1:off 2:on 3:on 4:on 5:on 6:off

dahdi_cfg -vv
Channel 01: FKS Kewlstart (Default) (Echo Canceler: oslec) (Slaves: 01)
Channel 02: FKS Kewlstart (Default) (Echo Canceler: oslec) (Slaves: 02)
Channel 03: FKS Kewlstart (Default) (Echo Canceler: oslec) (Slaves: 03)
Channel 04: FKS Kewlstart (Default) (Echo Canceler: oslec) (Slaves: 04)

4 channels to configure.

Setting echocan for channel 1 to oslec
Setting echocan for channel 2 to oslec
Setting echocan for channel 3 to oslec
Setting echocan for channel 4 to oslec

Any pointers in the right direction would be appreciated

some other info if it helps at all

chan_dahdi.conf

--------------------------------------------------------------------------------;
; Do NOT edit this file as it is auto-generated by FreePBX. All modifications to ;
; this file must be done via the web gui. There are alternative files to make ;
; custom modifications, details at: http://freepbx.org/configuration_files ;
;--------------------------------------------------------------------------------;
;

[general]

; generated by module
#include chan_dahdi_general.conf

; for user additions not provided by module
#include chan_dahdi_general_custom.conf

[channels]
language=en
busydetect=yes
busycount=10
usecallerid=yes
callwaiting=yes
usecallingpres=yes
threewaycalling=yes
transfer=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=no
echotraining=no
immediate=no
faxdetect=no
rxgain=0.0
txgain=0.0

; for user additions not provided by module
#include chan_dahdi_channels_custom.conf

; include dahdi groups defined by DAHDI module of FreePBX
#include chan_dahdi_groups.conf

; include dahdi extensions defined in FreePBX
#include chan_dahdi_additional.conf

Chan_Dahdi_additional.conf

;--------------------------------------------------------------------------------;
; Do NOT edit this file as it is auto-generated by FreePBX. All modifications to ;
; this file must be done via the web gui. There are alternative files to make ;
; custom modifications, details at: http://freepbx.org/configuration_files ;
;--------------------------------------------------------------------------------;
;

chan_dahdi_channels.conf - doesnt exits
chan_dahdi_channels_custom.conf - blank
chan_dahdi_groups.conf
--------------------------------------------------------------------------------;
; Do NOT edit this file as it is auto-generated by FreePBX. All modifications to ;
; this file must be done via the web gui. There are alternative files to make ;
; custom modifications, details at: http://freepbx.org/configuration_files ;
;--------------------------------------------------------------------------------;
;

signalling=fxs_ks
context=from-pstn
group=0
channel=>1

signalling=fxs_ks
context=
group=0
channel=>2

signalling=fxs_ks
context=
group=0
channel=>3

signalling=fxo_ks
context=from-analog
group=0
channel=>4