Page 1 sur 3 123 DernièreDernière
Affichage des résultats 1 à 10 sur 28

Discussion: Installation ELASTIX + ALCATEL

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

    Installation ELASTIX + ALCATEL

    Bonjour à tous et tout excité du projet que j'entame. Voici la configuration que je met en place :
    PABX Alcatel 4400 <-------> ELASTIX avec carte TE 405P

    En gros je voudrais interconnecter mon pabx avec mon ipbx.

    Il y a OXO 4400 avec une carte T2 Opérateur (position 4), une carte T2 Opérateur (position 9) et le serveur Elastix est branché sur une T2 (position 8).

    Sur l'OXO 4400, 3 faisceaux sont configurés :
    - Completel (faisceau 0), 30 canaux
    - Futur Telecom (faisceau 4), 15 canaux
    - Elastix (faisceau 6), 30 canaux

    J'ai configuré sur l'OXO un préfixe, et quand je fais maintenant le "7" ou "#6" sur mon téléphone Alcatel, je suis sensé passer par le faisceau 6, qui représente ELASTIX.

    Sur l'ELASTIX, j'ai créé le trunk dahdi.

    Sur l'ELASTIX, j'ai créé aussi une extension SIP pour pouvoir me logguer sur un client SIP sur mon réseau.

    Les fichiers de conf :

    /etc/dahdi/system.conf :
    # Autogenerated by /usr/sbin/dahdi_genconf on Mon Nov 4 13:17:43 2013
    # 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: TE4/0/1 "T4XXP (PCI) Card 0 Span 1" (MASTER)
    # mode de transmission des infos de signalisation (ccs : un canal dedie)
    # codage utilise pour vehiculer les signaux sur la ligne
    # algorithme de detection d'erreur
    #span=1,1,0,ccs,hdb3,crc4
    # termtype: te
    #bchan=1-15,17-31
    #dchan=16
    #echocanceller=oslec,1-15,17-31

    span = 1,1,0,ccs,hdb3
    bchan = 1-15,17-31
    dchan = 16


    # Global data

    loadzone = fr
    defaultzone = fr



    /etc/asterisk/dahdi-channels.conf :
    ; Autogenerated by /usr/sbin/dahdi_genconf on Wed Nov 6 13:20:51 2013
    ; 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: TE4/0/1 "T4XXP (PCI) Card 0 Span 1" (MASTER)
    ;group=0,11
    ;context=from-pstn
    ;switchtype = euroisdn
    ;signalling = pri_cpe
    ;channel => 1-15,17-31
    ;context = default
    ;group = 63

    ; definition du groupe de canaux
    group = 1
    ; les appels entrants sur la ligne T2 sont dirigés vers le contexte du plan de $
    context = from-pstn
    ;switchtype = national
    ; type de lignes PRI (ISDN)
    switchtype = euroisdn
    ; parametre du dialplan utile pour l'operateur
    pridialplan = unknown
    ;prilocaldialplan = unknown
    ; activation du suppresseur d'écho
    echocancel = yes
    ;activation de l'apprentissage de l'echo par le suppresseur d'echo
    ;echotraining = yes
    ; signalisation de l'interface
    signalling = pri_net
    ; definition des canaux
    channel => 1-15,17-31
    ;pridialplan = local
    callprogress = yes
    language = fr



    /etc/asterisk/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=no
    faxdetect=incoming
    echotraining=800
    rxgain=0.0
    txgain=0.0
    callgroup=1
    pickupgroup=1

    ;Uncomment these lines if you have problems with the disconection of your analo$
    ;busydetect=yes
    ;busycount=3


    immediate=no

    #include dahdi-channels.conf
    #include chan_dahdi_additional.conf


    Lancement de DAHDI sur ELASTIX :
    [root@elastix ~]# /etc/init.d/dahdi start
    Loading DAHDI hardware modules:
    wct4xxp: [ OK ]

    Running dahdi_cfg: [ OK ]

    --> Comme on le constate, les modules DAHDI sont bien chargés


    Vérification du chargement des modules DAHDI :
    [root@elastix ~]# lsmod | grep dahdi
    dahdi 214204 70 wct4xxp,oct612x
    crc_ccitt 6337 1 dahdi

    --> Le module dahdi_voicebus contient la bibliothèque voicebus


    Détection de la carte matérielle avec dahdi_scan :
    [root@elastix ~]# /usr/sbin/dahdi_scan
    [1]
    active=yes
    alarms=OK
    description=T4XXP (PCI) Card 0 Span 1
    name=TE4/0/1
    manufacturer=Digium
    devicetype=Wildcard TE405P (2nd Gen)
    location=Board ID Switch 0
    basechan=1
    totchans=31
    irq=0
    type=digital-E1
    syncsrc=1
    lbo=0 db (CSU)/0-133 feet (DSX-1)
    coding_opts=AMI,HDB3
    framing_opts=CCS,CRC4
    coding=HDB3
    framing=CCS
    [2]
    active=yes
    alarms=RED/LFA
    description=T4XXP (PCI) Card 0 Span 2
    name=TE4/0/2
    manufacturer=Digium
    devicetype=Wildcard TE405P (2nd Gen)
    location=Board ID Switch 0
    basechan=32
    totchans=31
    irq=0
    type=digital-E1
    syncsrc=1
    lbo=0 db (CSU)/0-133 feet (DSX-1)
    coding_opts=AMI,HDB3
    framing_opts=CCS,CRC4
    coding=
    framing=CAS
    [3]
    active=yes
    alarms=RED/LFA
    description=T4XXP (PCI) Card 0 Span 3
    name=TE4/0/3
    manufacturer=Digium
    devicetype=Wildcard TE405P (2nd Gen)
    location=Board ID Switch 0
    basechan=63
    totchans=31
    irq=0
    type=digital-E1
    syncsrc=1
    lbo=0 db (CSU)/0-133 feet (DSX-1)
    coding_opts=AMI,HDB3
    framing_opts=CCS,CRC4
    coding=
    framing=CAS
    [4]
    active=yes
    alarms=RED/LFA
    description=T4XXP (PCI) Card 0 Span 4
    name=TE4/0/4
    manufacturer=Digium
    devicetype=Wildcard TE405P (2nd Gen)
    location=Board ID Switch 0
    basechan=94
    totchans=31
    irq=0
    type=digital-E1
    syncsrc=1
    lbo=0 db (CSU)/0-133 feet (DSX-1)
    coding_opts=AMI,HDB3
    framing_opts=CCS,CRC4
    coding=
    framing=CAS

    Mon OXO 4400 est branché sur le port 1 de la carte TE405 (le voyant est vert).

    Quand je compose le #6 sur un téléphone du réseau OXO cela appelle bien une extension de mon ELASTIX.

    Jusque la, pas de problème.


    C'est ensuite que les choses se compliquent. En effet j'ai configuré une SDA (branchée sur une carte T2 de mon OXO 4400) qui est routée vers mon ELASTIX.

    1- Mon OXO 4400 affiche et envoi bien le numéro qui est le suivant : 05 24 XX XX XX (SDA 9509)

    2- Mon asterisk reconnait bien le numéro :
    Connected to Asterisk 11.7.0 currently running on elastix3 (pid = 3210)
    -- Accepting call from '524xxxxxx' to 's' on channel 0/31, span 1
    -- Executing [s@from-pstn:1] NoOp("DAHDI/i1/524xxxxxx-1c", "No DID or CID Match") in new stack
    -- Executing [s@from-pstn:2] Answer("DAHDI/i1/524xxxxxx-1c", "") in new stack
    -- Executing [s@from-pstn:3] Wait("DAHDI/i1/524xxxxxx-1c", "2") in new stack
    -- Executing [s@from-pstn:4] Playback("DAHDI/i1/524xxxxxx-1c", "ss-noservice") in new stack
    -- <DAHDI/i1/524xxxxxx-1c> Playing 'ss-noservice.gsm' (language 'en')
    -- Executing [s@from-pstn:5] SayAlpha("DAHDI/i1/524xxxxxx-1c", "") in new stack
    -- Executing [s@from-pstn:6] Hangup("DAHDI/i1/524xxxxxx-1c", "") in new stack
    == Spawn extension (from-pstn, s, 6) exited non-zero on 'DAHDI/i1/524xxxxxx-1c'
    -- Executing [h@from-pstn:1] Macro("DAHDI/i1/524xxxxxx-1c", "hangupcall,") in new stack
    -- Executing [s@macro-hangupcall:1] GotoIf("DAHDI/i1/524xxxxxx-1c", "1?endmixmoncheck") in new stack
    -- Goto (macro-hangupcall,s,9)
    -- Executing [s@macro-hangupcall:9] NoOp("DAHDI/i1/524xxxxxx-1c", "End of MIXMON check") in new stack
    -- Executing [s@macro-hangupcall:10] GotoIf("DAHDI/i1/524xxxxxx-1c", "1?nomeetmemon") in new stack
    -- Goto (macro-hangupcall,s,28)
    -- Executing [s@macro-hangupcall:28] NoOp("DAHDI/i1/524xxxxxx-1c", "End of MEETME check") in new stack
    -- Executing [s@macro-hangupcall:29] GotoIf("DAHDI/i1/524xxxxxx-1c", "1?noautomon") in new stack
    -- Goto (macro-hangupcall,s,34)
    -- Executing [s@macro-hangupcall:34] NoOp("DAHDI/i1/524xxxxxx-1c", "TOUCH_MONITOR_OUTPUT=") in new stack
    -- Executing [s@macro-hangupcall:35] GotoIf("DAHDI/i1/524xxxxxx-1c", "1?noautomon2") in new stack
    -- Goto (macro-hangupcall,s,41)
    -- Executing [s@macro-hangupcall:41] NoOp("DAHDI/i1/524xxxxxx-1c", "MONITOR_FILENAME=") in new stack
    -- Executing [s@macro-hangupcall:42] GotoIf("DAHDI/i1/524xxxxxx-1c", "1?skiprg") in new stack
    -- Goto (macro-hangupcall,s,45)
    -- Executing [s@macro-hangupcall:45] GotoIf("DAHDI/i1/524xxxxxx-1c", "1?skipblkvm") in new stack
    -- Goto (macro-hangupcall,s,48)
    -- Executing [s@macro-hangupcall:48] GotoIf("DAHDI/i1/524xxxxxx-1c", "1?theend") in new stack
    -- Goto (macro-hangupcall,s,50)
    -- Executing [s@macro-hangupcall:50] AGI("DAHDI/i1/524xxxxxx-1c", "hangup.agi") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/hangup.agi
    -- <DAHDI/i1/524xxxxxx-1c>AGI Script hangup.agi completed, returning 0
    -- Executing [s@macro-hangupcall:51] Hangup("DAHDI/i1/524xxxxxx-1c", "") in new stack
    == Spawn extension (macro-hangupcall, s, 51) exited non-zero on 'DAHDI/i1/524xxxxxx-1c' in macro 'hangupcall'
    == Spawn extension (from-pstn, h, 1) exited non-zero on 'DAHDI/i1/524xxxxxx-1c'
    -- Hungup 'DAHDI/i1/524xxxxxx-1c'


    3- J'ai bien rentré la SDA/DID dans mon interface elastix

    4- Quand j'appel ma SDA depuis l'extrérieur : 05 24 XX XX XX ca me fait le message vocal comme quoi ca ne fonctionne pas.

    Il semble que j'oublie quelque chose dans le trunk DAHDI...

    Quelqu'un une idée car je sens que je suis tout pret de but ?

    Merci de votre aide et en meme temps j'ai pris le temps de mettre les détails pour ceux que ça aiderais.

  2. #2
    Membre Senior
    Date d'inscription
    septembre 2010
    Localisation
    Where the sun shines
    Messages
    1 418
    Downloads
    0
    Uploads
    0
    t'as fait le plus dur.... la config dahdi & oxo !!!

    le pbm vient de là
    Code:
    - Executing [s@from-pstn:1] NoOp("DAHDI/i1/524xxxxxx-1c", "No DID or CID Match") in new stack
    mais je suis pas un expert en FPBX/elastix.... je pense qu'il te faut configurer une route entrante, sans spécifier de callerid ou de did... sinon, pour le test, rentrer dans did le numéro de l'extension appelée coté elastix (524xxxxxx) et essayer - ensuite google pour voire comment faire une incoming route catch all

  3. #3
    Membre Junior
    Date d'inscription
    février 2014
    Messages
    17
    Downloads
    0
    Uploads
    0
    Alors effectivement tu as raison, en créant un DID : "all DID" qui est une route pour tous les numéros inconnus ou non reconnu par le système, j'aririve bien à faire sonner mon poste IP.

    Par contre,ça ne m'arrange pas dans le sens ou j'ai 30 canaux possible su ma carte et je voudrais personnaliser les routes pour chacun des canaux.

    Comment résoudre ce problème car dans le DID j'ai bien rentré le 524xxxxxx sans le 0.

    En fait, c'est comme ci le numéro n'était pas vu ou reconnu...

    Dans le trunk DID, peut-on entrer des numéros de DID ?

  4. #4
    Membre Senior
    Date d'inscription
    septembre 2010
    Localisation
    Where the sun shines
    Messages
    1 418
    Downloads
    0
    Uploads
    0
    connecte toi sur la console et fait un
    sip set debug ip 1.2.3.4

    avec 1.2.3.4 = ip de l'alcatel.... ensuite, passe un appel, et fais un copier coller de l'invite sur le forum - tu verras les détails

  5. #5
    Membre Junior
    Date d'inscription
    février 2014
    Messages
    17
    Downloads
    0
    Uploads
    0
    Il semble que la commande debug ne fonctionne pas car j'ai le message suivant :
    "-bash: sip: command not found"

    De plus pour dialoguer avec mon OXE alcatel, je n'utilise pas l'ip. J'utilise la carte T2.

  6. #6
    Membre Senior
    Date d'inscription
    septembre 2010
    Localisation
    Where the sun shines
    Messages
    1 418
    Downloads
    0
    Uploads
    0
    arrgh.... petite faiblesse....

    il faut se connecter à la console: asterisk -r
    puis lancer un core set verbose 3

    puis lancer un appel et copier le résultat

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

    Unhappy

    petite faiblesse, mais comment activer la commande debug ?

    En attendant, voici les commandes demandés chef :

    elastix3*CLI> core set verbose 3
    Set remote console verbosity to 3
    elastix3*CLI> pri debug span 1
    No such command 'pri debug span 1' (type 'core show help pri debug' for other possible commands)
    -- Accepting call from '524xxxxxx' to 's' on channel 0/31, span 1
    -- Executing [s@from-pstn:1] NoOp("DAHDI/i1/524xxxxxx-1", "No DID or CID Match") in new stack
    -- Executing [s@from-pstn:2] Answer("DAHDI/i1/524xxxxxx-1", "") in new stack
    -- Executing [s@from-pstn:3] Wait("DAHDI/i1/524xxxxxx-1", "2") in new stack
    -- Executing [s@from-pstn:4] Playback("DAHDI/i1/524xxxxxx-1", "ss-noservice") in new stack
    -- <DAHDI/i1/524xxxxxx-1> Playing 'ss-noservice.gsm' (language 'en')
    -- Executing [s@from-pstn:5] SayAlpha("DAHDI/i1/524xxxxxx-1", "") in new stack
    -- Executing [s@from-pstn:6] Hangup("DAHDI/i1/524xxxxxx-1", "") in new stack
    == Spawn extension (from-pstn, s, 6) exited non-zero on 'DAHDI/i1/524xxxxxx-1'
    -- Executing [h@from-pstn:1] Macro("DAHDI/i1/524xxxxxx-1", "hangupcall,") in new stack
    -- Executing [s@macro-hangupcall:1] GotoIf("DAHDI/i1/524xxxxxx-1", "1?endmixmoncheck") in new stack
    -- Goto (macro-hangupcall,s,9)
    -- Executing [s@macro-hangupcall:9] NoOp("DAHDI/i1/524xxxxxx-1", "End of MIXMON check") in new stack
    -- Executing [s@macro-hangupcall:10] GotoIf("DAHDI/i1/524xxxxxx-1", "1?nomeetmemon") in new stack
    -- Goto (macro-hangupcall,s,28)
    -- Executing [s@macro-hangupcall:28] NoOp("DAHDI/i1/524xxxxxx-1", "End of MEETME check") in new stack
    -- Executing [s@macro-hangupcall:29] GotoIf("DAHDI/i1/524xxxxxx-1", "1?noautomon") in new stack
    -- Goto (macro-hangupcall,s,34)
    -- Executing [s@macro-hangupcall:34] NoOp("DAHDI/i1/524xxxxxx-1", "TOUCH_MONITOR_OUTPUT=") in new stack
    -- Executing [s@macro-hangupcall:35] GotoIf("DAHDI/i1/524xxxxxx-1", "1?noautomon2") in new stack
    -- Goto (macro-hangupcall,s,41)
    -- Executing [s@macro-hangupcall:41] NoOp("DAHDI/i1/524xxxxxx-1", "MONITOR_FILENAME=") in new stack
    -- Executing [s@macro-hangupcall:42] GotoIf("DAHDI/i1/524xxxxxx-1", "1?skiprg") in new stack
    -- Goto (macro-hangupcall,s,45)
    -- Executing [s@macro-hangupcall:45] GotoIf("DAHDI/i1/524xxxxxx-1", "1?skipblkvm") in new stack
    -- Goto (macro-hangupcall,s,48)
    -- Executing [s@macro-hangupcall:48] GotoIf("DAHDI/i1/524xxxxxx-1", "1?theend") in new stack
    -- Goto (macro-hangupcall,s,50)
    -- Executing [s@macro-hangupcall:50] AGI("DAHDI/i1/524xxxxxx-1", "hangup.agi") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/hangup.agi
    -- <DAHDI/i1/524xxxxxx-1>AGI Script hangup.agi completed, returning 0
    -- Executing [s@macro-hangupcall:51] Hangup("DAHDI/i1/524xxxxxx-1", "") in new stack
    == Spawn extension (macro-hangupcall, s, 51) exited non-zero on 'DAHDI/i1/524xxxxxx-1' in macro 'hangupcall'
    == Spawn extension (from-pstn, h, 1) exited non-zero on 'DAHDI/i1/524xxxxxx-1'
    -- Hungup 'DAHDI/i1/524xxxxxx-1'

    Apparement même constat grand chef

  8. #8
    Membre Senior
    Date d'inscription
    septembre 2010
    Localisation
    Where the sun shines
    Messages
    1 418
    Downloads
    0
    Uploads
    0
    et en mettant le numero 524xxxxxx en DID ? voire 524xxxxxx-1 ? ca route ?

  9. #9
    Membre Junior
    Date d'inscription
    février 2014
    Messages
    17
    Downloads
    0
    Uploads
    0
    Bonne idée mais en mettant 524xxxxxx-1, le système affiche ça :

    -- Accepting call from '524xxxxxx' to 's' on channel 0/31, span 1
    -- Executing [s@from-pstn:1] NoOp("DAHDI/i1/524xxxxxx-5", "No DID or CID Match") in new stack
    ....

  10. #10
    Membre Senior
    Date d'inscription
    septembre 2010
    Localisation
    Where the sun shines
    Messages
    1 418
    Downloads
    0
    Uploads
    0
    OK. je pense que le nom du dis n'est pas dans tous les champs. essaie de mettre s en guise de did

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
  •