<html dir="ltr"><head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="GENERATOR" content="MSHTML 11.00.9600.17963">
<style id="owaTempEditStyle"></style><style title="owaParaStyle"><!--P {
        MARGIN-BOTTOM: 0px; MARGIN-TOP: 0px
}
--></style>
</head>
<body ocsi="x">
<div style="FONT-SIZE: small; FONT-FAMILY: Courier New; COLOR: #000000; DIRECTION: ltr">
<div><a></a>
<div><a>Heros</a><a></div>
</a></div>
<div><font face="courier new"></font> </div>
<div><font face="courier new">No problem, by the way you can share and contribute your experience and case solution.</font></div>
<div>
<div><font size="2" face="Tahoma">Best regards.</font></div>
<div><font size="2" face="tahoma"></font> </div>
<div><font size="2" face="Tahoma">Mc GRATH<a></a><a></a> Ricardo</font></div>
<div><font size="2" face="tahoma"></font> </div>
</div>
<div dir="ltr"><font color="#000000" size="3" face="Courier New"></font> </div>
<div id="divRpF320287" style="DIRECTION: ltr">
<hr tabindex="-1">
<font color="#000000" size="2" face="Tahoma"><b>From:</b> asterisk-r2-bounces@lists.digium.com [asterisk-r2-bounces@lists.digium.com] On Behalf Of Heros Amaral [heros.amaral@gmail.com]<br>
<b>Sent:</b> 23 December 2015 15:21<br>
<b>To:</b> asterisk-r2@lists.digium.com<br>
<b>Subject:</b> Re: [asterisk-r2] Erros MFC/R2<br>
</font><br>
</div>
<div></div>
<div>
<div dir="ltr"><span lang="en" id="result_box"><span>Okay,</span> <span>Ricardo</span>
<span>Mcgrath</span><br>
<br>
<span>Already</span> <span>managed to</span> <span>settle</span> <span>here,</span>
<span>I had</span> <span>error in</span> <span>/etc/dahdi/system.conf</span> <span>
file</span><br>
<span><br>
thank</span><span>,</span></span></div>
<div class="gmail_extra"><br clear="all">
<div>
<div class="gmail_signature">
<div dir="ltr">
<div><b>Heros Santos Amaral Filho</b><br>
</div>
<div><b>+55 61 8609-8600<br>
+55 61 9243-7457<br>
</b></div>
<div><font color="#3366ff"><a href="mailto:heros.amaral@gmail.com">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" width="96" height="96"><br>
</div>
</div>
</div>
</div>
<br>
<div class="gmail_quote">2015-12-23 16:10 GMT-02:00 Mc GRATH Ricardo <span dir="ltr">
<<a href="mailto:mcgrathr@mail2web.com">mcgrathr@mail2web.com</a>></span>:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div>
<div style="FONT-SIZE: small; FONT-FAMILY: Courier New; COLOR: #000000; DIRECTION: ltr">
<div>Hi Amaral<a></a><a></a></div>
<div><font face="courier new"></font> </div>
<div><font face="courier new">If you are looking for help should post in english<a></a><a></a>, otherwise it will be hard to someone could answer or help you.</font></div>
<div><font face="courier new">By the way before make any call,  check with the following command channels state.</font></div>
<div><a></a><a></a>mfcr2 show channels </div>
<div><font face="courier new"></font> </div>
<div><font face="courier new">should report something like these;</font></div>
<div><font face="courier new"></font> </div>
<div>
<div><font face="monospace, monospace">Chan Variant ............................................ Tx<a></a> CAS   Rx CAS</font></div>
<div><font face="monospace, monospace"> 1     BR    ............................................  IDLE     IDLE<a></a></font></div>
</div>
<div><font face="courier new"></font> </div>
<div><font face="courier new"></font> </div>
<div>
<div><font size="2" face="Tahoma"></font> </div>
<div><font size="2" face="Tahoma">Good luck!</font></div>
<div> </div>
<div><font size="2" face="Tahoma">Mc GRATH<a></a><a></a> Ricardo</font></div>
<div><font size="2" face="tahoma"></font> </div>
</div>
<div dir="ltr"><font color="#000000" size="3" face="Courier New"></font> </div>
<div style="DIRECTION: ltr">
<hr>
<font color="#000000" size="2" face="Tahoma"><b>From:</b> <a href="mailto:asterisk-r2-bounces@lists.digium.com">
asterisk-r2-bounces@lists.digium.com</a> [<a href="mailto:asterisk-r2-bounces@lists.digium.com">asterisk-r2-bounces@lists.digium.com</a>] On Behalf Of Heros Amaral [<a href="mailto:heros.amaral@gmail.com">heros.amaral@gmail.com</a>]<br>
<b>Sent:</b> 23 December 2015 07:42<br>
<b>To:</b> <a href="mailto:asterisk-r2@lists.digium.com">asterisk-r2@lists.digium.com</a><br>
<b>Subject:</b> [asterisk-r2] Erros MFC/R2<br>
</font><br>
</div>
<div>
<div class="h5">
<div></div>
<div>
<div dir="ltr">
<div>
<div>
<div>
<div>
<div>Bom dia,<br>
<br>
</div>
<span lang="pt"><span>A minha</span> conexão <span>com a operadora de telefonia</span>
<span>são 8 (oito) links</span> <span>R2</span> <span>Digital,</span> <span>para o asterisk eu uso</span>
<span>uma máquina virtual no</span> <span>VMWare</span> <span>com</span> <span>sistema operacional</span>
<span>GNU / Linux</span> <span>CentOS</span> <span>7.0,</span> <span>Asterisk</span>
<span>13</span><span>,</span> <span>Dahdi</span> <span>2.10.2</span> <span>e</span>
<span>1.3.3</span> <span>OpenR2</span><span>,</span> <span>uso dois gateways da RedFone (Fonebridge2), a minha conecção com o gateway é feita através de uma </span><span>VLAN</span>
<span>para cada interface do gateway</span><span>, mas sempre</span> <span>quando eu tento</span>
<span>fazer uma ligação</span> o<span> seguinte erro é apresentado</span><span>:<br>
<br>
</span></span>
<p style="MARGIN-BOTTOM: 0pt"><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: 0pt"><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: 0pt"><span style="FONT-SIZE: 8pt; FONT-FAMILY: "Courier New"">DNIS = 92437457, ANI = 9994, MF = 0x20
</span></p>
<p style="MARGIN-BOTTOM: 0pt"><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>
<div dir="ltr">
<div><b>Heros Santos Amaral Filho</b><br>
</div>
<div><b><a href="tel:%2B55%2061%209243-7457" target="_blank" value="+556192437457">+55 61 9243-7457</a><br>
</b></div>
<div><font color="#3366ff"><a href="mailto:heros.amaral@gmail.com">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" width="96" height="96"><br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" rel="noreferrer" target="_blank">
http://www.api-digital.com</a> --<br>
<br>
asterisk-r2 mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
   <a href="http://lists.digium.com/mailman/listinfo/asterisk-r2" rel="noreferrer" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-r2</a><br>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</body>
</html>