Pb with Asterisk 1.4.26.2 and dahdi

Hi,

I’ve just installed dahdi-tools v2.2.0 and dahdi-linux v2.2.0.2, without any problem (Digium TDM400P):

[code]root@pctest:~# dahdi_cfg -vvv
DAHDI Tools Version - 2.2.0

DAHDI Version: 2.2.0.2
Echo Canceller(s):
Configuration

Channel map:

Channel 01: FXO Kewlstart (Default) (Echo Canceler: none) (Slaves: 01)
Channel 02: FXO Kewlstart (Default) (Echo Canceler: none) (Slaves: 02)
Channel 04: FXS Kewlstart (Default) (Echo Canceler: none) (Slaves: 04)

3 channels to configure.

Setting echocan for channel 1 to none
Setting echocan for channel 2 to none
Setting echocan for channel 4 to none
root@pctest:~#
[/code]

I compiled Asterisk without any problem too, but my anaolog phone doesn’t work.
“asterisk -cv” gives an error with dadhi :

.... chan_iax2.so => (Inter Asterisk eXchange (Ver 2)) [Sep 6 12:13:48] ERROR[7832]: codec_dahdi.c:637 find_transcoders: Failed to open /dev/dahdi/transcode: No such file or directory codec_dahdi.so => (Generic DAHDI Transcoder Codec Translator) ....

Could you please help me to fix this problem ?
Did I missed something in Asterisk conf file ?

Thanks a lot

Try to recompile dahdi and may be asterisk:
./configure
make menuconfig (menuselect)
make
make install

[quote=“bira_more”]Try to recompile dahdi and may be asterisk:
./configure
make menuconfig (menuselect)
make
make install[/quote]
I can’t run ./configure because it doesn’t exists in dahdi directory.
I tried make menuconfig but I got an error. The only commands I can run are :

make make install

Did I missed something ?
thx

my fault - do this only with Asterisk.
Then check Codec Translators and see if codec_dahdi is checked.

[quote=“bira_more”]my fault - do this only with Asterisk.
[/quote]
no problem :wink:

[quote=“bira_more”]
Then check Codec Translators and see if codec_dahdi is checked.[/quote]
Where can I find theses status.
Sorry for this newbie question…

make menuselect
for Asterisk, then codecs, then dahdi_codec

After you compiled dahdi, did you start dahdi? See Asterisk needs to detect dahdi running or it wont compile support for it. I would think kafifi is on the right path, you need to recompile asterisk and use make menuconfig and make sure chan_dahdi is being used.

Actually, it only requires that the tools be present. Of course, if you didn’t compile dahdi-tools, you won’t get anywhere!

(In particular, it is possible to build a dahdi capable Asterisk to a relocated build directory without installing dahdi on the build machine, at all.)

Hi all,
Thanks for your support.

@bira_more,
make menuselect
for Asterisk, then codecs, then dahdi_codec
=> dahdi codecs are checked

@riddlebox, @david55,
Here is exactly what I have done :

  1. buid and install dahdi-tools
  2. buid and install dahdi-linux
  3. start dadhi (/etc/init.d/dadhi start
  4. check dadhi with “dahdi_cfg -vv”
  5. compil Asterisk
  6. running Asterisk with “asterisk -cv”

A guy told me to fix the error msg by running :

The error msg has gone but the problem is still here : no tone in my analog phone …
I am sure I missed something, but I don’t know what :frowning:

up !
thx