Affichage des résultats 1 à 5 sur 5

Discussion: [Résolu] Perte de l'analogique quand ajout module numeris sur carte hybride

Vue hybride

Message précédent Message précédent   Message suivant Message suivant
  1. #1
    Membre
    Date d'inscription
    novembre 2010
    Messages
    34
    Downloads
    1
    Uploads
    0
    Voici les fichiers avant l'ajout du module B400M :

    /etc/asterisk/dahdi-channels.conf :

    Code:
    ; Autogenerated by /usr/sbin/dahdi_genconf on Mon Jul 26 12:30:22 2010
    ; If you edit this file and execute /usr/sbin/dahdi_genconf again,
    ; your manual changes will be LOST.
    ; Dahdi Channels Configurations (chan_dahdi.conf)
    ;
    ; This is not intended to be a complete chan_dahdi.conf. Rather, it is intended
    ; to be #include-d by /etc/chan_dahdi.conf that will include the global settings
    ;
    
    ; Span 1: WCTDM/0 "HA8-0000 Board 1" (MASTER)
    language=fr
    ;;; line="5 WCTDM/0/4 FXSKS  (In use) (SWEC: MG2)"
    signalling=fxs_ks
    callerid=asreceived
    group=0
    context=from-pstn
    channel => 5
    callerid=
    group=
    context=default
    
    ;;; line="6 WCTDM/0/5 FXSKS  (In use) (SWEC: MG2)"
    signalling=fxs_ks
    callerid=asreceived
    group=0
    context=from-pstn
    channel => 6
    callerid=
    group=
    context=default
    /etc/dahdi/system.conf :

    Code:
    # Autogenerated by /usr/sbin/dahdi_genconf on Mon Jul 26 12:30:22 2010
    # 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: WCTDM/0 "HA8-0000 Board 1" (MASTER)
    # channel 1, WCTDM/0/0, no module.
    # channel 2, WCTDM/0/1, no module.
    # channel 3, WCTDM/0/2, no module.
    # channel 4, WCTDM/0/3, no module.
    fxsks=5
    echocanceller=mg2,5
    fxsks=6
    echocanceller=mg2,6
    # channel 7, WCTDM/0/6, no module.
    # channel 8, WCTDM/0/7, no module.
    
    # Global data
    
    loadzone        = fr
    defaultzone     = fr
    Et quand je fais un dahdi_genconf voici les nouveaux fichiers :

    /etc/asterisk/dahdi-channels.conf :

    Code:
    ; Autogenerated by /usr/sbin/dahdi_genconf on Wed Oct 31 08:19:21 2012
    ; If you edit this file and execute /usr/sbin/dahdi_genconf again,
    ; your manual changes will be LOST.
    ; Dahdi Channels Configurations (chan_dahdi.conf)
    ;
    ; This is not intended to be a complete chan_dahdi.conf. Rather, it is intended
    ; to be #include-d by /etc/chan_dahdi.conf that will include the global settings
    ;
    
    ; Span 1: WCBRI/0/0 "HA8-0000 Board 1" (MASTER)
    group=0,11
    context=from-pstn
    switchtype = euroisdn
    signalling = bri_cpe_ptmp
    channel => 1-2
    context = default
    group = 63
    
    ; Span 2: WCBRI/0/1 "HA8-0000 Board 1"
    group=0,12
    context=from-pstn
    switchtype = euroisdn
    signalling = bri_cpe_ptmp
    channel => 4-5
    context = default
    group = 63
    
    ; Span 3: WCBRI/0/2 "HA8-0000 Board 1"
    group=0,13
    context=from-pstn
    switchtype = euroisdn
    signalling = bri_cpe_ptmp
    channel => 7-8
    context = default
    group = 63
    
    ; Span 4: WCBRI/0/3 "HA8-0000 Board 1"
    group=0,14
    context=from-pstn
    switchtype = euroisdn
    signalling = bri_cpe_ptmp
    channel => 10-11
    context = default
    group = 63
    
    ; Span 5: WCTDM/0 "HA8-0000 Board 1"
    ;;; line="17 WCTDM/0/4 FXSKS"
    signalling=fxs_ks
    callerid=asreceived
    group=0
    context=from-pstn
    channel => 17
    callerid=
    group=
    context=default
    
    ;;; line="18 WCTDM/0/5 FXSKS"
    signalling=fxs_ks
    callerid=asreceived
    group=0
    context=from-pstn
    channel => 18
    callerid=
    group=
    context=default
    /etc/dahdi/system.conf :

    Code:
    # Autogenerated by /usr/sbin/dahdi_genconf on Wed Oct 31 08:19:21 2012
    # 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 "HA8-0000 Board 1" (MASTER)
    span=1,1,0,ccs,ami,term,te
    # termtype: te
    bchan=1-2
    hardhdlc=3
    echocanceller=mg2,1-2
    
    # Span 2: WCBRI/0/1 "HA8-0000 Board 1"
    span=2,2,0,ccs,ami,term,te
    # termtype: te
    bchan=4-5
    hardhdlc=6
    echocanceller=mg2,4-5
    
    # Span 3: WCBRI/0/2 "HA8-0000 Board 1"
    span=3,3,0,ccs,ami,term,te
    # termtype: te
    bchan=7-8
    hardhdlc=9
    echocanceller=mg2,7-8
    
    # Span 4: WCBRI/0/3 "HA8-0000 Board 1"
    span=4,4,0,ccs,ami,term,te
    # termtype: te
    bchan=10-11
    hardhdlc=12
    echocanceller=mg2,10-11
    
    # Span 5: WCTDM/0 "HA8-0000 Board 1"
    # channel 13, WCTDM/0/0, no module.
    # channel 14, WCTDM/0/1, no module.
    # channel 15, WCTDM/0/2, no module.
    # channel 16, WCTDM/0/3, no module.
    fxsks=17
    echocanceller=mg2,17
    fxsks=18
    echocanceller=mg2,18
    # channel 19, WCTDM/0/6, no module.
    # channel 20, WCTDM/0/7, no module.
    
    # Global data
    
    loadzone        = fr
    defaultzone     = fr
    Et rien d'autre n'a changé, mes prises sont toujours branchées sur les ports 5 et 6 de la carte.
    Merci pour votre aide.

  2. #2
    Membre
    Date d'inscription
    novembre 2010
    Messages
    34
    Downloads
    1
    Uploads
    0
    Bon, après avoir refait des tests, il me semblait pourtant l'avoir fait, j'ai remplacé dans ma configurations des trunks 5 par 17 et 6 par 18 et ça semble marcher, je ne suis pas contre par sur le même serveur donc je vais refaire les mêmes essais sur le premier serveur.

    Edit : bon je viens d'essayer à nouveau sur le serveur et j'ai modifié mes trunks 5 et 6 par 17 et 18, il me semblait l'avoir fait mais cette fois ça marche... enfin si vous avez des remarques quant aux fichiers je suis preneur.
    Dernière modification par jeanmich ; 31/10/2012 à 10h20. Motif: Ajout informations

  3. #3
    Asterisk Fan Avatar de fastm3
    Date d'inscription
    août 2010
    Localisation
    Corbeil Essonnes (91)
    Messages
    1 302
    Downloads
    1
    Uploads
    1
    Bah oui, souvent en presentant le pb, on trouve tout seul le pb.
    Les channels ont changé en ajoutant ta carte et tu avais donc effectivement besoin de changer la config des trunks.
    N'oublie pas la possibilité d'utiliser les groupes pour la def des trunks. Surtout pour bri ou on utilise rarement le numero de channel directement.
    Fastm3.

Les tags pour cette discussion

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
  •