<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:lucida console,sans-serif;font-size:12pt">O tempo do MFC, quando ele entra em 'seize' dura aproximadamente 30ms do outro lado. Não sei onde isto é setado, mas o que esta ocorrendo é que esta muito curto, o outro lado fica esperando e o MFC não vem ou demora a vir. Verifique onde é setado o tempo do MFC e acerte este tempo.<br><div>&nbsp;</div><div><div><div><div><div><font face="Arial Black" size="4">Wagner de Oliveira</font></div><div><font face="Arial Black" size="4" color="#ffff40"><em><font color="#0000ff"><font color="#ff0000">Gateway</font> - The&nbsp;gateway to the Brazil West&nbsp;Center Zone&nbsp;</font> </em></font></div><div><font face="Arial Black" size="4" color="#0000ff"><em>GSM, PDH, SDH, WDM, DWDM, SWITCH and much more...</em></font></div><div><font face="Arial Black" size="4">&nbsp;<a rel="nofollow" target="_blank"
 href="mailto:wag%C3%A3obr@yahoo.com">wagaobr@yahoo.com</a></font></div><div>&nbsp;</div></div></div></div></div><div><br></div><div><br></div><div style="font-family: lucida console,sans-serif; font-size: 12pt;"><br><div style="font-family: arial,helvetica,sans-serif; font-size: 13px;"><font face="Tahoma" size="2"><hr size="1"><b><span style="font-weight: bold;">&nbsp;</span></b></font><br>
