Hello again.<br><br>We have been working on this problem together with redfone support team. They changed some parameters in the NIC connected to the redfone foneBRIDGE. They asked us to install ethtool on the server and they added these lines on rc.local<br>
<br>ethtool -C eth0 rx-usecs 0<br>ethtool -C eth0 rx-frames 1<br>ethtool -C eth0 rx-usecs-irq 0<br>ethtool -C eth0 rx-frames-irq 1<br><br>ethtool -C eth0 tx-usecs 0<br>ethtool -C eth0 tx-frames 250<br>ethtool -C eth0 tx-usecs-irq 0<br>
ethtool -C eth0 tx-frames-irq 250<br><br><br>Now, calls are ok in both directions. Once they are established they remain this state until the user hangs up.<br><br>Even though, sometimes we can see the following error on asterisk cli.<br>
<br>[Aug 3 15:45:06] ERROR[4800]: chan_dahdi.c:1925 dahdi_r2_write_log: Chan 19 - Protocol error. Reason = Multi Frequency Cycle Timeout, R2 State = Seize ACK Transmitted, MF state = ANI Request Transmitted, MF Group = Backward Group A, CAS = 0x00<br>
DNIS = 5536254, ANI = 722, MF = 0x20<br>[Aug 3 15:45:06] ERROR[4800]: chan_dahdi.c:1710 dahdi_r2_on_protocol_error: MFC/R2 protocol error on chan 19: Multi Frequency Cycle Timeout<br>[Aug 3 15:45:06] NOTICE[4800]: chan_dahdi.c:1956 dahdi_r2_on_line_idle: Far end unblocked on chan 19<br>
<br>In this one, it seems like the asterisk server couldn't get the full ANI.<br><br><br><br>[Aug 3 15:55:12] ERROR[4801]: chan_dahdi.c:1925 dahdi_r2_write_log: Chan 28 - Protocol error. Reason = Multi Frequency Cycle Timeout, R2 State = Seize ACK Transmitted, MF state = DNIS Request Transmitted, MF Group = Backward Group A, CAS = 0x00<br>
DNIS = 422, ANI = , MF = 0x20<br>[Aug 3 15:55:12] ERROR[4801]: chan_dahdi.c:1710 dahdi_r2_on_protocol_error: MFC/R2 protocol error on chan 28: Multi Frequency Cycle Timeout<br>[Aug 3 15:55:12] NOTICE[4801]: chan_dahdi.c:1956 dahdi_r2_on_line_idle: Far end unblocked on chan 28<br>
<br>In this one, it seems like asterisk server couldn't get the full DNIS.<br><br>both max_ani and max_dnis parameters are set on 20.<br><br><br><br>[Aug 3 15:50:10] ERROR[6813]: chan_dahdi.c:1925 dahdi_r2_write_log: Chan 14 - Protocol error. Reason = Invalid CAS, R2 State = Seize ACK Received, MF state = ANI Digit Transmitted, MF Group = Forward Group I, CAS = 0x08<br>
DNIS = 028, ANI = 24464143, MF = 0x20<br>[Aug 3 15:50:10] ERROR[6813]: chan_dahdi.c:1710 dahdi_r2_on_protocol_error: MFC/R2 protocol error on chan 14: Invalid CAS<br> -- Hungup 'DAHDI/14-1'<br> == Everyone is busy/congested at this time (1:0/0/1)<br>
-- Auto fallthrough, channel 'DAHDI/100-1' status is 'CHANUNAVAIL'<br>Chan 100 - Far end disconnected. Reason: Normal Clearing<br><br>This one is an incoming call.<br><br><br>Thanks for any help.<br><br clear="all">
<br>-- <br> .''`. <br> : :' :<br> `. `'`<br> `-<br><div>Juan Pablo Villarreal<br>Ingeniero Electrónico<br>email: <a href="mailto:jvillarreal@opengroupsa.com" target="_blank">jvillarreal@opengroupsa.com</a><br>
Santiago de Cali<br>
</div>Colombia<br><br>