<div dir="ltr"><div>Hi Moy, after change, we can´t complete outbound calls, reporting this error below:<br>[2015-02-23 17:18:27] WARNING[11069]: chan_dahdi.c:2001 dahdi_r2_write_log: Chan 96 - MF back cycle timed out!<br>[2015-02-23 17:18:27] ERROR[11069]: chan_dahdi.c:2004 dahdi_r2_write_log: Chan 96 - 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 = 040020022, ANI = , MF = 0x20<br><br></div>Why reason this happening?<br><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-02-23 15:27 GMT-03:00 Josué Conti <span dir="ltr"><<a href="mailto:josueconti@gmail.com" target="_blank">josueconti@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Moy, thanks in advanced my friend.<br>Even using the configurations below, is mandatory the mf_g1_tones.no_more_dnis_available=F on the r2proto.conf file? Just the "mf_g1_tones.no_more_dnis_available=F", right?<span class=""><br><br>;Sangoma A104 port 4 [slot:4 bus:9 span:4] <wanpipe4> MFCR2 S/CRC4 HIPATH 4000 v6.0<br>signalling=mfcr2<br>mfcr2_variant=br<br>mfcr2_immediate_accept=no<br>mfcr2_get_ani_first=no<br>mfcr2_max_ani=8<br>mfcr2_max_dnis=20<br>mfcr2_category=national_subscriber<br>mfcr2_logdir=hipath<br>mfcr2_call_files=yes<br>mfcr2_logging=all<br>mfcr2_allow_collect_calls=yes<br>mfcr2_double_answer=no<br>mfcr2_metering_pulse_timeout=4000<br>; Needed because this PABX delay digits forward<br>mfcr2_mfback_timeout=5000<br>mfcr2_charge_calls=yes<br>; This PABX tends to bug without this<br>mfcr2_forced_release=yes<br>;mfcr2_metering_pulse_timeout=-1<br></span>;mfcr2_advanced_protocol_file=/usr/etc/r2proto.conf - I´ll configure the r2proto.conf just with: "mf_g1_tones.no_more_dnis_available=F"<span class=""><br>context=default<br>group=2<br>channel => 94-108:1101<br>channel => 110-124:1101<br><br></span></div><div class="gmail_extra"><br><div class="gmail_quote">2015-02-23 15:17 GMT-03:00 Moises Silva <span dir="ltr"><<a href="mailto:moises.silva@gmail.com" target="_blank">moises.silva@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote"><span>On Mon, Feb 23, 2015 at 12:12 PM, Josué Conti <span dir="ltr"><<a href="mailto:josueconti@gmail.com" target="_blank">josueconti@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div><div>[2015-02-19 11:23:27] ERROR[10903]: chan_dahdi.c:2004
dahdi_r2_write_log: Chan 105 - Protocol error. Reason = Invalid Multi
Frequency Tone, R2 State = Seize ACK Transmitted, MF state = DNIS
Request Transmitted, MF Group = Backward Group A, CAS = 0x00<br>
DNIS = 00019054741990, ANI = , MF = 0x46<br>
[2015-02-19 11:23:27] ERROR[10903]: chan_dahdi.c:1789
dahdi_r2_on_protocol_error: MFC/R2 protocol error on chan 105: Invalid
Multi Frequency Tone<br></div></div></div></blockquote><div><br></div></span><div>From these logs, this is an inbound cal (R2 state is Seize ACK Transmitted). It seems a lot of DNS has been received already (full number 00019054741990). The error occurs when trying to request more DNIS (MF State = DNIS Request Transmitted). The error is that the MF tone received (0x46) is unexpected (that tone is 'F').</div><div><br></div><div>It seems they are trying to send you an 'F' digit, possbily to indicate 'No More DNIS Available'. In the Brazilian variant that is not valid. You can work-around it by creating a custom r2proto.conf file with this:</div><div><br></div><div>mf_g1_tones.no_more_dnis_available=F</div></div></div><div class="gmail_extra"><br></div><div class="gmail_extra">That will accept tone 'F' to indicate no more DNIS available.</div><div class="gmail_extra"><br></div><div class="gmail_extra">Cheers,</div><div class="gmail_extra"><br></div><div class="gmail_extra">Moy</div><div class="gmail_extra"><br clear="all"><div><div><div dir="ltr"><p style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-family:'Courier New';color:rgb(31,73,125)">Moises Silva<u></u><u></u></span></p><p style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-family:'Courier New';color:rgb(31,73,125)">Manager, Software Engineering<u></u><u></u></span></p><p style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-family:'Courier New';color:rgb(31,73,125)"><u></u> <u></u></span></p><p style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-family:'Courier New';color:rgb(31,73,125)">Sangoma Technologies<u></u><u></u></span></p><p style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-family:'Courier New';color:rgb(31,73,125)">100 Renfrew Drive, Suite 100, Markham, Ontario, Canada L3R 9R6<u></u><u></u></span></p><p style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-family:'Courier New';color:rgb(31,73,125)">T <a value="+19054741990">+1 905 474 1990</a> x128 | toll-free in North America <a value="+18003882475">+1 800 388-2475</a> | F <a value="+19054749223">+1 905 474 9223</a><u></u><u></u></span></p><p style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-family:'Courier New';color:rgb(31,73,125)"><a href="http://www.sangoma.com/" target="_blank">www.sangoma.com</a><u></u><u></u></span></p><p style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-family:'Courier New';color:rgb(31,73,125)"><u></u> <u></u></span></p><p style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-family:'Courier New';color:rgb(31,73,125)"><u></u> <u></u></span></p><p style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-family:'Courier New';color:rgb(31,73,125)">Email Preferences: Click here <a href="http://bit.ly/1qCfYNA" target="_blank">http://bit.ly/1qCfYNA</a> to opt out of future communication from Sangoma.</span></p><div><span style="font-family:'Courier New';color:rgb(31,73,125)"><br></span></div></div></div></div></div></div>
<br></div></div><span class="HOEnZb"><font color="#888888">--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" 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" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-r2</a><br></font></span></blockquote></div><br></div>
</blockquote></div><br></div>