Ola Pessoal, estou usando pela primeira vez o openr2 com placa E1 digium..<br>estou tendo alguns problemas, vou passar o meu cenario pra ver se alguem <br>pode dar alguma dica.<br><br>Aparece o seguinte erro qdo eu disco pro numero chave do E1<br><br>Protocol error. Reason = Multi Frequency Cycle Timeout, R2 State = Seize <br>ACK Transmitted, MF state = Category Request Transmitted, MF Group = <br>Backward Group A, CAS = 0x00<br><br>As versoes dos softwares:<br><br>Asterisk 1.6.2.5<br>DAHDI Version: 2.2.1 Echo Canceller: MG2<br>OpenR2 version: 1.2.0, revision: (release)<br><br><br>Abaixo seguem os logs de qdo entra uma ligacao e tb copia dos arquivos <br>de configuracao.... qq informacao é bem vinda..<br><br>-------------------------------------------------------------------------------------<br>Quando eu disco pro numero chave do E1 aparece isso no console:<br><br>[Mar&nbsp; 5 17:07:47] DEBUG[9866]: chan_dahdi.c:1932 dahdi_r2_write_log: <br>Chan 1 -
 Bits changed from 0x08 to 0x00<br>[Mar&nbsp; 5 17:07:47] DEBUG[9866]: chan_dahdi.c:1932 dahdi_r2_write_log: <br>Chan 1 - CAS Rx &lt;&lt; [SEIZE] 0x00<br>[Mar&nbsp; 5 17:07:47] DEBUG[9866]: chan_dahdi.c:1932 dahdi_r2_write_log: <br>Chan 1 - CAS Tx &gt;&gt; [SEIZE ACK] 0x0C<br>[Mar&nbsp; 5 17:07:47] DEBUG[9866]: chan_dahdi.c:1932 dahdi_r2_write_log: <br>Chan 1 - CAS Raw Tx &gt;&gt; 0x0D<br>New MFC/R2 call detected on chan 1.<br>[Mar&nbsp; 5 17:07:47] DEBUG[9866]: chan_dahdi.c:1932 dahdi_r2_write_log: <br>Chan 1 - MF Rx &lt;&lt; 6 [ON]<br>[Mar&nbsp; 5 17:07:47] DEBUG[9866]: chan_dahdi.c:1932 dahdi_r2_write_log: <br>Chan 1 - Getting DNIS digit 6<br>[Mar&nbsp; 5 17:07:47] DEBUG[9866]: chan_dahdi.c:1932 dahdi_r2_write_log: <br>Chan 1 - DNIS so far: 6, expected length: 6<br>[Mar&nbsp; 5 17:07:47] DEBUG[9866]: chan_dahdi.c:1932 dahdi_r2_write_log: <br>Chan 1 - Requesting next DNIS with signal 0x31.<br>[Mar&nbsp; 5 17:07:47] DEBUG[9866]: chan_dahdi.c:1932
 dahdi_r2_write_log: <br>Chan 1 - MF Tx &gt;&gt; 1 [ON]<br>&nbsp; &nbsp; -- Hungup 'DAHDI/125-1'<br>&nbsp; == Spawn extension (default, 52188002227327000, 88) exited non-zero on <br>'SIP/3011-00000ce3'<br>[Mar&nbsp; 5 17:07:53] DEBUG[9866]: chan_dahdi.c:1932 dahdi_r2_write_log: <br>Chan 1 - calling timer 2 (mf_back_cycle) callback<br>[Mar&nbsp; 5 17:07:53] DEBUG[9866]: chan_dahdi.c:1932 dahdi_r2_write_log: <br>Chan 1 - MF cycle timed out, no more DNIS<br>[Mar&nbsp; 5 17:07:53] DEBUG[9866]: chan_dahdi.c:1932 dahdi_r2_write_log: <br>Chan 1 - MF Tx &gt;&gt; 5 [ON]<br>[Mar&nbsp; 5 17:07:53] DEBUG[9866]: chan_dahdi.c:1932 dahdi_r2_write_log: <br>Chan 1 - calling timer 3 (mf_back_resume_cycle) callback<br>[Mar&nbsp; 5 17:07:53] DEBUG[9866]: chan_dahdi.c:1932 dahdi_r2_write_log: <br>Chan 1 - MF Tx &gt;&gt; 5 [OFF]<br>[Mar&nbsp; 5 17:07:59] DEBUG[9866]: chan_dahdi.c:1932 dahdi_r2_write_log: <br>Chan 1 - calling timer 4 (mf_back_cycle) callback<br>[Mar&nbsp; 5
 17:07:59] WARNING[9866]: chan_dahdi.c:1922 dahdi_r2_write_log: <br>Chan 1 - MF back cycle timed out!<br>[Mar&nbsp; 5 17:07:59] ERROR[9866]: chan_dahdi.c:1925 dahdi_r2_write_log: <br>Chan 1 - Protocol error. Reason = Multi Frequency Cycle Timeout, R2 <br>State = Seize ACK Transmitted, MF state = Category Request Transmitted, <br>MF Group = Backward Group A, CAS = 0x00<br>DNIS = 6, ANI = , MF = 0x36<br>[Mar&nbsp; 5 17:07:59] DEBUG[9866]: chan_dahdi.c:1932 dahdi_r2_write_log: <br>Chan 1 - CAS Tx &gt;&gt; [IDLE] 0x08<br>[Mar&nbsp; 5 17:07:59] DEBUG[9866]: chan_dahdi.c:1932 dahdi_r2_write_log: <br>Chan 1 - CAS Raw Tx &gt;&gt; 0x09<br>[Mar&nbsp; 5 17:07:59] ERROR[9866]: chan_dahdi.c:1710 <br>dahdi_r2_on_protocol_error: MFC/R2 protocol error on chan 1: Multi <br>Frequency Cycle Timeout<br>&nbsp; &nbsp; -- Hungup 'DAHDI/127-1'<br>&nbsp; == Spawn extension (default, 52139201935630110, 88) exited non-zero on <br>'SIP/3013-00000cdd'<br>[Mar&nbsp; 5 17:08:02]
 DEBUG[9866]: chan_dahdi.c:1932 dahdi_r2_write_log: <br>Chan 1 - Bits changed from 0x00 to 0x08<br>[Mar&nbsp; 5 17:08:02] DEBUG[9866]: chan_dahdi.c:1932 dahdi_r2_write_log: <br>Chan 1 - CAS Rx &lt;&lt; [IDLE] 0x08<br>[Mar&nbsp; 5 17:08:02] NOTICE[9866]: chan_dahdi.c:1956 dahdi_r2_on_line_idle: <br>Far end unblocked on chan 1<br><br><br>----------------------------------------------------------------<br>/etc/asterisk/chan_dahdi.conf<br><br>[channels]<br>language = en<br>resetinterval = never<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>rxgain = 0.0<br>txgain = 0.0<br>callgroup = 1<br>pickupgroup = 1<br>switchtype =
 euroisdn<br>dtmfmode=rfc2833<br><br>group=2<br>context=from-r2<br>signalling=mfcr2<br>mfcr2_variant=br<br>mfcr2_max_ani=20<br>mfcr2_max_dnis=6<br>mfcr2_get_ani_first=no<br>mfcr2_category=national_subscriber<br>mfcr2_mfback_timeout=6000<br>mfcr2_forced_release=yes<br>mfcr2_immediate_accept=yes<br>mfcr2_accept_on_offer=yes<br>mfcr2_logging=all<br>channel=1-15<br>channel=17-31<br><br><br><br>-----------------------------------------------------------------<br><br>/etc/dahdi/system.conf<br><br>span=1,1,0,cas,hdb3<br>span=2,0,0,cas,hdb3<br>span=3,0,0,cas,hdb3<br>span=4,0,0,cas,hdb3<br><br>cas=1-15:1101<br>cas=17-31:1101<br>#<br>cas=32-46:1101<br>cas=48-62:1101<br>#<br>cas=63-77:1101<br>cas=79-93:1101<br>#<br>cas=94-108:1101<br>cas=110-124:1101<br><br>_______________________________________________<br>KHOMP: qualidade em placas de E1, GSM, FXS e FXO para Asterisk. <br>- Hardware com alta disponibilidade de recursos e qualidade KHOMP<br>- Suporte técnico
 local qualificado e gratuito <br>Conheça a linha completa de produtos KHOMP em <a target="_blank" href="http://www.khomp.com.br">www.khomp.com.br</a><br>_______________________________________________<br>Lista de discussões <a target="_blank" href="http://AsteriskBrasil.org">AsteriskBrasil.org</a><br><a ymailto="mailto:AsteriskBrasil@listas.asteriskbrasil.org" href="mailto:AsteriskBrasil@listas.asteriskbrasil.org">AsteriskBrasil@listas.asteriskbrasil.org</a><br><span><a target="_blank" href="http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil">http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil</a></span><br></div></div>
</div><br>



      </body></html>