Page 1 sur 2 12 DernièreDernière
Affichage des résultats 1 à 10 sur 19

Discussion: Dahdi Problem :: pri_find_dchan: No D-channels available!

  1. #1
    Membre Junior
    Date d'inscription
    février 2011
    Messages
    10
    Downloads
    0
    Uploads
    0

    Dahdi Problem :: pri_find_dchan: No D-channels available!

    J'ai nouvellement installé un asterisk 1.6 + carte DigiumTE220 + ligne ISDN E1 PRI 30 canaux.

    Le problème c'est que je vois tous les channels up (30) mais asterisk me génère 2 messages d'erreurs :

    [Feb 22 23:08:09] NOTICE[17691]: chan_dahdi.c:12706 pri_dchannel: PRI got event: HDLC Abort (6) on Primary D-channel of span 1
    [Feb 22 23:08:10] NOTICE[17691]: chan_dahdi.c:12706 pri_dchannel: PRI got event: HDLC Bad FCS (8) on Primary D-channel of span 1
    [Feb 22 23:08:11] NOTICE[17691]: chan_dahdi.c:12706 pri_dchannel: PRI got event: HDLC Bad FCS (8) on Primary D-channel of span 1
    [Feb 22 23:08:12] NOTICE[17691]: chan_dahdi.c:12706 pri_dchannel: PRI got event: HDLC Abort (6) on Primary D-channel of span 1
    [Feb 22 23:08:13] WARNING[17691]: chan_dahdi.c:4169 pri_find_dchan: No D-channels available! Using Primary channel 16 as D-channel anyway!
    [Feb 22 23:08:13] NOTICE[17691]: chan_dahdi.c:12706 pri_dchannel: PRI got event: HDLC Abort (6) on Primary D-channel of span 1
    [Feb 22 23:08:14] NOTICE[17691]: chan_dahdi.c:12706 pri_dchannel: PRI got event: HDLC Abort (6) on Primary D-channel of span 1
    [Feb 22 23:08:15] NOTICE[17691]: chan_dahdi.c:12706 pri_dchannel: PRI got event: HDLC Abort (6) on Primary D-channel of span 1


    Le config que ai mis dans les fichiers de conf sont simples :

    /etc/dahdi/system.conf :
    # Span 1: TE2/0/1 "T2XXP (PCI) Card 0 Span 1" (MASTER) HDB3/CCS/CRC4
    span=1,1,0,ccs,hdb3,crc4
    # termtype: te
    bchan=1-15,17-31
    dchan=16
    #echocanceller=mg2,1-15,17-31


    # Global data

    loadzone = us
    defaultzone = us
    ~

    et

    /etc/asterisk/dahdi-channels.conf


    ; Span 1: TE2/0/1 "T2XXP (PCI) Card 0 Span 1" (MASTER) HDB3/CCS/CRC4
    group=0,11
    context=from-pstn
    switchtype = euroisdn
    signalling = pri_cpe
    channel => 1-15,17-31
    context = default
    group = 63


    Dans /etc/asterisk/chan_dahdi.conf j'ai ajouté une ligne pour inclure le fichier /etc/asterisk/dahdi-channels.conf dans le contexte channels.

    #include /etc/asterisk/dahdi-channels.conf


    J'ai tout essayé afin d'éliminer ces 2 messages d'erreurs et j'ai suivi tous les suggestions dans les forums mais toujours les même problème qui persiste.

    voici le résultat de la commande pri show span 1
    ASTERISK-SRV*CLI> pri show span 1
    Primary D-channel: 16
    Status: Provisioned, Down, Active
    Switchtype: EuroISDN
    Type: CPE
    Overlap Dial: 0
    Logical Channel Mapping: 0
    Timer and counter settings:
    N200: 3
    N202: 3
    K: 7
    T200: 1000
    T202: 10000
    T203: 10000
    T303: 4000
    T305: 30000
    T308: 4000
    T309: 6000
    T313: 4000
    T-HOLD: 4000
    T-RETRIEVE: 4000
    T-RESPONSE: 4000
    Overlap Recv: No



    Help me please !!!!

    D'avance Merci

  2. #2
    Membre Junior
    Date d'inscription
    avril 2011
    Messages
    8
    Downloads
    0
    Uploads
    0

    loadzone vs switchtype

    Je ne suis pas expert asterisk, je laisserai les anciens t'aider.
    Par contre je me demande pkoi tu as dans system.conf

    loadzone = us
    defaultzone = us

    Alors que dans dahdi-channels.conf tu as
    switchtype es en euroisdn.

    Ca ne pause pas problème?

  3. #3
    Membre Association Avatar de quintana
    Date d'inscription
    août 2010
    Localisation
    Québec
    Messages
    1 084
    Downloads
    0
    Uploads
    0
    Ton channel D est down donc pas de synchro, soit tu as un souci de cable, soit de synchro d'en face.
    En passant est-ce normal que tu as le CRC4 activé. Tu dois l'avoir aussi en face.
    Pour le us tu peux en effet passer en fr mais cela ne resoudra pas ton souci.
    Ton souci est vraiment au niveau dahdi couche physique, tu dois passer ta led en vert avant de faire quoi que ce soit d'autres.
    Découvrez Wazo sous licence GPLv3 et accessible pour tous : http://www.wazo.community
    Blog Wazo : http://blog.wazo.community
    Wazo est un fork de XiVO.
    Suivez moi sur Twitter !

  4. #4
    Membre
    Date d'inscription
    mars 2011
    Localisation
    Genève Suisse
    Messages
    73
    Downloads
    0
    Uploads
    0
    Citation Envoyé par Amiine Voir le message
    J'ai nouvellement installé un asterisk 1.6 + carte DigiumTE220 + ligne ISDN E1 PRI 30 canaux.

    Le problème c'est que je vois tous les channels up (30) mais asterisk me génère 2 messages d'erreurs :

    [Feb 22 23:08:09] NOTICE[17691]: chan_dahdi.c:12706 pri_dchannel: PRI got event: HDLC Abort (6) on Primary D-channel of span 1
    [Feb 22 23:08:10] NOTICE[17691]: chan_dahdi.c:12706 pri_dchannel: PRI got event: HDLC Bad FCS (8) on Primary D-channel of span 1
    [Feb 22 23:08:11] NOTICE[17691]: chan_dahdi.c:12706 pri_dchannel: PRI got event: HDLC Bad FCS (8) on Primary D-channel of span 1
    [Feb 22 23:08:12] NOTICE[17691]: chan_dahdi.c:12706 pri_dchannel: PRI got event: HDLC Abort (6) on Primary D-channel of span 1
    [Feb 22 23:08:13] WARNING[17691]: chan_dahdi.c:4169 pri_find_dchan: No D-channels available! Using Primary channel 16 as D-channel anyway!
    [Feb 22 23:08:13] NOTICE[17691]: chan_dahdi.c:12706 pri_dchannel: PRI got event: HDLC Abort (6) on Primary D-channel of span 1
    [Feb 22 23:08:14] NOTICE[17691]: chan_dahdi.c:12706 pri_dchannel: PRI got event: HDLC Abort (6) on Primary D-channel of span 1
    [Feb 22 23:08:15] NOTICE[17691]: chan_dahdi.c:12706 pri_dchannel: PRI got event: HDLC Abort (6) on Primary D-channel of span 1


    Le config que ai mis dans les fichiers de conf sont simples :

    /etc/dahdi/system.conf :
    # Span 1: TE2/0/1 "T2XXP (PCI) Card 0 Span 1" (MASTER) HDB3/CCS/CRC4
    span=1,1,0,ccs,hdb3,crc4
    # termtype: te
    bchan=1-15,17-31
    dchan=16
    #echocanceller=mg2,1-15,17-31


    # Global data

    loadzone = us
    defaultzone = us
    ~

    et

    /etc/asterisk/dahdi-channels.conf


    ; Span 1: TE2/0/1 "T2XXP (PCI) Card 0 Span 1" (MASTER) HDB3/CCS/CRC4
    group=0,11
    context=from-pstn
    switchtype = euroisdn
    signalling = pri_cpe
    channel => 1-15,17-31
    context = default
    group = 63


    Dans /etc/asterisk/chan_dahdi.conf j'ai ajouté une ligne pour inclure le fichier /etc/asterisk/dahdi-channels.conf dans le contexte channels.

    #include /etc/asterisk/dahdi-channels.conf


    J'ai tout essayé afin d'éliminer ces 2 messages d'erreurs et j'ai suivi tous les suggestions dans les forums mais toujours les même problème qui persiste.

    voici le résultat de la commande pri show span 1
    ASTERISK-SRV*CLI> pri show span 1
    Primary D-channel: 16
    Status: Provisioned, Down, Active
    Switchtype: EuroISDN
    Type: CPE
    Overlap Dial: 0
    Logical Channel Mapping: 0
    Timer and counter settings:
    N200: 3
    N202: 3
    K: 7
    T200: 1000
    T202: 10000
    T203: 10000
    T303: 4000
    T305: 30000
    T308: 4000
    T309: 6000
    T313: 4000
    T-HOLD: 4000
    T-RETRIEVE: 4000
    T-RESPONSE: 4000
    Overlap Recv: No



    Help me please !!!!

    D'avance Merci


    Met ton global data en fr (si tu es en france) et non en us.
    ensuite essaie de supprimer dans /etc/dahdi/system.conf le CRC4 car plusieurs providers ne le fournisse pas.

    Essaie avec ça pour commencer

    Fait nous un petit dahdi show status et dahdi show channels dans ton cli

  5. #5
    Membre Association Avatar de quintana
    Date d'inscription
    août 2010
    Localisation
    Québec
    Messages
    1 084
    Downloads
    0
    Uploads
    0
    un cat /proc/dahdi/* suffira même
    Découvrez Wazo sous licence GPLv3 et accessible pour tous : http://www.wazo.community
    Blog Wazo : http://blog.wazo.community
    Wazo est un fork de XiVO.
    Suivez moi sur Twitter !

  6. #6
    Membre Association
    Date d'inscription
    septembre 2010
    Localisation
    SEINE ET MARNE
    Messages
    182
    Downloads
    0
    Uploads
    0
    Hé hé, moi je préfère un bon vieux :
    autosupport

    Le fichier généré se trouvera ici :
    /root/digiuminfo.txt

  7. #7
    Membre Junior
    Date d'inscription
    février 2011
    Messages
    10
    Downloads
    0
    Uploads
    0

    info asterisk

    http://www.4shared.com/file/iQzDFf9o/digium-info.html

    Si vous suivez ce lien, vous trouvez tous les fichiers que vous avez demandez.

    Pour info, je peux recevoir et émettre de appels depuis mon serveur asterisk mais l'erreur persiste encore.

    Merci

  8. #8
    Membre Junior
    Date d'inscription
    novembre 2010
    Messages
    4
    Downloads
    0
    Uploads
    0

    aide

    bjr je suis un débutant dans linux je monte un serveur astérisk j'ai une carte tdm 410p et ma config est la suite
    dans chan_dahdi.conf
    [trunkgroups]
    ;définitiondes groupes d'agrégation

    [incoming]
    exten =>s,1,Answer()
    exten =>s,2,Echo()


    [channels]
    ;canaux materiels
    ;default
    usecallerid=yes
    hidecallerid=no
    callwaiting=no
    threewaycalling=yes
    echocancel=yes
    echotraining=yes
    immediate=no

    dans sip.conf
    [general]
    context=default
    srvlookup=yes
    [pape]
    type= friend
    context =default
    quality=yes
    nat=yes
    host=dynamic
    username=2201
    secret=2201
    language=fr
    callerid="pape"<2201>
    mailbox=2201@default
    disallow=all
    allow=gsm
    allow=alaw
    allow=ulaw

    [lamine]
    type= friend
    context =default
    quality=yes
    nat=yes
    host=dynamic
    username=2202
    secret=2202
    language=fr
    callerid="lamine"<2202>
    mailbox=2202@default
    disallow=all
    allow=gsm
    allow=alaw
    allow=ulaw

    dans extensions.conf
    [default]

    exten => 2201,1,Dial(SIP/2201,30,tr)
    exten => 2201,2,Answer()
    exten => 2201,3,Echo()
    exten => 2201,4,voicemail(2201)

    exten => 2202,1,Dial(SIP/2202,30,tr)
    exten => 2202,2,Answer()
    exten => 2202,3,Echo()
    exten => 2202,4,voicemail(2202)


    je voulais savoir si ce que j'ai fais est correct et comment je dois configurer iax.conf et voicemail.conf merci

  9. #9
    Membre Junior
    Date d'inscription
    février 2011
    Messages
    10
    Downloads
    0
    Uploads
    0

    rep sur "aide"

    pour établir un trunk iax de A vers B =>

    ** Serveur A **
    dans iax.conf

    [serveur-B]
    type=friend
    username=login
    secret=mot-de-passe
    auth=plaintext
    host=adresse-ip
    context=fromiax
    qualify=yes
    trunk=yes
    peercontext=fromiax

    dans extensions.conf

    appels vers B

    [default]
    exten => _5XX,1,Dial(IAX2/serveur-B/${EXTEN:1})
    (les sip qui commencent par 5 passe par le trunk)
    appels depuis B

    [fromiax]
    exten => _X.,1,Dial(SIP/${EXTEN})

    ** Serveur B **

    [serveur-A]
    type=friend
    username=meme-login
    secret=meme-mot-de-passe
    auth=plaintext
    host=adresseIPde A
    context=fromiax
    peercontext=fromiax
    qualify=yes
    trunk=yes

    dans extensions.conf

    appels vers A

    [default]
    exten => _5XX,1,Dial(IAX2/serveur-A/${EXTEN},20)

    [fromiax]
    exten => _5XX,1,Dial(SIP/${EXTEN})

    et voilà... et c'est à vous de jouer sur les patterns !


    Maintenant, retournons à l'autre sujet ! merci

  10. #10
    Membre Junior
    Date d'inscription
    novembre 2010
    Messages
    4
    Downloads
    0
    Uploads
    0

    re aide

    je vous signagne que j'ai un seul serveur et pas deux

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
  •