[asterisk-dev] parse error in dahdi_cfg?
David A. Bandel
david.bandel at gmail.com
Mon Aug 25 16:11:55 CDT 2008
On Mon, Aug 25, 2008 at 1:45 PM, Tzafrir Cohen <tzafrir.cohen at xorcom.com> wrote:
> On Mon, Aug 25, 2008 at 01:25:28PM -0500, David A. Bandel wrote:
>
>> FYI: the dahdi_genconf still does not work. echo_can not selected
>> from /etc/dahdi/genconf_parameters and wctdm card seen from
>> dahdi_genconf but modules not seen.
>
> This seems to be because the path to dahdi_cfg is incorrect .
>
> Can you try:
>
> DAHDI_CFG=/usr/sbin/dahdi_cfg dahdi_genconf
well that produced some interesting results:
root at guaca:/etc/dahdi# DAHDI_CFG=/usr/sbin/dahdi_cfg dahdi_genconf
sh: line 1: 15129 Done echo fxsks=2
15130 Segmentation fault | /usr/sbin/dahdi_cfg -c /dev/fd/0 > /dev/nu
l 2>&1
sh: line 1: 15135 Done echo fxsks=3
15136 Segmentation fault | /usr/sbin/dahdi_cfg -c /dev/fd/0 > /dev/nu
l 2>&1
sh: line 1: 15141 Done echo fxsks=4
15142 Segmentation fault | /usr/sbin/dahdi_cfg -c /dev/fd/0 > /dev/nu
l 2>&1
root at guaca:/etc/dahdi# cat system.conf
# Autogenerated by /usr/sbin/dahdi_genconf on Mon Aug 25 16:09:11 2008 -- do no
hand edit
# Dahdi Configuration File
#
# This file is parsed by the Dahdi Configurator, dahdi_cfg
#
# Span 1: WCTDM/4 "Wildcard TDM400P REV I Board 5" (MASTER)
fxols=1
echocanceller=mg2,1
# channel 2, WCTDM/4/1, no module.
# channel 3, WCTDM/4/2, no module.
# channel 4, WCTDM/4/3, no module.
# Span 2: DAHDI_DUMMY/1 "DAHDI_DUMMY/1 (source: HRtimer) 1"
# Global data
loadzone = us
defaultzone = us
--- end output ----
So it got the first module right, but after that ....
>
> (or update SVN)
Will give that a try shortly.
David A. Bandel
--
Focus on the dream, not the competition.
- Nemesis Air Racing Team motto
More information about the asterisk-dev
mailing list