<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hi Melcon, thanks for your reply. <span id="result_box" class="short_text" lang="en"><span class="hps">As</span> <span class="hps">you say,</span> <span class="hps">apparently everything</span> <span class="hps">is fine, </span></span>the PBX NEC seems send the repeated digit but I saw that the user dials the number correctly (from NEC) and the NEC not send repeated digits to Xorcom (I saw in protocol analizer), just "delay" to respond when Xorcom sends "1" and then Xorcom "gets" the previous digit, <span id="result_box" lang="en"><span class="hps">the question</span> <span class="hps">is:</span> from <span class="hps">where did it</span> <span class="hps">get?</span> <span class="hps">Or why</span> <span class="hps">"decide"</span> <span class="hps">to take the</span> previous <span class="hps"></span> <span class="hps">digit received</span> <span class="hps">when not</span> <span class="hps">receives</span> <span class="hps">a response (ACK) from</span> <span class="hps">NEC</span><span>?</span></span><br><br>For example, in this call, Xorcom receive 9<br>[Jun 26 17:51:52] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - MF Rx &lt;&lt; 9 [ON]<br>[Jun 26 17:51:52] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - Getting DNIS digit 9<br>[Jun 26 17:51:52] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - DNIS so far: 017797969, expected length: 13<br><br>Then sends tone 1 requesting next DNIS<br>[Jun 26 17:51:52] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - Requesting next DNIS with signal 0x31.<br>[Jun 26 17:51:52] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - MF Tx &gt;&gt; 1 [ON]<br><br>NEC receives tone 1 and sends tone 9 (stop)<br>[Jun 26 17:51:52] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - MF Rx &lt;&lt; 9 [OFF]<br><br>Xorcom stops to send tone 1<br>[Jun 26 17:51:52] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - MF Tx &gt;&gt; 1 [OFF]<br><br>NEC sends tone 9 (repeated), but really not sends this tone, in previous step (saw in protocol analizer) Xorcom not receives a response from NEC, <span id="result_box" lang="en"><span class="hps">then</span> <span class="hps">appears</span> <span class="hps">as if</span> <span class="hps">Xorcom</span> receives <span class="hps">tone</span> 9<span class="hps">,</span> <span class="hps">but really</span> <span class="hps">did not send</span> <span class="hps">by NEC</span></span><br>[Jun 26 17:51:53] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - MF Rx &lt;&lt; 9 [ON]<br><br>[Jun 26 17:51:53] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - Getting DNIS digit 9<br>[Jun 26 17:51:53] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - DNIS so far: 0177979699, expected length: 13<br>[Jun 26 17:51:53] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - Requesting next DNIS with signal 0x31.<br>[Jun 26 17:51:53] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - MF Tx &gt;&gt; 1 [ON]<br>[Jun 26 17:51:53] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - MF Rx &lt;&lt; 9 [OFF]<br>[Jun 26 17:51:53] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - MF Tx &gt;&gt; 1 [OFF]<br><br>Attach the call log, I donŽt have the output from the protocol analyzer,
 IŽll try make some tests and "copy" that the protocol analyzer show.<br><br>Oscar Rocha.<br><br><br><div><hr id="stopSpelling">From: melcon@gmail.com<br>Date: Wed, 3 Jul 2013 08:00:36 -0300<br>To: asterisk-r2@lists.digium.com<br>Subject: Re: [asterisk-r2] Problems with an Asterisk PBX connected with a NEC PBX via E1-R2<br><br><div dir="ltr"><div style="font-family:arial,sans-serif;font-size:13px;">How can you tell about the slow ACK? From the console you paste it, it all seems normal to me and I find very odd that the OpenR2 would repeat a digit at will.</div>

<div style="font-family:arial,sans-serif;font-size:13px;"><br></div><span style="font-family:arial,sans-serif;font-size:13px;">Can you provide the call file for this call? According to the logs and config, it should be in /var/log/asterisk/mfcr2/span1 and has a name similar to chan-5-backward-111-20130626</span><span style="font-family:arial,sans-serif;font-size:13px;">175150.call</span><div style="font-family:arial,sans-serif;font-size:13px;">

<br></div><div style="font-family:arial,sans-serif;font-size:13px;">Also, can you provide the output from the protocol analyzer for the very same call? I would like to see how the analyzer is reading those signals.</div><div style="font-family:arial,sans-serif;font-size:13px;">

<br></div><div style="font-family:arial,sans-serif;font-size:13px;"><br></div><div style="font-family:arial,sans-serif;font-size:13px;">-</div><div style="font-family:arial,sans-serif;font-size:13px;">MM</div><div style="font-family:arial,sans-serif;font-size:13px;">

<br></div></div>
<br>--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-r2 mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-r2</div>                                               </div></body>
</html>