[AsteriskBrasil] RESOLVIDO - Problema de audio entre llamada SIP => ZAP (FXS)
Pedro Jorge Viana de Bragança Menezes
pedro em s3p.es
Sexta Janeiro 25 21:50:23 BRST 2008
Me desculpem, esqueci de especificar o parametro mudado:
echotraining=0 antes era echotraining=800
Por indicação de um conhecido que fez alguns testes em uma maquina de demo e funcionou corretamente.
Mudei esse parametro para os canais ZAP (FXS) e todo operativo.
Obrigado pela atencao.
----- Original Message -----
From: Pedro Jorge Viana de Bragança Menezes
[mailto:pedro em s3p.es]
To: asteriskbrasil em listas.asteriskbrasil.org
Sent:
Fri, 25 Jan 2008 15:24:02 +0100
Subject: [AsteriskBrasil] RESOLVIDO -
Problema de audio entre llamada SIP => ZAP (FXS)
> Parametro en echotraining
>
> _____
>
> From: Pedro Jorge Viana de Bragança Menezes [mailto:pedro em s3p.es]
> To: asteriskbrasil em listas.asteriskbrasil.org
> Sent: Fri, 25 Jan 2008 10:19:40 +0100
> Subject: [AsteriskBrasil] Problema de audio entre llamada SIP => ZAP (FXS)
>
> Bom dia, tenho um pequeno (grande) problema e gostaria de
> una luz...
> Explico o panorama:
>
> Acabo de instalar TrixBox 2.4.0 com asterisk 1.4.16-1 e zaptel mesma versao
> (creio)
> Instalada 2 placas OpenVox distribuidas da siguiente manera:
> 1º Placa 4 FXO
> 2º Placa 2 FXO - 2 FXS
>
> A instalacao foi sem problemas, fiz a retoque no arquivo
> /etc/sysconfig/zaptel para deixar habilitada somente o modulo wctdm (a
> openvox é 99,99% compativel Digium)
> Fiz praticamente todas as configuracoes pertinentes tanto de ramais sip e
> analogicos ZAP/5, ZAP/6.
> Todos os testes sao satisfatorios, troncais de saida, entrada, grupos,
> ligacoes entre SIP e externas, um pouco de ruido, etc...
> O problema reside no seguinte:
> Quando realizo uma ligacao desde um telefone SIP a um ramal analogico
> (zap/5, zap/6) e quando antendemos nao se escuta absolutamente nada nem por
> parte de SIP nem por parte de ZAP.
> Quanto realizo a ligacao desde ZAP a SIP funciona sin problemas, o audio é
> correto.
> Ja revisei a configuracao 2^n vezes e nao sou capaz de encontrar nada
> extranho...
> Aqui deixo os arquivos de configuracao para ver se alguem com os olhos mais
> treinados que os meus pode encontrar o erro.
>
> zapata.conf
> --------------
> ;
> ; Zapata telephony interface
> ;
> ; Configuration file
>
>
> [trunkgroups]
>
>
> [channels]
>
>
> language=es
> context=from-zaptel
> signalling=fxs_ks
> rxwink=300 ; Atlas seems to use long (250ms) winks
> ;
> ; Whether or not to do distinctive ring detection on FXO lines
> ;
> ;usedistinctiveringdetection=yes
>
>
> usecallerid=yes
> hidecallerid=no
> callwaiting=yes
> usecallingpres=no
> callwaitingcallerid=yes
> threewaycalling=yes
> transfer=yes
> cancallforward=yes
> callreturn=yes
> echocancel=yes
> echocancelwhenbridged=no
> ;echotraining=800
> rxgain=0.0
> txgain=0.0
> group=0
> callgroup=1
> pickupgroup=1
> immediate=yes
> busydetect=yes
> busycount=1
> answeronpolarityswitch=yes
> hanguponpolarityswitch=yes
>
>
> ;faxdetect=both
> faxdetect=incoming
> ;faxdetect=outgoing
> ;faxdetect=no
>
>
> ;Include genzaptelconf configs
> #include zapata-channels.conf
>
>
> group=1
>
>
> ;Include AMP configs
> #include zapata_additional.conf
> -------------
> zaptel-channels.conf:
> ---
> ; Autogenerated by /usr/sbin/genzaptelconf -- do not hand edit
> ; Zaptel Channels Configurations (zapata.conf)
> ;
> ; This is not intended to be a complete zapata.conf. Rather, it is
> intended
> ; to be #include-d by /etc/zapata.conf that will include the global
> settings
> ;
>
>
> ; Span 1: WCTDM/0 "Wildcard TDM400P REV E/F Board 1"
> ;;; line="1 WCTDM/0/0"
> signalling=fxs_ks
> callerid=asreceived
> group=0
> context=from-pstn
> channel => 1
> context=default
>
>
> ;;; line="2 WCTDM/0/1"
> signalling=fxs_ks
> callerid=asreceived
> group=0
> context=from-pstn
> channel => 2
> context=default
>
>
> ;;; line="3 WCTDM/0/2"
> signalling=fxs_ks
> callerid=asreceived
> group=0
> context=from-pstn
> channel => 3
> context=default
>
>
> ;;; line="4 WCTDM/0/3"
> signalling=fxs_ks
> callerid=asreceived
> group=0
> context=from-pstn
> channel => 4
> context=default
>
>
> ; Span 2: WCTDM/1 "Wildcard TDM400P REV E/F Board 2"
> ;;; line="5 WCTDM/1/0"
> signalling=fxo_ks
> callerid="Channel 5" <6005>
> mailbox=6005
> group=5
> busydetect=no
> busycount=7
> ;context=from-zaptel
> ;context=from-internal
> channel => 5
> callerid=
> mailbox=
> group=
> rxgain=10
> txgain=10
> context=default
>
>
> ;;; line="6 WCTDM/1/1"
> signalling=fxo_ks
> callerid="Channel 6" <6006>
> mailbox=6006
> group=5
> ;context=from-zaptel
> context=from-internal
> channel => 6
> callerid=
> mailbox=
> group=
> ;context=default
>
>
> ;;; line="7 WCTDM/1/2"
> signalling=fxs_ks
> callerid=asreceived
> group=0
> context=from-pstn
> channel => 7
> context=default
>
>
> ;;; line="8 WCTDM/1/3"
> signalling=fxs_ks
> callerid=asreceived
> group=0
> context=from-pstn
> channel => 8
> context=default
> ---
>
>
> zapata_additional.conf:
> --------
> ; do not edit this file, this is an auto-generated file by freepbx
> ; all modifications must be done from the web gui
>
>
> ;;;;;;[205]
> signalling=fxo_ks
> record_out=Adhoc
> record_in=Adhoc
> mailbox=205 em device
> immediate=no
> echotraining=800
> echocancelwhenbridged=no
> echocancel=yes
> dial=ZAP/5
> context=from-internal
> callprogress=no
> callerid=device <205>
> busydetect=no
> busycount=7
> accountcode=
> channel=>5
>
>
> ;;;;;;[782]
> signalling=fxo_ks
> record_out=Adhoc
> record_in=Adhoc
> mailbox=782 em device
> immediate=no
> echotraining=800
> echocancelwhenbridged=no
> echocancel=yes
> dial=ZAP/6
> context=from-internal
> callprogress=no
> callerid=device <782>
> busydetect=no
> busycount=7
> accountcode=
> channel=>6
> -----
>
>
> cat /proc/zaptel/*
> Span 1: WCTDM/0 "Wildcard TDM400P REV E/F Board 1"
>
>
> 1 WCTDM/0/0 FXSKS (In use)
> 2 WCTDM/0/1 FXSKS (In use)
> 3 WCTDM/0/2 FXSKS (In use)
> 4 WCTDM/0/3 FXSKS (In use)
> Span 2: WCTDM/1 "Wildcard TDM400P REV E/F Board 2"
>
>
> 5 WCTDM/1/0 FXOKS (In use)
> 6 WCTDM/1/1 FXOKS (In use)
> 7 WCTDM/1/2 FXSKS (In use)
> 8 WCTDM/1/3 FXSKS (In use)
>
>
> cat /etc/sysconfig/zaptel
> #MODULES="$MODULES wctdm24xxp" # TDM2400P - Modular FXS/FXO interface
> (1-24 ports)
>
>
> #MODULES="$MODULES wcfxo" # X100P - Single port FXO interface
> # X101P -
> Single port FXO interface
>
>
> MODULES="$MODULES wctdm" # TDM400P - Modular FXS/FXO interface
> (1-4 ports)
>
>
> #MODULES="$MODULES wcusb" # S100U - Single port FXS USB
> Interface
>
>
> #MODULES="$MODULES torisa" # Old Tormenta1 ISA Card
>
>
> #MODULES="$MODULES ztdummy" # Zaptel Timing Only Interface
>
>
> ----------------------
>
>
> Quando tenho uma ligacao entre SIP e ZAP:
>
>
> trixbox1*CLI> show channels
> Channel Location State Application(Data)
> Zap/5-1 (None) Up Bridged Call(SIP/10-
> b7d4dc50)
> SIP/10-b7d4dc50 s em macro-dial:10 Up Dial(ZAP/5||trT)
>
> Muito obrigado por qualquer informacao e pelo tempo gasto em ler esse
> email... sei que é grande....
>
>
>
>
>
More information about the AsteriskBrasil
mailing list