<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi Diego<br>
    <br>
    As I told you , I believe your problem is not related to the mfcr2
    variant.<br>
    This seems more like a timing, phisical or drivers problem to me.<br>
    <br>
    You use Sangoma and Wanpipe , and I have not experience in those.<br>
    <br>
    Can anyone check if this might be related to a hardware / drivers
    issue?<br>
    <br>
    <br>
    <br>
    <pre class="moz-signature" cols="72">Juan R. Cuervo Soto
Quality Telecom Ltd
<a class="moz-txt-link-abbreviated" href="http://www.quality-telecom.net">www.quality-telecom.net</a>
PBX : (575) 3693300
CEL : (57)  301-4174865</pre>
    <br>
    El 20/01/2012 11:46 a.m., Diego Pinzon escribi&oacute;:
    <blockquote cite="mid:SNT106-W29F8B30E454F73AB1738A2D4870@phx.gbl"
      type="cite">
      <style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
      <div dir="ltr">
        <div><br>
        </div>
        <div>Hi EveryBody, after teste "ar" variant the issue still
          hungup incoming calls.</div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div>[Jan 20 11:23:14] WARNING[19197] app_dial.c: Unable to
          forward voice frame</div>
        <div>[Jan 20 11:26:24] ERROR[19140] chan_dahdi.c: Chan 33 -
          Protocol error. Reason = Invalid CAS, R2 State = Clear Forward
          Transmitted, MF state = MF Engine Off, MF Group = Forward
          Group II, CAS = 0x04</div>
        <div>DNIS = 5848484, ANI = 3175131107, MF = 0x20</div>
        <div>[Jan 20 11:26:24] ERROR[19140] chan_dahdi.c: MFC/R2
          protocol error on chan 33: Invalid CAS</div>
        <div>[Jan 20 11:26:24] NOTICE[19140] chan_dahdi.c: Far end
          unblocked on chan 33</div>
        <div>[Jan 20 11:27:01] WARNING[19139] chan_dahdi.c: Chan 20 - MF
          back cycle timed out!</div>
        <div>[Jan 20 11:27:01] ERROR[19139] chan_dahdi.c: Chan 20 -
          Protocol error. Reason = Multi Frequency Cycle Timeout, R2
          State = Seize ACK Transmitted, MF state = ANI Request
          Transmitted, MF Group = Backward Group A, CAS = 0x00</div>
        <div>DNIS = 5, ANI = 31751311, MF = 0x31</div>
        <div>[Jan 20 11:27:01] ERROR[19139] chan_dahdi.c: MFC/R2
          protocol error on chan 20: Multi Frequency Cycle Timeout</div>
        <div>[Jan 20 11:27:01] NOTICE[19139] chan_dahdi.c: Far end
          unblocked on chan 20</div>
        <div><br>
        </div>
        <div><br>
        </div>
        Regards,
        <div>Diego Pinzon</div>
        <div><br>
          <div>
            <hr id="stopSpelling">Date: Fri, 20 Jan 2012 09:10:05 -0500<br>
            From: <a class="moz-txt-link-abbreviated" href="mailto:juanrcuervo@quality-telecom.net">juanrcuervo@quality-telecom.net</a><br>
            To: <a class="moz-txt-link-abbreviated" href="mailto:asterisk-r2@lists.digium.com">asterisk-r2@lists.digium.com</a><br>
            CC: <a class="moz-txt-link-abbreviated" href="mailto:diego_p_29@hotmail.com">diego_p_29@hotmail.com</a>; <a class="moz-txt-link-abbreviated" href="mailto:eduardosolando85@gmail.com">eduardosolando85@gmail.com</a><br>
            Subject: Re: [asterisk-r2] Incoming Calls hungup using MFCR2
            Protocol<br>
            <br>
            <meta http-equiv="Content-Type" content="text/html;
              charset=ISO-8859-1">
            <meta name="Generator" content="Microsoft SafeHTML">
            Hi Diego<br>
            <br>
            I have been working for a while in Barranquilla with both
            PSTN providers (telecom , Metrotel).<br>
            You should try the Argentina variant of MFCR2. (AR), it
            works fine for me.<br>
            <br>
            Anyway, I believe you have a problem apart from the
            signalling variant. can you please post your system.conf
            (dahdi) configuration file and your chan_dahdi.conf<br>
            <br>
            Regards,<br>
            <br>
            <pre class="ecxmoz-signature">Juan R. Cuervo Soto
