-
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.
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
-
Règles du forum