Hello,
First of all - I am absolutley new to Asterisk, this is my first setup at home, with one clone x100p PCI card.
I am running Debian Lenny with 2.6.26-2-686 standard kernel, Asterisk 1.4.24.1 and FreePBX 2.5.1.2 - well and I just can’t get FXO to work…
Any help appreciated…
The PCI card is recognized correctly (I think), but there is no channel visible in asterisk:
minipbx*CLI> dahdi show status
Description Alarms IRQ bpviol CRC4
Wildcard X100P Board 1 OK 0 0 0
minipbx*CLI> dahdi show channels
Chan Extension Context Language MOH Interpret
pseudo default default
however outside of asterisk dahdi seems to work:
minipbx:~# dahdi_cfg -vv
DAHDI Tools Version - 2.1.0.2
DAHDI Version: 2.1.0.4
Echo Canceller(s): MG2
Configuration
======================
Channel map:
Channel 01: FXS Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 01)
1 channels to configure.
Setting echocan for channel 1 to mg2
minipbx:~# dahdi_scan
[1]
active=yes
alarms=OK
description=Wildcard X100P Board 1
name=WCFXO/0
manufacturer=Digium
devicetype=Wildcard X100P
location=PCI Bus 01 Slot 02
basechan=1
totchans=1
irq=12
type=analog
port=1,FXO
minipbx:~#
My configuration files are default I guess:
minipbx:~# cat /etc/dahdi/system.conf
# Autogenerated by /usr/sbin/dahdi_genconf on Thu Apr 16 10:03:46 2009 -- do not hand edit
# Dahdi Configuration File
#
# This file is parsed by the Dahdi Configurator, dahdi_cfg
#
# Span 1: WCFXO/0 "Wildcard X100P Board 1" (MASTER)
fxsks=1
echocanceller=mg2,1
# Global data
loadzone = us
defaultzone = us
minipbx:~# cat /etc/asterisk/dahdi-channels.conf
; Autogenerated by /usr/sbin/dahdi_genconf on Thu Apr 16 10:03:46 2009 -- do not hand edit
; Dahdi Channels Configurations (chan_dahdi.conf)
;
; This is not intended to be a complete chan_dahdi.conf. Rather, it is intended
; to be #include-d by /etc/asterisk/chan_dahdi.conf that will include the global settings
;
; Span 1: WCFXO/0 "Wildcard X100P Board 1" (MASTER)
;;; line="1 WCFXO/0/0 FXSKS (EC: MG2)"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 1
callerid=
group=
context=default
minipbx:~# grep -v "^;" /etc/asterisk/chan_dahdi.conf
#include dahdi-channels.conf
[trunkgroups]
[channels]
context=default
switchtype=national
signalling=fxo_ks
rxwink=300
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=yes
rxgain=0.0
txgain=0.0
group=1
callgroup=1
pickupgroup=1
immediate=no
I am grateful for any hints…