Quality Telecom Ltd
<a moz-do-not-send="true" class="ecxmoz-txt-link-abbreviated" href="http://www.quality-telecom.net" target="_blank">www.quality-telecom.net</a>
PBX : (575) 3693300
CEL : (57)  301-4174865</pre>
            <br>
            El 20/01/2012 07:17 a.m., Diego Pinzon escribi&oacute;:
            <blockquote
              cite="mid:SNT106-W2970C2CF86306C83B34CA8D4870@phx.gbl">
              <style>
.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{font-size:10pt;font-family:Tahoma;}

</style>
              <div dir="ltr">
                <div><br>
                </div>
                <div>Hi, EveryBody.</div>
                <div><br>
                </div>
                <div>I have some problems with a MFCR2 Protocol and
                  Colombian TELCO. Some calls hungup or after answer the
                  operator and other calls reamin silent.</div>
                <div><br>
                </div>
                <div>The main problems are:</div>
                <div>1. The channels are swithching between "Zap alarm"
                  and "Far en ublocked on chan.."</div>
                <div>2. Protocol Error, INVALID CAS</div>
                <div>3. Protocol Error...&nbsp;<span style="font-size:10pt">&nbsp;Invalid

                    Multi Frequency Tone</span></div>
                <div><br>
                </div>
                <div>I need your help to fix it, I teste itu, ar, br
                  variants and the issue didnt fix. Please any advice
                  will be ready for testing</div>
                <div><br>
                </div>
                <div><br>
                </div>
                <u>System Details:</u>
                <div>A102 Sangoma&nbsp;<br>
                  <div>MFC.R2 Variant: CO</div>
                  <div>Asterisk-1.4.32</div>
                  <div>dahdi-linux-2.5.0.2</div>
                  <div>dahdi-tools-2.5.0.2</div>
                  <div>openr2-1.3.2</div>
                  <div>Openr2-asterisk-1.4.32-p1.patch</div>
                  <div>wanpipe-3.5.24<br
                      class="ecxApple-interchange-newline">
                    <div><br>
                    </div>
                    <div>Diego Pinzon</div>
                    <div><br>
                    </div>
                    <div>Log:</div>
                    <div><br>
                    </div>
                    <div>
                      <div>Jan 19 23:46:23] NOTICE[8636] cdr.c: CDR
                        simple logging enabled.</div>
                      <div>[Jan 19 23:46:23] NOTICE[8636] loader.c: 146
                        modules will be loaded.</div>
                      <div>[Jan 19 23:46:23] WARNING[8636] res_smdi.c:
                        No SMDI interfaces are available to listen on,
                        not starting SMDI listener.</div>
                      <div>[Jan 19 23:46:23] ERROR[8636] codec_dahdi.c:
                        Failed to open /dev/dahdi/transcode: No such
                        file or directory</div>
                      <div>[Jan 19 23:46:23] NOTICE[8654] chan_dahdi.c:
                        Far end unblocked on chan 32</div>
                      <div>[Jan 19 23:46:23] NOTICE[8654] chan_dahdi.c:
                        Far end unblocked on chan 33</div>
                      <div>[Jan 19 23:46:23] NOTICE[8654] chan_dahdi.c:
                        Far end unblocked on chan 34</div>
                    </div>
                    <div>....</div>
                    <div><br>
                    </div>
                    <div>
                      <div>---------------------------------------------------------------------------------

                        RED ALARM .........................</div>
                      <div>[Jan 20 00:08:00] WARNING[8652] chan_dahdi.c:
                        Detected alarm on channel 1: Red Alarm</div>
                      <div>[Jan 20 00:08:00] WARNING[8652] chan_dahdi.c:
                        Zap alarm on chan 1.</div>
                      <div><span style="font-size:10pt">....</span></div>
                    </div>
                    <div>
                      <div>[Jan 20 00:08:00] WARNING[8653] chan_dahdi.c:
                        Zap alarm on chan 31.</div>
                      <div>[Jan 20 00:08:00] WARNING[8652] chan_dahdi.c:
                        Detected alarm on channel 5: Red Alarm</div>
                    </div>
                    <div><br>
                    </div>
                    <div>.....................................................................................................

                      PROTOCOL ERROR ........................</div>
                    <div><br>
                    </div>
                    <div>
                      <div>[Jan 20 00:28:10] NOTICE[8653] chan_dahdi.c:
                        Alarm cleared on channel 31</div>
                      <div>[Jan 20 00:28:10] WARNING[8653] chan_dahdi.c:
                        Zap alarm on chan 31.</div>
                      <div>[Jan 20 00:34:04] ERROR[8652] chan_dahdi.c:
                        Chan 1 - Protocol error. Reason = Invalid CAS,
                        R2 State = Idle, MF state = MF Engine Off, MF
                        Group = No Group, CAS = 0x04</div>
                      <div>DNIS = , ANI = , MF = 0x20</div>
                      <div>[Jan 20 00:34:04] ERROR[8652] chan_dahdi.c:
                        MFC/R2 protocol error on chan 1: Invalid CAS</div>
                      <div>[Jan 20 00:34:04] ERROR[8652] chan_dahdi.c:
                        Chan 2 - Protocol error. Reason = Invalid CAS,
                        R2 State = Idle, MF state = MF Engine Off, MF
                        Group = No Group, CAS = 0x04</div>
                      <div>DNIS = , ANI = , MF = 0x20</div>
                      <div>[Jan 20 00:34:04] ERROR[8652] chan_dahdi.c:
                        MFC/R2 protocol error on chan 2: Invalid CAS</div>
                      <div>[Jan 20 00:34:04] ERROR[8652] chan_dahdi.c:
                        Chan 3 - Protocol error. Reason = Invalid CAS,
                        R2 State = Idle, MF state = MF Engine Off, MF
                        Group = No Group, CAS = 0x04</div>
                      <div>DNIS = , ANI = , MF = 0x20</div>
                      <div>[Jan 20 00:34:04] ERROR[8652] chan_dahdi.c:
                        MFC/R2 protocol error on chan 3: Invalid CAS</div>
                      <div>[Jan 20 00:34:04] NOTICE[8652] chan_dahdi.c:
                        Far end blocked on chan 4</div>
                    </div>
                    <div><br>
                    </div>
                    <div>
                      <div>.....................................................................................................

                        PROTOCOL ERROR ........................</div>
                    </div>
                    <div><br>
                    </div>
                    <div>
                      <div><span style="font-size:10pt">[Jan 20
                          03:45:21] ERROR[11754] chan_dahdi.c: Chan 32 -
                          Protocol error. Reason = Invalid Multi
                          Frequency Tone, R2 State = Seize ACK Received,
                          MF state = Category Transmitted, MF Group =
                          Forward Group II, CAS = 0x0C</span></div>
                      <div>DNIS = 5848484, ANI = 55702714, MF = 0x33</div>
                      <div>[Jan 20 03:45:21] ERROR[11754] chan_dahdi.c:
                        MFC/R2 protocol error on chan 32: Invalid Multi
                        Frequency Tone</div>
                      <div>[Jan 20 03:45:21] WARNING[11754] app_dial.c:
                        Unable to forward voice or dtmf</div>
                      <div>[Jan 20 03:45:21] ERROR[11754] chan_dahdi.c:
                        Chan 32 - Trying to dial out in a non-idle
                        channel (cas=0x0C)</div>
                      <div>[Jan 20 03:45:21] ERROR[11754] chan_dahdi.c:
                        unable to make new MFC/R2 call!</div>
                      <div>[Jan 20 03:45:21] NOTICE[8654] chan_dahdi.c:
                        Far end unblocked on chan 32</div>
                      <div>[Jan 20 03:59:43] WARNING[8652] chan_dahdi.c:
                        Detected alarm on channel 1: Red Alarm</div>
                    </div>
                    <div><br>
                    </div>
                    <div><br>
                    </div>
                    <div>......................................................................................................................................................................</div>
                  </div>
                </div>
                <div>chan_dahdi.conf</div>
                <div><br>
                </div>
                <div>
                  <div><br>
                  </div>
                  <div>[channels]</div>
                  <div>context=default</div>
                  <div>usecallerid=yes</div>
                  <div>hidecallerid=no</div>
                  <div>callwaiting=yes</div>
                  <div>usecallingpres=yes</div>
                  <div>callwaitingcallerid=yes</div>
                  <div>threewaycalling=yes</div>
                  <div>transfer=yes</div>
                  <div>canpark=yes</div>
                  <div>cancallforward=yes</div>
                  <div>callreturn=yes</div>
                  <div>echocancel=no</div>
                  <div>echocancelwhenbridged=no</div>
                  <div>relaxdtmf=yes</div>
                  <div>rxgain=0.0</div>
                  <div>txgain=0.0</div>
                  <div>group=1</div>
                  <div>callgroup=1</div>
                  <div>pickupgroup=1</div>
                  <div>immediate=no</div>
                  <div>;Sangoma A102 port 1 [slot:10 bus:1 span:1]
                    &lt;wanpipe1&gt;</div>
                  <div><br>
                  </div>
                  <div>signalling=mfcr2</div>
                  <div>mfcr2_variant=co</div>
                  <div>mfcr2_get_ani_first=yes</div>
                  <div><span style="font-size:10pt">mfcr2_max_ani=10</span></div>
                  <div>mfcr2_max_dnis=7</div>
                  <div>mfcr2_category=national_subscriber</div>
                  <div>mfcr2_mfback_timeout=-1</div>
                  <div>mfcr2_metering_pulse_timeout=-1</div>
                  <div><span style="font-size:10pt">mfcr2_logdir=log</span></div>
                  <div>mfcr2_logging=all</div>
                  <div><br>
                  </div>
                  <div>context=from-pstn</div>
                  <div><span style="font-size:10pt">switchtype=euroisdn</span></div>
                  <div>group=0</div>
                  <div>faxdetect=incoming</div>
                  <div>signalling=mfcr2</div>
                  <div>channel =&gt; 1-15,17-31</div>
                  <div><br>
                  </div>
                  <div>;Sangoma A102 port 2 [slot:10 bus:1 span:2]
                    &lt;wanpipe2&gt;</div>
                  <div>switchtype=euroisdn</div>
                  <div>context=from-pbx</div>
                  <div>group=1</div>
                  <div>faxdetect=incoming</div>
                  <div>signalling=mfcr2</div>
                  <div>mfcr2_variant=co</div>
                  <div>mfcr2_max_ani=10</div>
                  <div>mfcr2_max_dnis=7</div>
                  <div>mfcr2_category=national_subscriber</div>
                  <div>mfcr2_mfback_timeout=-1</div>
                  <div>mfcr2_metering_pulse_timeout=-1</div>
                  <div><span style="font-size:10pt">mfcr2_logdir=log</span></div>
                  <div>mfcr2_logging=all</div>
                  <div><span style="font-size:10pt">channel =&gt;
                      32-46,48-62</span></div>
                </div>
                <div><br>
                </div>
                <div><br>
                </div>
                <div>...............................................................................</div>
                <div>system.conf</div>
                <div><br>
                </div>
                <div>
                  <div>loadzone=us</div>
                  <div>defaultzone=us</div>
                  <div><br>
                  </div>
                  <div>#Sangoma A102 port 1 [slot:10 bus:1 span:1]
                    &lt;wanpipe1&gt;</div>
                  <div>span=1,1,0,cas,hdb3</div>
                  <div>cas=1-15:1101</div>
                  <div>dchan=16</div>
                  <div>cas=17-31:1101</div>
                  <div><br>
                  </div>
                  <div>#Sangoma A102 port 2 [slot:10 bus:1 span:2]
                    &lt;wanpipe2&gt;</div>
                  <div>span=2,0,0,cas,hdb3</div>
                  <div>cas=32-46:1101</div>
                  <div>dchan=47</div>
                  <div>cas=48-62:1101</div>
                </div>
                <div><br>
                </div>
                <div><br>
                </div>
              </div>
              <br>
              <fieldset class="ecxmimeAttachmentHeader"></fieldset>
              <br>
              <pre>--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by <a moz-do-not-send="true" class="ecxmoz-txt-link-freetext" href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --

asterisk-r2 mailing list
To UNSUBSCRIBE or update options visit:
   <a moz-do-not-send="true" class="ecxmoz-txt-link-freetext" href="http://lists.digium.com/mailman/listinfo/asterisk-r2" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-r2</a></pre>
              <br>
              <fieldset class="ecxmimeAttachmentHeader"></fieldset>
              <br>
              <p class="ecx" align="left">Se certific&oacute; que el correo no
                contiene virus.<br>
                Comprobada por AVG - <a moz-do-not-send="true"
                  href="http://www.avg.es" target="_blank">www.avg.es</a><br>
                Versi&oacute;n: 2012.0.1901 / Base de datos de virus: 2109/4754
                - Fecha de la versi&oacute;n: 19/01/2012</p>
            </blockquote>
          </div>
        </div>
      </div>
      <p class="" avgcert""="" color="#000000" align="left">Se certific&oacute;
        que el correo no contiene virus.<br>
        Comprobada por AVG - <a moz-do-not-send="true"
          href="http://www.avg.es">www.avg.es</a><br>
        Versi&oacute;n: 2012.0.1901 / Base de datos de virus: 2109/4755 - Fecha
        de la versi&oacute;n: 20/01/2012</p>
    </blockquote>
  </body>
</html>