pstiles
December 4, 2011, 11:40pm
1
I downloaded and installed FreePBX 2.9 and Asterisk 1.8. Both are up and running and I can make calls between extension with no issues.
I have a Openvox A400 card installed in the machine with 1 FXO module in slot 1 and 3 FXS modules in slots 2-4.
When I run dahdi show channels from the Asterisk CLI, I get the following.
Chan Extension Context Language MOH Interpret Blocked State
pseudo default default
When I run dahdi show status, I get the following.
Description Alarms IRQ bpviol CRC Fra Codi Options LBO
Wildcard TDM400P REV E/F Board 5 OK 0 0 0
I can not make or receive calls, but I am not sure how to rectify the issue.
I followed the prompts on the install screens.
I searched the internet looking for answer to my issue, but could not find anything. Not sure if I searched correctly.
I believe it is a device driver issue.
Thanks
Paul
Did you stop asterisk and run dahdigenconf ?
What is in your /etc/dahdi/system.conf and /etc/asterisk/chan_dahdi.conf?
I did stop asterisk. I tired to run dahdigenconf, from the and from /etc/dahdi each time it says command not found. As for what is in the /ect/dahdi/system.conf and /etc/asterisk/chan_dahdi.conf, I don not know how to list or view them.
It’s dahdi_genconf
Did you read the DAHDI getting started guide or the driver installation guide from Openvox?
If you don’t know how to look at or edit a file in Linux you are going to be very frustrated trying to adminster a Linux based phone system. If it helps to display a file use the cat command, nano is also a simple editor that is very popular. vi and joe work well also. vi has a steep learning curve.
/etc/dahdi.system.conf show the following
This file is parsed by the Dahdi Configurator, dahdi_cfg
Span 1: WCTDM/4 “Wildcard TDM400P Rev E/F Borad 5” (Master)
xsks=1
echocanceller=mg2,1
xoks=2
echocanceller=mg2,2
xoks=3
echocanceller=mg2,3
xoks=4
echocanceller=mg2,4
Global Data
loadzone=us
defaultzone=us
/etc/asterisk/chan_dahdi.conf show the following
zapata telephony interface
Configuration file
[trunkgroups]
[channels]
language=en
context=from-zaptel
signalling=fxs_ks
xwlink=300 ; Atlas seems to use long (250ms) winks
usedistinctiveringdetection=yes
busydetect=yes
busycount=10
usecallerid=yes
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
transfer=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=no
echotraining=800
rxgain=0.0
txgain=0.0
group=0
pickupgroup=1
immediate=no
faxdetect=both
faxdetect=incoming
faxdetect=outgoing
facdetect=no
include dahdi-channels.conf
group=1
include AMP configs
include chan_dahdi_additional.conf
Assuming for the moment that the install process for a clone card is the same as real one…
From the command line I would do a yum list dahdi* and make sure you see dahdi-tools.i686 installed, then…
amportal stop
dahdi_genconf
followed by
dahdi_cfg -vv
And then amportal restart. After which you should be able to run "asterisk -rx “dahdi show channels” and see:
Chan Extension Context Language MOH Interpret
pseudo default default
1 from-internal en default
3 from-internal en default
4 from-pstn en default
or what have you.
The command is actually dahdi_genconf -v -F to run verbosely and generate the FreePBX includes.
Which is vastly superior to dahdigenconf…