<!DOCTYPE html PUBLIC '-//W3C//DTD HTML 4.01 Transitional//EN'>
<html>
<head>
<meta http-equiv='Content-Type' content='text/html;charset=iso-8859-1'>
<style>BODY{font:10pt Tahoma, Verdana, sans-serif;}</style>
</head>
<body>
<br>Parametro en echotraining<br><br><blockquote style="border-left: 2px solid rgb(0, 0, 255); padding-left: 5px; margin-left: 5px; margin-right: 0px;"><hr><b>From:</b> Pedro Jorge Viana de Bragança Menezes [mailto:pedro@s3p.es]<br><b>To:</b> asteriskbrasil@listas.asteriskbrasil.org<br><b>Sent:</b> Fri, 25 Jan 2008 10:19:40 +0100<br><b>Subject:</b> [AsteriskBrasil] Problema de audio entre llamada SIP => ZAP (FXS)<br><br>
Bom dia, tenho um pequeno (grande) problema e gostaria de una luz... <br>Explico o panorama:<br><br>Acabo de instalar TrixBox 2.4.0 com asterisk 1.4.16-1 e zaptel mesma versao (creio)<br>Instalada 2 placas OpenVox distribuidas da siguiente manera:<br>1º Placa 4 FXO<br>2º Placa 2 FXO - 2 FXS<br><br>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)<br>Fiz praticamente todas as configuracoes pertinentes tanto de ramais sip e analogicos ZAP/5, ZAP/6.<br>Todos os testes sao satisfatorios, troncais de saida, entrada, grupos, ligacoes entre SIP e externas, um pouco de ruido, etc...<br>O problema reside no seguinte:<br>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.<br>Quanto realizo a ligacao desde ZAP a SIP funciona sin problemas, o audio é correto.<br>Ja revisei a configuracao 2^n vezes e nao sou capaz de encontrar nada extranho...<br>Aqui deixo os arquivos de configuracao para ver se alguem com os olhos mais treinados que os meus pode encontrar o erro.<br><br><font class="fixed_width" face="Courier, Monospaced"> zapata.conf
<br> --------------
<br> ;
<br> ; Zapata telephony interface
<br> ;
<br> ; Configuration file
<br> </font><p><font class="fixed_width" face="Courier, Monospaced">[trunkgroups]
<br> </font></p><p><font class="fixed_width" face="Courier, Monospaced">[channels]
<br> </font></p><p><font class="fixed_width" face="Courier, Monospaced">language=es
<br> context=from-zaptel
<br> signalling=fxs_ks
<br> rxwink=300 ; Atlas seems to use long (250ms) winks
<br> ;
<br> ; Whether or not to do distinctive ring detection on FXO lines
<br> ;
<br> ;usedistinctiveringdetection=yes
<br> </font></p><p><font class="fixed_width" face="Courier, Monospaced">usecallerid=yes
<br> hidecallerid=no
<br> callwaiting=yes
<br> usecallingpres=no
<br> callwaitingcallerid=yes
<br> threewaycalling=yes
<br> transfer=yes
<br> cancallforward=yes
<br> callreturn=yes
<br> echocancel=yes
<br> echocancelwhenbridged=no
<br> ;echotraining=800
<br> rxgain=0.0
<br> txgain=0.0
<br> group=0
<br> callgroup=1
<br> pickupgroup=1
<br> immediate=yes
<br> busydetect=yes
<br> busycount=1
<br> answeronpolarityswitch=yes
<br> hanguponpolarityswitch=yes
<br> </font></p><p><font class="fixed_width" face="Courier, Monospaced">;faxdetect=both
<br> faxdetect=incoming
<br> ;faxdetect=outgoing
<br> ;faxdetect=no
<br> </font></p><p><font class="fixed_width" face="Courier, Monospaced">;Include genzaptelconf configs
<br> #include zapata-channels.conf
<br> </font></p><p><font class="fixed_width" face="Courier, Monospaced">group=1
<br> </font></p><p><font class="fixed_width" face="Courier, Monospaced">;Include AMP configs
<br> #include zapata_additional.conf
<br> -------------
<br> zaptel-channels.conf:
<br> ---
<br> ; Autogenerated by /usr/sbin/genzaptelconf -- do not hand edit
<br> ; Zaptel Channels Configurations (zapata.conf)
<br> ;
<br> ; This is not intended to be a complete zapata.conf. Rather, it is
<br> intended
<br> ; to be #include-d by /etc/zapata.conf that will include the global
<br> settings
<br> ;
<br> </font></p><p><font class="fixed_width" face="Courier, Monospaced">; Span 1: WCTDM/0 "Wildcard TDM400P REV E/F Board 1"
<br> ;;; line="1 WCTDM/0/0"
<br> signalling=fxs_ks
<br> callerid=asreceived
<br> group=0
<br> context=from-pstn
<br> channel => 1
<br> context=default
<br> </font></p><p><font class="fixed_width" face="Courier, Monospaced">;;; line="2 WCTDM/0/1"
<br> signalling=fxs_ks
<br> callerid=asreceived
<br> group=0
<br> context=from-pstn
<br> channel => 2
<br> context=default
<br> </font></p><p><font class="fixed_width" face="Courier, Monospaced">;;; line="3 WCTDM/0/2"
<br> signalling=fxs_ks
<br> callerid=asreceived
<br> group=0
<br> context=from-pstn
<br> channel => 3
<br> context=default
<br> </font></p><p><font class="fixed_width" face="Courier, Monospaced">;;; line="4 WCTDM/0/3"
<br> signalling=fxs_ks
<br> callerid=asreceived
<br> group=0
<br> context=from-pstn
<br> channel => 4
<br> context=default
<br> </font></p><p><font class="fixed_width" face="Courier, Monospaced">; Span 2: WCTDM/1 "Wildcard TDM400P REV E/F Board 2"
<br> ;;; line="5 WCTDM/1/0"
<br> signalling=fxo_ks
<br> callerid="Channel 5" <6005>
<br> mailbox=6005
<br> group=5
<br> busydetect=no
<br> busycount=7
<br> ;context=from-zaptel
<br> ;context=from-internal
<br> channel => 5
<br> callerid=
<br> mailbox=
<br> group=
<br> rxgain=10
<br> txgain=10
<br> context=default
<br> </font></p><p><font class="fixed_width" face="Courier, Monospaced">;;; line="6 WCTDM/1/1"
<br> signalling=fxo_ks
<br> callerid="Channel 6" <6006>
<br> mailbox=6006
<br> group=5
<br> ;context=from-zaptel
<br> context=from-internal
<br> channel => 6
<br> callerid=
<br> mailbox=
<br> group=
<br> ;context=default
<br> </font></p><p><font class="fixed_width" face="Courier, Monospaced">;;; line="7 WCTDM/1/2"
<br> signalling=fxs_ks
<br> callerid=asreceived
<br> group=0
<br> context=from-pstn
<br> channel => 7
<br> context=default
<br> </font></p><p><font class="fixed_width" face="Courier, Monospaced">;;; line="8 WCTDM/1/3"
<br> signalling=fxs_ks
<br> callerid=asreceived
<br> group=0
<br> context=from-pstn
<br> channel => 8
<br> context=default
<br> ---
<br> </font></p><p><font class="fixed_width" face="Courier, Monospaced">zapata_additional.conf:
<br> --------
<br> ; do not edit this file, this is an auto-generated file by freepbx
<br> ; all modifications must be done from the web gui
<br> </font></p><p><font class="fixed_width" face="Courier, Monospaced">;;;;;;[205]
<br> signalling=fxo_ks
<br> record_out=Adhoc
<br> record_in=Adhoc
<br> <a href="mailto:mailbox=205@device">mailbox=205@device</a>
<br> immediate=no
<br> echotraining=800
<br> echocancelwhenbridged=no
<br> echocancel=yes
<br> dial=ZAP/5
<br> context=from-internal
<br> callprogress=no
<br> callerid=device <205>
<br> busydetect=no
<br> busycount=7
<br> accountcode=
<br> channel=>5
<br> </font></p><p><font class="fixed_width" face="Courier, Monospaced">;;;;;;[782]
<br> signalling=fxo_ks
<br> record_out=Adhoc
<br> record_in=Adhoc
<br> <a href="mailto:mailbox=782@device">mailbox=782@device</a>
<br> immediate=no
<br> echotraining=800
<br> echocancelwhenbridged=no
<br> echocancel=yes
<br> dial=ZAP/6
<br> context=from-internal
<br> callprogress=no
<br> callerid=device <782>
<br> busydetect=no
<br> busycount=7
<br> accountcode=
<br> channel=>6
<br> -----
<br> </font></p><p><font class="fixed_width" face="Courier, Monospaced">cat /proc/zaptel/*
<br> Span 1: WCTDM/0 "Wildcard TDM400P REV E/F Board 1"
<br> </font></p><p><font class="fixed_width" face="Courier, Monospaced"> 1 WCTDM/0/0 FXSKS (In use)
<br> 2 WCTDM/0/1 FXSKS (In use)
<br> 3 WCTDM/0/2 FXSKS (In use)
<br> 4 WCTDM/0/3 FXSKS (In use)
<br> Span 2: WCTDM/1 "Wildcard TDM400P REV E/F Board 2"
<br> </font></p><p><font class="fixed_width" face="Courier, Monospaced"> 5 WCTDM/1/0 FXOKS (In use)
<br> 6 WCTDM/1/1 FXOKS (In use)
<br> 7 WCTDM/1/2 FXSKS (In use)
<br> 8 WCTDM/1/3 FXSKS (In use)
<br> </font></p><p><font class="fixed_width" face="Courier, Monospaced">cat /etc/sysconfig/zaptel
<br> #MODULES="$MODULES wctdm24xxp" # TDM2400P - Modular FXS/FXO interface
<br> (1-24 ports)
<br> </font></p><p><font class="fixed_width" face="Courier, Monospaced">#MODULES="$MODULES wcfxo" # X100P - Single port FXO interface
<br> # X101P -
<br> Single port FXO interface
<br> </font></p><p><font class="fixed_width" face="Courier, Monospaced">MODULES="$MODULES wctdm" # TDM400P - Modular FXS/FXO interface
<br> (1-4 ports)
<br> </font></p><p><font class="fixed_width" face="Courier, Monospaced">#MODULES="$MODULES wcusb" # S100U - Single port FXS USB
<br> Interface
<br> </font></p><p><font class="fixed_width" face="Courier, Monospaced">#MODULES="$MODULES torisa" # Old Tormenta1 ISA Card
<br> </font></p><p><font class="fixed_width" face="Courier, Monospaced">#MODULES="$MODULES ztdummy" # Zaptel Timing Only Interface
<br> </font></p><p><font class="fixed_width" face="Courier, Monospaced">---------------------- <br></font></p><p>Quando tenho uma ligacao entre SIP e ZAP:<br></p><p><font class="fixed_width" face="Courier, Monospaced">trixbox1*CLI> show channels
<br> Channel Location State Application(Data)
<br> Zap/5-1 (None) Up Bridged Call(SIP/10-
<br> b7d4dc50)
<br> SIP/10-b7d4dc50 <a href="mailto:s@macro-dial">s@macro-dial</a>:10 Up Dial(ZAP/5||trT)
</font></p><br><br>Muito obrigado por qualquer informacao e pelo tempo gasto em ler esse email... sei que é grande....<br><br><br><br><br></blockquote><style>
BODY {font:10pt Tahoma,Verdana,sans-serif;}
</style>
</body></html>