Affichage des résultats 1 à 10 sur 19

Discussion: Problème de configuration carte Digium HB8

Vue hybride

Message précédent Message précédent   Message suivant Message suivant
  1. #1
    Membre Junior
    Date d'inscription
    janvier 2011
    Messages
    13
    Downloads
    0
    Uploads
    0
    Voici le system.conf, c'est principalement la version généré par dahdi_genconf :
    Code:
    # Autogenerated by /usr/sbin/dahdi_genconf on Wed Jan 19 17:25:38 2011
    # If you edit this file and execute /usr/sbin/dahdi_genconf again,
    # your manual changes will be LOST.
    # Dahdi Configuration File
    #
    # This file is parsed by the Dahdi Configurator, dahdi_cfg
    #
    # Span 1: WCBRI/0/0 "HB8-0000 Board 1" (MASTER) AMI/CCS RED
    span=1,1,0,ccs,ami,term,te
    # termtype: te
    bchan=1-2
    hardhdlc=3
    echocanceller=mg2,1-2
    
    # Span 2: WCBRI/0/1 "HB8-0000 Board 1" AMI/CCS RED
    span=2,2,0,ccs,ami,term,te
    # termtype: te
    bchan=4-5
    hardhdlc=6
    echocanceller=mg2,4-5
    
    # Span 3: WCBRI/0/2 "HB8-0000 Board 1" AMI/CCS RED
    span=3,3,0,ccs,ami,term,te
    # termtype: te
    bchan=7-8
    hardhdlc=9
    echocanceller=mg2,7-8
    
    # Span 4: WCBRI/0/3 "HB8-0000 Board 1" AMI/CCS RED
    span=4,4,0,ccs,ami,term,te
    # termtype: te
    bchan=10-11
    hardhdlc=12
    echocanceller=mg2,10-11
    
    # Span 5: WCTDM/0 "HB8-0000 Board 1" 
    fxsks=13
    echocanceller=mg2,13
    fxsks=14
    echocanceller=mg2,14
    fxsks=15
    echocanceller=mg2,15
    fxsks=16
    echocanceller=mg2,16
    # channel 17, WCTDM/0/4, no module.
    # channel 18, WCTDM/0/5, no module.
    # channel 19, WCTDM/0/6, no module.
    # channel 20, WCTDM/0/7, no module.
    
    # Global data
    
    loadzone	= fr
    defaultzone	= fr
    J'ai rajouté l'option options wctdm24xxp opermode=FRANCE au fichier /etc/modprobe.d/dahdi.conf, je vais voir si ça change quelque chose.
    Je vais aussi essayer de changer de BRI, voir si c'est pas le materiel qui déconne...

  2. #2
    Asterisk Fan Avatar de fastm3
    Date d'inscription
    août 2010
    Localisation
    Corbeil Essonnes (91)
    Messages
    1 302
    Downloads
    1
    Uploads
    1
    Citation Envoyé par Shan Voir le message
    J'ai rajouté l'option options wctdm24xxp opermode=FRANCE au fichier /etc/modprobe.d/dahdi.conf, je vais voir si ça change quelque chose.
    Je vais aussi essayer de changer de BRI, voir si c'est pas le materiel qui déconne...
    Sur debian, c'est /etc/modprobe.d/dahdi mais ca doit dependre aussi des distribs.
    Si c'est pris en compte, tu dois avoir des traces de ce style dans syslog
    Code:
    telisk:~# dmesg | grep -i franc
    [   19.259377] Port 1: Installed -- AUTO FXO (FRANCE mode)
    [   20.291481] Port 2: Installed -- AUTO FXO (FRANCE mode)
    [   28.300585] dahdi: Registered tone zone 2 (France)
    fastm3

  3. #3
    Membre Junior
    Date d'inscription
    janvier 2011
    Messages
    13
    Downloads
    0
    Uploads
    0
    Ha, ça à l'air d'être différent sur ma Lenny alors, car j'ai le même message que toi :

    Code:
    dmesg | grep -i france
    [   24.707192] wctdm24xxp 0000:05:08.0: Port 1: Installed -- AUTO FXO (FRANCE mode)
    [   25.238699] wctdm24xxp 0000:05:08.0: Port 2: Installed -- AUTO FXO (FRANCE mode)
    [   25.766679] wctdm24xxp 0000:05:08.0: Port 3: Installed -- AUTO FXO (FRANCE mode)
    [   27.180628] wctdm24xxp 0000:05:08.0: Port 4: Installed -- AUTO FXO (FRANCE mode)
    [   50.334323] dahdi: Registered tone zone 2 (France)

  4. #4
    Membre Association
    Date d'inscription
    août 2010
    Messages
    856
    Downloads
    0
    Uploads
    0
    Citation Envoyé par Shan Voir le message
    Voici le system.conf, c'est principalement la version généré par dahdi_genconf :
    Code:
    # Autogenerated by /usr/sbin/dahdi_genconf on Wed Jan 19 17:25:38 2011
    # If you edit this file and execute /usr/sbin/dahdi_genconf again,
    # your manual changes will be LOST.
    # Dahdi Configuration File
    #
    # This file is parsed by the Dahdi Configurator, dahdi_cfg
    #
    # Span 1: WCBRI/0/0 "HB8-0000 Board 1" (MASTER) AMI/CCS RED
    span=1,1,0,ccs,ami,term,te
    # termtype: te
    bchan=1-2
    hardhdlc=3
    echocanceller=mg2,1-2
    
    # Span 2: WCBRI/0/1 "HB8-0000 Board 1" AMI/CCS RED
    span=2,2,0,ccs,ami,term,te
    # termtype: te
    bchan=4-5
    hardhdlc=6
    echocanceller=mg2,4-5
    
    # Span 3: WCBRI/0/2 "HB8-0000 Board 1" AMI/CCS RED
    span=3,3,0,ccs,ami,term,te
    # termtype: te
    bchan=7-8
    hardhdlc=9
    echocanceller=mg2,7-8
    
    # Span 4: WCBRI/0/3 "HB8-0000 Board 1" AMI/CCS RED
    span=4,4,0,ccs,ami,term,te
    # termtype: te
    bchan=10-11
    hardhdlc=12
    echocanceller=mg2,10-11
    
    # Span 5: WCTDM/0 "HB8-0000 Board 1" 
    fxsks=13
    echocanceller=mg2,13
    fxsks=14
    echocanceller=mg2,14
    fxsks=15
    echocanceller=mg2,15
    fxsks=16
    echocanceller=mg2,16
    # channel 17, WCTDM/0/4, no module.
    # channel 18, WCTDM/0/5, no module.
    # channel 19, WCTDM/0/6, no module.
    # channel 20, WCTDM/0/7, no module.
    
    # Global data
    
    loadzone	= fr
    defaultzone	= fr
    J'ai rajouté l'option options wctdm24xxp opermode=FRANCE au fichier /etc/modprobe.d/dahdi.conf, je vais voir si ça change quelque chose.
    Je vais aussi essayer de changer de BRI, voir si c'est pas le materiel qui déconne...
    Essaye avec uniquement le module BRI, en virant tout le reste, ça sera plus simple

  5. #5
    Membre Junior
    Date d'inscription
    janvier 2011
    Messages
    13
    Downloads
    0
    Uploads
    0
    Oui, c'est ce que j'ai fait ce matin justement

    Alors, j'ai réalisé plusieurs tests en changeant différents paramètres.

    Dans certains cas j'ai ce message qui apparaît lorsque je branche ma ligne :
    Code:
    [Jan 20 11:32:57] NOTICE[5028] chan_dahdi.c: PRI got event: No more alarm (5) on D-channel of span 1
    [Jan 20 11:32:57] NOTICE[5032] chan_dahdi.c: Alarm cleared on channel 1
    [Jan 20 11:32:57] NOTICE[5032] chan_dahdi.c: Alarm cleared on channel 2
    Dans tous les cas ça ne marche pas (mais pas de flood comme hier) mais j'ai ces messages suivants les cas :

    Code:
    [Jan 20 11:07:03] NOTICE[4281] chan_dahdi.c: PRI got event: HDLC Abort (6) on D-channel of span 1
    [Jan 20 11:07:11] VERBOSE[4281] sig_pri.c:   == Primary D-Channel on span 1 up
    [Jan 20 11:07:11] VERBOSE[4281] sig_pri.c:     -- Channel 0/1, span 1 got hangup, cause 18
    [Jan 20 11:07:11] WARNING[4323] app_dial.c: Unable to forward voice or dtmf
    [Jan 20 11:07:11] DEBUG[4323] sig_pri.c: sig_pri_hangup 1
    [Jan 20 11:07:11] DEBUG[4323] sig_pri.c: Already hungup...  Calling hangup once, and clearing call
    ou
    Code:
    [Jan 20 11:33:26] DEBUG[5126] sig_pri.c: sig_pri_request 1
    [Jan 20 11:33:26] DEBUG[5126] sig_pri.c: CALLER NAME:  NUM: 0026998D3E81
    [Jan 20 11:33:26] VERBOSE[5126] sig_pri.c:     -- Requested transfer capability: 0x00 - SPEECH
    [Jan 20 11:33:26] VERBOSE[5126] app_dial.c:     -- Called g11/NUMERO
    [Jan 20 11:33:26] NOTICE[5028] chan_dahdi.c: PRI got event: HDLC Bad FCS (8) on D-channel of span 1
    [Jan 20 11:33:34] VERBOSE[5028] sig_pri.c:   == Primary D-Channel on span 1 up
    [Jan 20 11:33:34] VERBOSE[5028] sig_pri.c:     -- Channel 0/1, span 1 got hangup, cause 18
    [Jan 20 11:33:34] WARNING[5126] app_dial.c: Unable to forward voice or dtmf
    [Jan 20 11:33:34] DEBUG[5126] sig_pri.c: sig_pri_hangup 1
    [Jan 20 11:33:34] DEBUG[5126] sig_pri.c: Already hungup...  Calling hangup once, and clearing call

  6. #6
    Membre Junior
    Date d'inscription
    janvier 2011
    Messages
    13
    Downloads
    0
    Uploads
    0
    Bon, je crois qu'il y a eu une légère avancée grâce à ce post, cependant j'ai un élément qui m'intrigue :

    Mes différents fichiers de configuration :

    extensions.ael (l'exten qui me permet de sortir pour tester)
    Code:
    2000 => {
    		Set(CALLERID(num)=UnDeNosNumero);
    		Dial(DAHDI/g11/NumeroAQueJeVeuxJoindre);
    	}
    Pour chacun j'ai enlevé le "0" du début.

    system.conf
    Code:
    span=1,1,0,ccs,ami,term,te
    # termtype: te
    bchan=1-2
    hardhdlc=3
    echocanceller=mg2,1-2
    chan_dahdi.conf
    Code:
    [channels]
    
    pridialplan=unknown
    prilocaldialplan=dynamic
    priindication=outofband
    nationalprefix=33
    internationalprefix=00
    
    ; Span 1: WCBRI/0/0 "HB8-0000 Board 1" (MASTER) AMI/CCS RED
    group=0,11
    context=from-pstn
    callerid=asreceived
    switchtype = euroisdn
    signalling = bri_cpe
    channel => 1-2
    Je fait un restart de Asterisk pour être sur que tout soit pris en compte, et j'active le pri set debug 2 span 1 et j'ai cette information qui me parait bizarre :
    Code:
    [Jan 20 17:59:33] VERBOSE[8165] chan_dahdi.c: 1 > Called Number (len=12) [ Ext: 1  TON: Unknown Number Type (0)  NPI: Unknown Number Plan (0)  'NumeroQueJeVeuxJoindre' ]
    Comme si Orange n'arrivait pas à router mon appel...

    Je joint un fichier log de l'appel complet si ça vous intéresse.

    Merci encore pour vos conseils, je continue aussi de mon côté à chercher.
    Fichiers attachés Fichiers attachés

  7. #7
    Membre Association
    Date d'inscription
    août 2010
    Messages
    856
    Downloads
    0
    Uploads
    0
    Si ça peut vous aider, un chan_dahdi.conf qui fonctionne avec une b410p et des T0 d'FT:
    Code:
    [trunkgroups]
    
    [channels]
    language=fr
    
    pridialplan=unknown
    prilocaldialplan=unknown
    internationalprefix = 00
    nationalprefix = 0
    overlapdial=yes
    priindication = outofband
    usecallerid=yes
    callwaiting=yes
    usecallingpres=yes
    callwaitingcallerid=yes
    threewaycalling=yes
    transfer=yes
    canpark=yes
    cancallforward=yes
    callreturn=yes
    echocancel=1024
    echocancelwhenbridged=no
    faxdetect=both
    
    group=0
    context=T0-entrant
    switchtype = euroisdn
    signalling = bri_cpe_ptmp
    channel => 1-2
    ...
    Le /etc/dahdi/system.conf allant avec:
    Code:
    loadzone        = fr
    defaultzone     = fr
    
    #### Premiere b410p ####
    
    # Span 1: B4/0/1 "B4XXP (PCI) Card 0 Span 1" RED
    span=1,1,0,ccs,ami
    bchan=1-2
    hardhdlc=3
    echocanceller=oslec,1-2
    
    # Span 2: B4/0/2 "B4XXP (PCI) Card 0 Span 2" RED
    span=2,2,0,ccs,ami
    bchan=4-5
    hardhdlc=6
    echocanceller=oslec,4-5
    
    # Span 3: B4/0/3 "B4XXP (PCI) Card 0 Span 3" RED
    span=3,3,0,ccs,ami
    bchan=7-8
    hardhdlc=9
    echocanceller=oslec,7-8
    
    # Span 4: B4/0/4 "B4XXP (PCI) Card 0 Span 4" RED
    span=4,4,0,ccs,ami
    bchan=10-11
    hardhdlc=12
    echocanceller=oslec,10-11
    
    
    #### Deuxieme b410p ####
    
    # Span 5: B4/1/1 "B4XXP (PCI) Card 1 Span 1" (MASTER) RED
    span=5,5,0,ccs,ami
    bchan=13-14
    hardhdlc=15
    echocanceller=oslec,13-14
    
    # Span 6: B4/1/2 "B4XXP (PCI) Card 1 Span 2" RED
    span=6,6,0,ccs,ami
    bchan=16-17
    hardhdlc=18
    echocanceller=oslec,16-17
    
    # Span 7: B4/1/3 "B4XXP (PCI) Card 1 Span 3" RED
    span=7,7,0,ccs,ami
    bchan=19-20
    hardhdlc=21
    echocanceller=oslec,19-20
    
    # Span 8: B4/1/4 "B4XXP (PCI) Card 1 Span 4" RED
    span=8,8,0,ccs,ami
    bchan=22-23
    hardhdlc=24
    echocanceller=oslec,22-23
    Le dial est très simple, aucune modification du numéro composé:
    Code:
    dial(DAHDI/g0/${EXTEN})

  8. #8
    Membre Junior
    Date d'inscription
    janvier 2011
    Messages
    13
    Downloads
    0
    Uploads
    0
    J'ai enfin réussit à configurer une carte avec un module FXO et un module BRI pour que ça marche ! Par contre, il semblerait qu'avec les BIV d'Orange, il faut configurer le signaling des modules BRI en PTP (bri_cpe) pour que ça marche.

    Il ne me reste plus qu'à ajouter la deuxième carte, voir s'il y a des problèmes et à régler des petits détails (principalement l'affichage de notre numéro lorsque l'on sort).

    Pour ceux que ça intéresse, je me retrouve avec les configurations suivantes :

    system.conf :
    Code:
    span=1,1,0,ccs,ami,term,te
    # termtype: te
    bchan=1-2
    hardhdlc=3
    echocanceller=mg2,1-2
    
    # Span 2: WCBRI/0/1 "HB8-0000 Board 1" AMI/CCS RED
    span=2,2,0,ccs,ami,term,te
    # termtype: te
    bchan=4-5
    hardhdlc=6
    echocanceller=mg2,4-5
    
    # Span 3: WCBRI/0/2 "HB8-0000 Board 1" AMI/CCS RED
    span=3,3,0,ccs,ami,term,te
    # termtype: te
    bchan=7-8
    hardhdlc=9
    echocanceller=mg2,7-8
    
    # Span 4: WCBRI/0/3 "HB8-0000 Board 1" AMI/CCS RED
    span=4,4,0,ccs,ami,term,te
    # termtype: te
    bchan=10-11
    hardhdlc=12
    echocanceller=mg2,10-11
    
    # Span 5: WCTDM/0 "HB8-0000 Board 1" 
    fxsks=13
    echocanceller=mg2,13
    fxsks=14
    echocanceller=mg2,14
    fxsks=15
    echocanceller=mg2,15
    fxsks=16
    echocanceller=mg2,16
    # channel 17, WCTDM/0/4, no module.
    # channel 18, WCTDM/0/5, no module.
    # channel 19, WCTDM/0/6, no module.
    # channel 20, WCTDM/0/7, no module.
    
    # Global data
    
    loadzone	= fr
    defaultzone	= fr
    chan_dahdi.conf (avec dahdi-channels.conf) :
    Code:
    [channels]
    
    pridialplan=unknown
    prilocaldialplan=unknown
    priindication=outofband
    nationalprefix=0
    internationalprefix=00
    
    language = fr
    echocancel = yes
    
    ; Span 1: WCBRI/0/0 "HB8-0000 Board 1" (MASTER) AMI/CCS RED
    ; PORT 5
    group=0,11
    context=from-pstn
    switchtype = euroisdn
    signalling = bri_cpe
    channel => 1-2
    
    ; Span 2: WCBRI/0/1 "HB8-0000 Board 1" AMI/CCS RED
    ; PORT 6
    group=0,12
    context=from-pstn
    switchtype = euroisdn
    signalling = bri_cpe
    channel => 4-5
    
    ; Span 3: WCBRI/0/2 "HB8-0000 Board 1" AMI/CCS RED
    ; PORT 7
    group=0,13
    context=from-pstn
    switchtype = euroisdn
    signalling = bri_cpe
    channel => 7-8
    
    ; Span 4: WCBRI/0/3 "HB8-0000 Board 1" AMI/CCS RED
    ; PORT 8
    group=0,14
    context=from-pstn
    switchtype = euroisdn
    signalling = bri_cpe
    channel => 10-11
    
    ; Span 5: WCTDM/0 "HB8-0000 Board 1" 
    ;;; line="13 WCTDM/0/0 FXSKS"
    ; PORT 1
    signalling=fxs_ks
    callerid=asreceived
    group=30
    context=from-pstn
    channel => 13
    
    ;;; line="14 WCTDM/0/1 FXSKS"
    ; PORT 2
    signalling=fxs_ks
    callerid=asreceived
    group=31
    context=from-pstn
    channel => 14
    
    ;;; line="15 WCTDM/0/2 FXSKS"
    ; PORT 3
    signalling=fxs_ks
    callerid=asreceived
    group=32
    context=from-pstn
    channel => 15
    
    ;;; line="16 WCTDM/0/3 FXSKS"
    ; PORT 4
    signalling=fxs_ks
    callerid=asreceived
    group=33
    context=from-pstn
    channel => 16
    extensions.ael : (pour sortir sur un des ports du module BRI)
    Code:
    Dial(DAHDI/g11/${EXTEN})
    Les appels entrants et sortants marchent très bien.
    Merci en tout cas pour votre aide, ça m'a été utile !

  9. #9
    Asterisk Fan Avatar de fastm3
    Date d'inscription
    août 2010
    Localisation
    Corbeil Essonnes (91)
    Messages
    1 302
    Downloads
    1
    Uploads
    1
    Cool, merci pour le retour. Je savais qu'il y avait une subtilité pour les BIV mais bon ca n'etait pas encore passé sur le forum.
    Pour la presentation du num, avec des T0 classiques, soit le callerid est libre et tu presentes ce que tu veux, soit c'est bloqué ( rares mais ca se produit quand je reprends des lignes existantes souvent ) , on est alors limité aux sdas. Tu dois alors presenter 9 ou 4 derniers chiffres du sda pour une presentation du sda correspondant. Ca sera interessant de connaitre la specifité de l'offre BIV de FT sur ce point.
    Cheers !
    Fastm3.

    Edit: si tu crees un groupe englobant des ports BRIs sur les 2 cartes, n'oublie pas que le cable synchro te sera surement utile.

Règles de messages

  • Vous ne pouvez pas créer de nouvelles discussions
  • Vous ne pouvez pas envoyer des réponses
  • Vous ne pouvez pas envoyer des pièces jointes
  • Vous ne pouvez pas modifier vos messages
  •