dahdi HELP

Discussion in 'General' started by mattrh, Jul 1, 2009.

  1. mattrh

    Joined:
    Jul 15, 2008
    Messages:
    175
    Likes Received:
    0
    my server was upgraded to the most current elastix. so now the server boots up but i can not make a call out.

    wancfg_dahdi -errors out and can't find my A102 Sangoma!

    HELP!!
     
  2. mattrh

    Joined:
    Jul 15, 2008
    Messages:
    175
    Likes Received:
    0
    # dahdi_cfg
    DAHDI_SPANCONFIG failed on span 1: Invalid argument (22)
     
  3. mattrh

    Joined:
    Jul 15, 2008
    Messages:
    175
    Likes Received:
    0
    # dahdi_cfg -vvvvvvvvvvvvv
    DAHDI Tools Version - 2.1.0.2

    DAHDI Version: 2.1.0.4
    Echo Canceller(s):
    Configuration
    ======================

    SPAN 1: ESF/B8ZS Build-out: 0 db (CSU)/0-133 feet (DSX-1)
    SPAN 2: ESF/B8ZS Build-out: 0 db (CSU)/0-133 feet (DSX-1)

    Channel map:

    Channel 01: Clear channel (Default) (Slaves: 01)
    Channel 02: Clear channel (Default) (Slaves: 02)
    Channel 03: Clear channel (Default) (Slaves: 03)
    Channel 04: Clear channel (Default) (Slaves: 04)
    Channel 05: Clear channel (Default) (Slaves: 05)
    Channel 06: Clear channel (Default) (Slaves: 06)
    Channel 07: Clear channel (Default) (Slaves: 07)
    Channel 08: Clear channel (Default) (Slaves: 08)
    Channel 09: Clear channel (Default) (Slaves: 09)
    Channel 10: Clear channel (Default) (Slaves: 10)
    Channel 11: Clear channel (Default) (Slaves: 11)
    Channel 12: Clear channel (Default) (Slaves: 12)
    Channel 13: Clear channel (Default) (Slaves: 13)
    Channel 14: Clear channel (Default) (Slaves: 14)
    Channel 15: Clear channel (Default) (Slaves: 15)
    Channel 16: Clear channel (Default) (Slaves: 16)
    Channel 17: Clear channel (Default) (Slaves: 17)
    Channel 18: Clear channel (Default) (Slaves: 18)
    Channel 19: Clear channel (Default) (Slaves: 19)
    Channel 20: Clear channel (Default) (Slaves: 20)
    Channel 21: Clear channel (Default) (Slaves: 21)
    Channel 22: Clear channel (Default) (Slaves: 22)
    Channel 23: Clear channel (Default) (Slaves: 23)
    Channel 24: Hardware assisted D-channel (Default) (Slaves: 24)
    Channel 25: Clear channel (Default) (Slaves: 25)
    Channel 26: Clear channel (Default) (Slaves: 26)
    Channel 27: Clear channel (Default) (Slaves: 27)
    Channel 28: Clear channel (Default) (Slaves: 28)
    Channel 29: Clear channel (Default) (Slaves: 29)
    Channel 30: Clear channel (Default) (Slaves: 30)
    Channel 31: Clear channel (Default) (Slaves: 31)
    Channel 32: Clear channel (Default) (Slaves: 32)
    Channel 33: Clear channel (Default) (Slaves: 33)
    Channel 34: Clear channel (Default) (Slaves: 34)
    Channel 35: Clear channel (Default) (Slaves: 35)
    Channel 36: Clear channel (Default) (Slaves: 36)
    Channel 37: Clear channel (Default) (Slaves: 37)
    Channel 38: Clear channel (Default) (Slaves: 38)
    Channel 39: Clear channel (Default) (Slaves: 39)
    Channel 40: Clear channel (Default) (Slaves: 40)
    Channel 41: Clear channel (Default) (Slaves: 41)
    Channel 42: Clear channel (Default) (Slaves: 42)
    Channel 43: Clear channel (Default) (Slaves: 43)
    Channel 44: Clear channel (Default) (Slaves: 44)
    Channel 45: Clear channel (Default) (Slaves: 45)
    Channel 46: Clear channel (Default) (Slaves: 46)
    Channel 47: Clear channel (Default) (Slaves: 47)
    Channel 48: Hardware assisted D-channel (Default) (Slaves: 48)

    48 channels to configure.

    DAHDI_SPANCONFIG failed on span 1: Invalid argument (22)
     
  4. mattrh

    Joined:
    Jul 15, 2008
    Messages:
    175
    Likes Received:
    0
    /etc/init.d/dahdi restart
    Unloading DAHDI hardware modules: ERROR: Module dahdi is in use
    error
    Loading DAHDI hardware modules:
    wanpipe: FATAL: Error inserting wanpipe (/lib/modules/2.6.18-92.1.22.el5/kernel/drivers/net/wan/wanpipe.ko): Unknown symbol in module, or unknown parameter (see dmesg)
    [FAILED]

    No hardware timing source found in /proc/dahdi, loading dahdi_dummy
    Running dahdi_cfg: [ OK ]
     
  5. mattrh

    Joined:
    Jul 15, 2008
    Messages:
    175
    Likes Received:
    0
    here is where i am at HELP

    Code:
    # service asterisk start
    SETTING FILE PERMISSIONS Asterisk
    Permissions Asterisk OK
    Starting asterisk:                                         [  OK  ]
    [root@fapphonesvr dahdi-linux-2.2.0.1]# service dahdi start
    Loading DAHDI hardware modules:
    FATAL: Error inserting dahdi (/lib/modules/2.6.18-92.1.22.el5/dahdi/dahdi.ko): Device or resource busy
      wanpipe:                                                 [  OK  ]
    
    Error: missing /dev/dahdi!
    [root@fapphonesvr dahdi-linux-2.2.0.1]# make modules
    make -C drivers/dahdi/firmware firmware-loaders
    make[1]: Entering directory `/usr/src/dahdi-linux-2.2.0.1/drivers/dahdi/firmware'
    make[1]: Leaving directory `/usr/src/dahdi-linux-2.2.0.1/drivers/dahdi/firmware'
    make -C /lib/modules/2.6.18-92.1.22.el5/build SUBDIRS=/usr/src/dahdi-linux-2.2.0.1/drivers/dahdi DAHDI_INCLUDE=/usr/src/dahdi-linux-2.2.0.1/include DAHDI_MODULES_EXTRA=" " HOTPLUG_FIRMWARE=yes modules DAHDI_BUILD_ALL=m
    make[1]: Entering directory `/usr/src/kernels/2.6.18-92.1.22.el5-i686'
    
      Building modules, stage 2.
      MODPOST
    WARNING: could not find /usr/src/dahdi-linux-2.2.0.1/drivers/dahdi/vpmadt032_loader/.vpmadt032_x86_32.o.cmd for /usr/src/dahdi-linux-2.2.0.1/drivers/dahdi/vpmadt032_loader/vpmadt032_x86_32.o
    make[1]: Leaving directory `/usr/src/kernels/2.6.18-92.1.22.el5-i686'
    
     
  6. ronaldlw

    Joined:
    May 7, 2009
    Messages:
    81
    Likes Received:
    0
    couple of things I know:
    1) you have to stop asterisk before restarting dahdi service, that's why you got the dahdi module in use error.

    2) I think you also should start dahdi before asterisk.

    3) you should check your /etc/dahdi/modules file to make sure that the module for your card is listed (sorry I don't know what it should be.) the update process has a tendency to just replace this file which can mess you up.

    4) good luck!
     
  7. mattrh

    Joined:
    Jul 15, 2008
    Messages:
    175
    Likes Received:
    0
    i already tried all that, 10hr's later i just moved back to an old server image and we are back up :(
     
  8. mattrh

    Joined:
    Jul 15, 2008
    Messages:
    175
    Likes Received:
    0
    the biggest issue is moving from zap to dahdi; also using wanpipe drivers dont help haha
     

Share This Page