<div dir="ltr"><div><div><div><div><div>Bom dia,<br><br></div><span id="result_box" class="" lang="pt"> <span class="">A minha</span> conexão <span class="">com a operadora de telefonia</span> <span class="">são 8 (oito) links</span> <span class="">R2</span> <span class="">Digital,</span> <span class="">para o asterisk eu uso</span> <span class="">uma máquina virtual no</span> <span class="">VMWare</span> <span class="">com</span> <span class="">sistema operacional</span> <span class="">GNU / Linux</span> <span class="">CentOS</span> <span class="">7.0,</span> <span class="">Asterisk</span> <span class="">13</span><span>,</span> <span class="">Dahdi</span> <span class="">2.10.2</span> <span class="">e</span> <span class="">1.3.3</span> <span class="">OpenR2</span><span>,</span> <span class="">uso dois gateways da RedFone (Fonebridge2), a minha conecção com o gateway é feita através de uma </span><span class="">VLAN</span> <span class="">para cada interface do gateway</span><span>, mas sempre</span> <span class="">quando eu tento</span> <span class="">fazer uma ligação</span> o<span class=""> seguinte erro é apresentado</span><span>:<br><br></span></span><p style="margin-bottom:0.0001pt"><span style="font-size:8pt;font-family:"Courier New"">[Nov 20 17:37:30] WARNING[2287]: chan_dahdi.c:3882 dahdi_r2_write_log: Chan 1 - Seize Timeout Expired!
</span></p>
<p style="margin-bottom:0.0001pt"><span style="font-size:8pt;font-family:"Courier New"">[Nov
 20 17:37:30] ERROR[2287]: chan_dahdi.c:3885 dahdi_r2_write_log: Chan 1 -
 Protocol error. Reason = Seize Timeout, R2 State = Clear Forward 
Transmitted,
 MF state = MF Engine Off, MF Group = Forward MF init, CAS = 0x08 </span></p>
