Digium, please help-me configure

Discussion in 'Gateways' started by castortroi, Nov 11, 2010.

  1. castortroi

    Joined:
    Nov 9, 2010
    Messages:
    6
    Likes Received:
    0
    hi,

    I have elastix 2.0 with Digium TE220P,

    Web interface Hardware detection not capture Digium TE220P

    My Settings:

    elastix@root -]# lspci -v

    04:08.0 Communication controller: Digium, Inc. Unknown device 1220 (rev 02)
    Subsystem: Unknown device 0005:0000
    Flags: bus master, medium devsel, latency 64, IRQ 11
    Memory at fbfffc00 (32-bit, non-prefetchable)


    elastix@root -]#.lsmod | grep dahdi

    dahdi_dummy 38100 0
    dahdi_dynamic_ethmf 45960 0
    dahdi_dynamic_eth 40488 0
    dahdi_dynamic 45104 2 dahdi_dynamic_ethmf,dahdi_dynamic_eth
    dahdi_transcode 42372 1 wctc4xxp
    dahdi_voicebus 73024 2 wctdm24xxp,wcte12xp
    dahdi 236848 25 dahdi_dummy,rcbfx,r1t1,rxt1,wcopenpci,zaphfc,ax1600p,dahdi_dynamic,ap400,ystdm16xx,ystdm8xx,opvxa1200,xpp,dahdi_transcode,wcb4xxp,wctdm,wcfxo,wctdm24xxp,wcte11xp,wct1xxp,wcte12xp,dahdi_voicebus,wct4xxp
    crc_ccitt 35265 1 dahdi

    elastix@root dahdi]#. more system.conf

    loadzone = br
    defaultzone = br

    span=1,1,0,cas,hdb3
    cas=1-15,17-31:1101
    dchan=16


    elastix@root asterisk]#. more chan_dahdi.conf

    [trunkgroups]

    [channels]
    context=from-pstn
    signalling=fxs_ks
    rxwink=300 ; Atlas seems to use long (250ms) winks
    usecallerid=yes
    hidecallerid=no
    callwaiting=yes
    usecallingpres=yes
    callwaitingcallerid=yes
    threewaycalling=yes
    transfer=yes
    canpark=yes
    cancallforward=yes
    callreturn=yes
    echocancel=yes
    echocancelwhenbridged=yes
    faxdetect=incoming
    echotraining=800
    rxgain=0.0
    txgain=0.0
    callgroup=1
    pickupgroup=1

    signalling=mfcr2
    mfcr2_variant=br
    mfcr2_get_ani_first=no
    mfcr2_max_ani=20
    mfcr2_max_dnis=4
    mfcr2_category=national_subscriber
    mfcr2_logdir=span1
    mfcr2_logging=all

    immediate=no

    elastix@root asterisk]#. more dahdi-channels.conf

    context=embratel
    group=0
    callgroup=0
    pickupgroup=0
    channel => 1-15
    channel => 17-31

    elastix@root asterisk]#./etc/dahdi/restart

    Unloading DAHDI hardware modules: ERROR: Module dahdi is in use
    error
    Loading DAHDI hardware modules:
    wct4xxp: [ OK ]
    wcte12xp: [ OK ]
    wct1xxp: [ OK ]
    wcte11xp: [ OK ]
    wctdm24xxp: [ OK ]
    wcfxo: [ OK ]
    wctdm: [ OK ]
    wcb4xxp: [ OK ]
    wctc4xxp: [ OK ]
    xpp_usb: [ OK ]
    opvxa1200: [ OK ]
    ystdm8xx: [ OK ]
    ystdm16xx: [ OK ]
    ap400: [ OK ]
    dahdi_dynamic_eth: [ OK ]
    dahdi_dynamic_ethmf: [ OK ]
    ax1600p: [ OK ]
    zaphfc: [ OK ]
    wcopenpci: [ OK ]
    rxt1: DAHDI Tools Version - 2.2.0

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

    SPAN 1: CAS/HDB3 Build-out: 0 db (CSU)/0-133 feet (DSX-1)

    Channel map:

    Channel 01: CAS / User (Default) (Echo Canceler: none) (Slaves: 01)
    Channel 02: CAS / User (Default) (Echo Canceler: none) (Slaves: 02)
    Channel 03: CAS / User (Default) (Echo Canceler: none) (Slaves: 03)
    Channel 04: CAS / User (Default) (Echo Canceler: none) (Slaves: 04)
    Channel 05: CAS / User (Default) (Echo Canceler: none) (Slaves: 05)
    Channel 06: CAS / User (Default) (Echo Canceler: none) (Slaves: 06)
    Channel 07: CAS / User (Default) (Echo Canceler: none) (Slaves: 07)
    Channel 08: CAS / User (Default) (Echo Canceler: none) (Slaves: 08)
    Channel 09: CAS / User (Default) (Echo Canceler: none) (Slaves: 09)
    Channel 10: CAS / User (Default) (Echo Canceler: none) (Slaves: 10)
    Channel 11: CAS / User (Default) (Echo Canceler: none) (Slaves: 11)
    Channel 12: CAS / User (Default) (Echo Canceler: none) (Slaves: 12)
    Channel 13: CAS / User (Default) (Echo Canceler: none) (Slaves: 13)
    Channel 14: CAS / User (Default) (Echo Canceler: none) (Slaves: 14)
    Channel 15: CAS / User (Default) (Echo Canceler: none) (Slaves: 15)
    Channel 16: D-channel (Default) (Echo Canceler: none) (Slaves: 16)
    Channel 17: CAS / User (Default) (Echo Canceler: none) (Slaves: 17)
    Channel 18: CAS / User (Default) (Echo Canceler: none) (Slaves: 18)
    Channel 19: CAS / User (Default) (Echo Canceler: none) (Slaves: 19)
    Channel 20: CAS / User (Default) (Echo Canceler: none) (Slaves: 20)
    Channel 21: CAS / User (Default) (Echo Canceler: none) (Slaves: 21)
    Channel 22: CAS / User (Default) (Echo Canceler: none) (Slaves: 22)
    Channel 23: CAS / User (Default) (Echo Canceler: none) (Slaves: 23)
    Channel 24: CAS / User (Default) (Echo Canceler: none) (Slaves: 24)
    Channel 25: CAS / User (Default) (Echo Canceler: none) (Slaves: 25)
    Channel 26: CAS / User (Default) (Echo Canceler: none) (Slaves: 26)
    Channel 27: CAS / User (Default) (Echo Canceler: none) (Slaves: 27)
    Channel 28: CAS / User (Default) (Echo Canceler: none) (Slaves: 28)
    Channel 29: CAS / User (Default) (Echo Canceler: none) (Slaves: 29)
    Channel 30: CAS / User (Default) (Echo Canceler: none) (Slaves: 30)
    Channel 31: CAS / User (Default) (Echo Canceler: none) (Slaves: 31)

    31 channels to configure.

    DAHDI_SPANCONFIG failed on span 1: No such device or address (6)
    [ OK ]
    r1t1: DAHDI Tools Version - 2.2.0

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

    SPAN 1: CAS/HDB3 Build-out: 0 db (CSU)/0-133 feet (DSX-1)

    Channel map:

    Channel 01: CAS / User (Default) (Echo Canceler: none) (Slaves: 01)
    Channel 02: CAS / User (Default) (Echo Canceler: none) (Slaves: 02)
    Channel 03: CAS / User (Default) (Echo Canceler: none) (Slaves: 03)
    Channel 04: CAS / User (Default) (Echo Canceler: none) (Slaves: 04)
    Channel 05: CAS / User (Default) (Echo Canceler: none) (Slaves: 05)
    Channel 06: CAS / User (Default) (Echo Canceler: none) (Slaves: 06)
    Channel 07: CAS / User (Default) (Echo Canceler: none) (Slaves: 07)
    Channel 08: CAS / User (Default) (Echo Canceler: none) (Slaves: 08)
    Channel 09: CAS / User (Default) (Echo Canceler: none) (Slaves: 09)
    Channel 10: CAS / User (Default) (Echo Canceler: none) (Slaves: 10)
    Channel 11: CAS / User (Default) (Echo Canceler: none) (Slaves: 11)
    Channel 12: CAS / User (Default) (Echo Canceler: none) (Slaves: 12)
    Channel 13: CAS / User (Default) (Echo Canceler: none) (Slaves: 13)
    Channel 14: CAS / User (Default) (Echo Canceler: none) (Slaves: 14)
    Channel 15: CAS / User (Default) (Echo Canceler: none) (Slaves: 15)
    Channel 16: D-channel (Default) (Echo Canceler: none) (Slaves: 16)
    Channel 17: CAS / User (Default) (Echo Canceler: none) (Slaves: 17)
    Channel 18: CAS / User (Default) (Echo Canceler: none) (Slaves: 18)
    Channel 19: CAS / User (Default) (Echo Canceler: none) (Slaves: 19)
    Channel 20: CAS / User (Default) (Echo Canceler: none) (Slaves: 20)
    Channel 21: CAS / User (Default) (Echo Canceler: none) (Slaves: 21)
    Channel 22: CAS / User (Default) (Echo Canceler: none) (Slaves: 22)
    Channel 23: CAS / User (Default) (Echo Canceler: none) (Slaves: 23)
    Channel 24: CAS / User (Default) (Echo Canceler: none) (Slaves: 24)
    Channel 25: CAS / User (Default) (Echo Canceler: none) (Slaves: 25)
    Channel 26: CAS / User (Default) (Echo Canceler: none) (Slaves: 26)
    Channel 27: CAS / User (Default) (Echo Canceler: none) (Slaves: 27)
    Channel 28: CAS / User (Default) (Echo Canceler: none) (Slaves: 28)
    Channel 29: CAS / User (Default) (Echo Canceler: none) (Slaves: 29)
    Channel 30: CAS / User (Default) (Echo Canceler: none) (Slaves: 30)
    Channel 31: CAS / User (Default) (Echo Canceler: none) (Slaves: 31)

    31 channels to configure.

    DAHDI_SPANCONFIG failed on span 1: No such device or address (6)
    [ OK ]
    rcbfx: DAHDI Tools Version - 2.2.0

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

    SPAN 1: CAS/HDB3 Build-out: 0 db (CSU)/0-133 feet (DSX-1)

    Channel map:

    Channel 01: CAS / User (Default) (Echo Canceler: none) (Slaves: 01)
    Channel 02: CAS / User (Default) (Echo Canceler: none) (Slaves: 02)
    Channel 03: CAS / User (Default) (Echo Canceler: none) (Slaves: 03)
    Channel 04: CAS / User (Default) (Echo Canceler: none) (Slaves: 04)
    Channel 05: CAS / User (Default) (Echo Canceler: none) (Slaves: 05)
    Channel 06: CAS / User (Default) (Echo Canceler: none) (Slaves: 06)
    Channel 07: CAS / User (Default) (Echo Canceler: none) (Slaves: 07)
    Channel 08: CAS / User (Default) (Echo Canceler: none) (Slaves: 08)
    Channel 09: CAS / User (Default) (Echo Canceler: none) (Slaves: 09)
    Channel 10: CAS / User (Default) (Echo Canceler: none) (Slaves: 10)
    Channel 11: CAS / User (Default) (Echo Canceler: none) (Slaves: 11)
    Channel 12: CAS / User (Default) (Echo Canceler: none) (Slaves: 12)
    Channel 13: CAS / User (Default) (Echo Canceler: none) (Slaves: 13)
    Channel 14: CAS / User (Default) (Echo Canceler: none) (Slaves: 14)
    Channel 15: CAS / User (Default) (Echo Canceler: none) (Slaves: 15)
    Channel 16: D-channel (Default) (Echo Canceler: none) (Slaves: 16)
    Channel 17: CAS / User (Default) (Echo Canceler: none) (Slaves: 17)
    Channel 18: CAS / User (Default) (Echo Canceler: none) (Slaves: 18)
    Channel 19: CAS / User (Default) (Echo Canceler: none) (Slaves: 19)
    Channel 20: CAS / User (Default) (Echo Canceler: none) (Slaves: 20)
    Channel 21: CAS / User (Default) (Echo Canceler: none) (Slaves: 21)
    Channel 22: CAS / User (Default) (Echo Canceler: none) (Slaves: 22)
    Channel 23: CAS / User (Default) (Echo Canceler: none) (Slaves: 23)
    Channel 24: CAS / User (Default) (Echo Canceler: none) (Slaves: 24)
    Channel 25: CAS / User (Default) (Echo Canceler: none) (Slaves: 25)
    Channel 26: CAS / User (Default) (Echo Canceler: none) (Slaves: 26)
    Channel 27: CAS / User (Default) (Echo Canceler: none) (Slaves: 27)
    Channel 28: CAS / User (Default) (Echo Canceler: none) (Slaves: 28)
    Channel 29: CAS / User (Default) (Echo Canceler: none) (Slaves: 29)
    Channel 30: CAS / User (Default) (Echo Canceler: none) (Slaves: 30)
    Channel 31: CAS / User (Default) (Echo Canceler: none) (Slaves: 31)

    31 channels to configure.

    DAHDI_SPANCONFIG failed on span 1: No such device or address (6)
    [ OK ]

    No hardware timing source found in /proc/dahdi, loading dahdi_dummy
    Running dahdi_cfg: DAHDI_SPANCONFIG failed on span 1: Invalid argument (22)
    [FALHOU]

    [root@elastix ~]# dahdi_cfg -vvv
    DAHDI Tools Version - 2.2.0

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

    SPAN 1: CAS/HDB3 Build-out: 0 db (CSU)/0-133 feet (DSX-1)

    Channel map:

    Channel 01: CAS / User (Default) (Echo Canceler: none) (Slaves: 01)
    Channel 02: CAS / User (Default) (Echo Canceler: none) (Slaves: 02)
    Channel 03: CAS / User (Default) (Echo Canceler: none) (Slaves: 03)
    Channel 04: CAS / User (Default) (Echo Canceler: none) (Slaves: 04)
    Channel 05: CAS / User (Default) (Echo Canceler: none) (Slaves: 05)
    Channel 06: CAS / User (Default) (Echo Canceler: none) (Slaves: 06)
    Channel 07: CAS / User (Default) (Echo Canceler: none) (Slaves: 07)
    Channel 08: CAS / User (Default) (Echo Canceler: none) (Slaves: 08)
    Channel 09: CAS / User (Default) (Echo Canceler: none) (Slaves: 09)
    Channel 10: CAS / User (Default) (Echo Canceler: none) (Slaves: 10)
    Channel 11: CAS / User (Default) (Echo Canceler: none) (Slaves: 11)
    Channel 12: CAS / User (Default) (Echo Canceler: none) (Slaves: 12)
    Channel 13: CAS / User (Default) (Echo Canceler: none) (Slaves: 13)
    Channel 14: CAS / User (Default) (Echo Canceler: none) (Slaves: 14)
    Channel 15: CAS / User (Default) (Echo Canceler: none) (Slaves: 15)
    Channel 16: D-channel (Default) (Echo Canceler: none) (Slaves: 16)
    Channel 17: CAS / User (Default) (Echo Canceler: none) (Slaves: 17)
    Channel 18: CAS / User (Default) (Echo Canceler: none) (Slaves: 18)
    Channel 19: CAS / User (Default) (Echo Canceler: none) (Slaves: 19)
    Channel 20: CAS / User (Default) (Echo Canceler: none) (Slaves: 20)
    Channel 21: CAS / User (Default) (Echo Canceler: none) (Slaves: 21)
    Channel 22: CAS / User (Default) (Echo Canceler: none) (Slaves: 22)
    Channel 23: CAS / User (Default) (Echo Canceler: none) (Slaves: 23)
    Channel 24: CAS / User (Default) (Echo Canceler: none) (Slaves: 24)
    Channel 25: CAS / User (Default) (Echo Canceler: none) (Slaves: 25)
    Channel 26: CAS / User (Default) (Echo Canceler: none) (Slaves: 26)
    Channel 27: CAS / User (Default) (Echo Canceler: none) (Slaves: 27)
    Channel 28: CAS / User (Default) (Echo Canceler: none) (Slaves: 28)
    Channel 29: CAS / User (Default) (Echo Canceler: none) (Slaves: 29)
    Channel 30: CAS / User (Default) (Echo Canceler: none) (Slaves: 30)
    Channel 31: CAS / User (Default) (Echo Canceler: none) (Slaves: 31)

    31 channels to configure.

    DAHDI_SPANCONFIG failed on span 1: Invalid argument (22)
     
  2. arashino

    Joined:
    Jun 14, 2010
    Messages:
    118
    Likes Received:
    0
    first update your bios

    in console follow :

    dahdi_genconf

    dahdi_cfg -v

    /etc/init.d/dahdi restart
    /etc/init.d/asterisk restart
     
  3. james.zhu

    Joined:
    Feb 13, 2008
    Messages:
    99
    Likes Received:
    0
    hello:
    i think the conf file is wrong:
    cas=1-15,17-31:1101
    ===================== are you sure you are using CAS?
    ? or reboot the system to try.
     
  4. castortroi

    Joined:
    Nov 9, 2010
    Messages:
    6
    Likes Received:
    0
    Hello,

    Not because of the bios, I think it is because of the OS CentOS 5.4 kernel elastix 2.18, does not recognize this card, I managed to install the card with the AsteriskNow CentOS 5.5 kernel 2.18, recognized without problems
     

Share This Page