Rota de entra e saída para tronco zap com placa X100P

234 views
Skip to first unread message

halv...@gmail.com

unread,
Jun 6, 2014, 10:07:20 AM6/6/14
to elasti...@googlegroups.com
Pessoal, bom dia!

               Sou novo no elastix e também no grupo, estou precisando da ajuda de vocês para configurar meu elastix para receber e fazer ligação através do meu tronco analógico. Abaixo segue configurações que eu já fiz e que funcionou durante alguns dias.


1 - Instalei o elastix

2 - configurei os ramais.

3 - coloquei a placa x100p e mandei detectar hardware, até ai tudo bem.

4 - configurei um tronco za dahdi, só com o nome do tronco, e o dahdi identifier setado para g0

5 - adicionei uma rota de entrada com todos as opções padrões apenas colocando que a ligação vai chegar no ramal 2002

6 - e a rota de saída está configurado conforme anexo.

Estou precisando muito de ajuda, com as dial plan, e como fazer as configurações básicas.
RotaSaida.jpg

Nemesio Filho

unread,
Jun 6, 2014, 10:14:57 AM6/6/14
to elasti...@googlegroups.com
Bom dia,

Não sei se ajuda mais o meu esta assim:

=======================================================================================
cat /etc/dahdi/system.conf
---------------------------------------------------------------------------------------
# Autogenerated by /usr/sbin/dahdi_genconf on Tue Oct 29 11:22:03 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: WCFXO/0 "Wildcard X100P Board 1" (MASTER)
fxsks=1
echocanceller=oslec,1

# Span 2: WCFXO/1 "Generic Clone Board 2"
fxsks=2
echocanceller=oslec,2

# Span 3: WCFXO/2 "Generic Clone Board 3"
fxsks=3
echocanceller=oslec,3

# Span 4: WCFXO/3 "Wildcard X100P Board 4"
fxsks=4
echocanceller=oslec,4

# Global data

loadzone        = us
defaultzone     = us
=======================================================================================
chan_dahdi.conf
---------------------------------------------------------------------------------------
; Auto-generated by /usr/sbin/hardware_detector
[trunkgroups]

[channels]
context=from-zaptel
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=3.0
txgain=3.0
callgroup=1
pickupgroup=1
relaxdtmf=yes

;Uncomment these lines if you have problems with the disconection of your analog lines
busydetect=yes
busycount=4

immediate=yes

group=1
channel => 1 ;8101
channel => 2 ;8187
channel => 3 ;8095
channel => 4 ;

;#include dahdi-channels.conf
;#include chan_dahdi_additional.conf
=======================================================================================
dahdi-channels.conf
---------------------------------------------------------------------------------------
; Autogenerated by /usr/sbin/dahdi_genconf on Tue Oct 29 11:22:03 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: WCFXO/0 "Wildcard X100P Board 1" (MASTER)
;;; line="1 WCFXO/0/0"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 1
callerid=
group=
context=default

; Span 2: WCFXO/1 "Generic Clone Board 2"
;;; line="2 WCFXO/1/0"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 2
callerid=
group=
context=default

; Span 3: WCFXO/2 "Generic Clone Board 3"
;;; line="3 WCFXO/2/0"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 3
callerid=
group=
context=default

; Span 4: WCFXO/3 "Wildcard X100P Board 4"
;;; line="4 WCFXO/3/0"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 4
callerid=
group=
context=default
=======================================================================================
extensions.conf
---------------------------------------------------------------------------------------
#include extensions_custom.conf
[from-digital]
include => from-pstn

[from-analog]
include => from-dahdi

[from-trunk]
include => from-pstn

[from-pstn]
include => from-pstn-custom
include => ext-did
include => ext-did-post-custom
include => from-did-direct
include => ext-did-catchall
=======================================================================================
Trunks => Add Zap Trunk (DAHDI compatibility mode)
---------------------------------------------------------------------------------------
Trunk Name: ZAP Channel g0

Zap Identifier: g1
=======================================================================================
Zap Channel DIDs
---------------------------------------------------------------------------------------
Channel: 1
Description: Hipath1
DID: 6133124321
--------------------
Channel: 2
Description: Hipath2
DID: 6133124322
--------------------
Channel: 3
Description: Hipath3
DID: 6133124323
--------------------
Channel: 4
Description: Hipath4
DID: 6133124324
=======================================================================================
Inbound Routes
---------------------------------------------------------------------------------------
Description: Hipath_1
DID Number: 6133124321
Caller ID Number:

Set Destination: Extensions => 4321
----------------------
Description: Hipath_2
DID Number: 6133124322
Caller ID Number:

Set Destination: Extensions => 4322
----------------------
Description: Hipath_3
DID Number: 6133124323
Caller ID Number:

Set Destination: Extensions => 4323
----------------------
Description: Hipath_4
DID Number: 6133124324
Caller ID Number:

Set Destination: Extensions => 4324
=======================================================================================
Outbound Routes
---------------------------------------------------------------------------------------
Route Name: Local_out
---------------------
PIN Set: None
---------------------
Dial Patterns that will use this Route

(0) + 0 | 0800.
(0) + 0 | 2.
(0) + 0 | 3.
(0) + 0 | 4.
(0) + 0 | ZXX
--------------------
Trunk Sequence for Matched Routes
0: ZAP Channel g0
=======================================================================================

Espero ter ajudado.

Nemésio


--

---
Você recebeu essa mensagem porque está inscrito no grupo quot;ElastixBrasil" dos Grupos do Google.
Para cancelar inscrição nesse grupo e parar de receber e-mails dele, envie um e-mail para elastixbrasi...@googlegroups.com.
Para postar nesse grupo, envie um e-mail para elasti...@googlegroups.com.
Acesse esse grupo em http://groups.google.com/group/elastixbrasil.
Para mais opções, acesse https://groups.google.com/d/optout.

halv...@gmail.com

unread,
Jun 6, 2014, 4:48:14 PM6/6/14
to elasti...@googlegroups.com
Olá, Nemésio, boa tarde!

          Te adicionei no gtalk, gostaria de tirar algumas duvidas contigo, em relação as configurações que você fez, quando podemos conversar ?

Att.

Henrique

Nemesio Filho

unread,
Jun 9, 2014, 8:06:28 AM6/9/14
to elasti...@googlegroups.com
Bom dia,

Ok.


Nemésio
Reply all
Reply to author
Forward
0 new messages