<p style="margin-bottom:0.0001pt"><span style="font-size:8pt;font-family:"Courier New"">DNIS = 92437457, ANI = 9994, MF = 0x20
</span></p>
<p style="margin-bottom:0.0001pt"><span style="font-size:8pt;font-family:"Courier New"">[Nov 20 17:37:30] ERROR[2287]: chan_dahdi.c:3646 dahdi_r2_on_protocol_error: MFC/R2 protocol error on chan 1: Seize Timeout
</span></p>
<span lang="EN"><br>
</span></div>Abaixo seguem meus arquivos de configuração:<br><br></div>/etc/dahdi/system.conf<br><br>dynamic=ethmf,eno50338560/00:50:c2:65:e3:44/0,31,0<br>dynamic=ethmf,eno50338560/00:50:c2:65:e3:44/1,31,1<br>#<br>dynamic=ethmf,eno83889152/00:50:c2:65:e3:42/0,31,0<br>dynamic=ethmf,eno83889152/00:50:c2:65:e3:42/1,31,1<br>#<br>dynamic=ethmf,eno100668416/00:50:c2:65:e3:2c/0,31,0<br>dynamic=ethmf,eno100668416/00:50:c2:65:e3:2c/1,31,1<br>#<br>dynamic=ethmf,eno117447680/00:50:c2:65:e3:2e/0,31,0<br>dynamic=ethmf,eno117447680/00:50:c2:65:e3:2e/1,31,1<br>#<br>cas=1-15:1101<br>dchan=16<br>cas=17-31:1101<br>alaw=1-30<br>#<br>cas=32-46:1101<br>dchan=47<br>cas=48-62:1101<br>alaw=32-62<br>#<br>cas=63-77:1101<br>dchan=78<br>cas=79-93:1101<br>alaw=63-93<br>#<br>cas=94-108:1101<br>dchan=109<br>cas=110-124:1101<br>alaw=94-124<br>#<br>cas=125-139:1101<br>dchan=140<br>cas=141-155:1101<br>alaw=125-155<br>#<br>cas=156-170:1101<br>dchan=171<br>cas=172-186:1101<br>alaw=156-186<br>#<br>cas=187-201:1101<br>dchan=202<br>cas=203-217:1101<br>alaw=187-217<br>#<br>cas=218-232:1101<br>dchan=233<br>cas=234-248:1101<br>alaw=218-248<br><br>loadzone=br<br>defaultzone=br<br><br></div></div>/etc/redfone_01.conf<br><br>[globals]<br>fb=192.168.1.254<br>port=1<br>server=00:50:56:8a:1e:83<br>priorities=0,1,2,3<br>#<br>[span1]<br>framing=cas<br>encoding=hdb3<br>rbs<br>master<br>#<br>[span2]<br>framing=cas<br>encoding=hdb3<br>rbs<br>master<br>#<br>[span3]<br>framing=cas<br>encoding=hdb3<br>rbs<br>master<br>#<br>[span4]<br>framing=cas<br>encoding=hdb3<br>master<br><br><div><div><div><div><div><div><div>/etc/asterisk/chan_dahdi.conf<br><br>[trunkgroups]<br><br>[channels]<br>usecallerid=yes<br>hidecallerid=no<br>callwaiting=yes<br>usecallingpres=yes<br>callwaitingcallerid=yes<br>threewaycalling=yes<br>transfer=yes<br>canpark=yes<br>cancallforward=yes<br>callreturn=yes<br>echocancel=no<br>echocancelwhenbridged=no<br>relaxdtmf=yes<br>rxgain=0.0<br>txgain=0.0<br>group=0<br>callgroup=1<br>pickupgroup=1<br>;group=0<br>callgroup=1<br>pickupgroup=1<br>context=from-pstn<br>signalling=mfcr2<br>mfcr2_variant=br<br>mfcr2_mfback_timeout=4000<br>mfcr2_get_ani_first=no<br>mfcr2_max_ani=20<br>mfcr2_max_dnis=4<br>mfcr2_category=national_subscriber<br>; The next three params are for debuging, you can disable when in production<br>mfcr2_call_files=yes<br>mfcr2_logdir=GVT<br>mfcr2_logging=all<br><br>group=0<br>context=default<br>signalling=mfcr2<br>channel => 1-15,17-31<br>channel => 32-46,48-62<br><br>group=1<br>context=default<br>signalling=mfcr2<br>channel => 63-77,79-93<br>channel => 94-108,110-124<br><br>group=2<br>context=default<br>signalling=mfcr2<br>channel => 125-139,141-155<br>channel => 156-170,172-186<br><br>group=3<br>context=default<br>signalling=mfcr2<br>channel => 187-201,203-217<br>channel => 218-232,234-248<br><br></div><div>Já realizei diversos testes e nenhum fez efeito, gostaria de saber se alguém poderia me dá um apoio?<br></div><div><br clear="all"><div><div><div class="gmail_signature"><div dir="ltr"><div><b>Heros Santos Amaral Filho</b><br></div>
<div><b>+55 61 9243-7457<br></b></div>
<div><font color="#3366ff"><a href="mailto:heros.amaral@gmail.com" target="_blank">heros.amaral@gmail.com</a></font><b><br></b></div><div><br></div><div><img src="http://api.qrserver.com/v1/create-qr-code/?data=BEGIN%3AVCARD%0AVERSION%3A2.1%0AFN%3AHeros%20Santos%20Amaral%20Filho%0AN%3A%3BHeros%20Santos%20Amaral%20Filho%0ATEL%3BCELL%3A%2B556193070835%0AEMAIL%3BHOME%3BINTERNET%3Aheros.amaral%40gmail.com%0AURL%3Abr.linkedin.com%2Fin%2Fherosamaral%2F%0AADR%3A%3B%3B%3BBrasilia%3B%3B%3BBrasil%0AEND%3AVCARD%0A&size=250x250" height="96" width="96"><br></div></div></div></div>
</div></div></div></div></div></div></div></div></div>