<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 2/13/18 1:36 PM, Jonathan H wrote:<br>
    </div>
    <blockquote
cite="mid:CAEebyNUNuKHo_c4K5cPakK9xYeigb+RGS3rak=-4yeuhWkveXA@mail.gmail.com"
      type="cite">
      <div dir="ltr">Um, I may be missing something here, but if it was
        "percent", wouldn't it simply be the internationally recognised
        symbol for percent, the, um, percent symbol? %</div>
    </blockquote>
    16641/188 = 8852% is not quite 8809% but I suspect it is just a
    rounding issue.  Of couse it makes no sense to lose more than 100%
    but this is just a math formula.  I don't think there are any checks
    in the asterisk code to make sure the result of the math operation
    makes sense.<br>
    <blockquote
cite="mid:CAEebyNUNuKHo_c4K5cPakK9xYeigb+RGS3rak=-4yeuhWkveXA@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div><br>
        </div>
        <div>That's why I don't think it can be percent.</div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On 13 February 2018 at 18:32, Eric
          Wieling <span dir="ltr"><<a moz-do-not-send="true"
              href="mailto:ewieling@nyigc.com" target="_blank">ewieling@nyigc.com</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">Could this
            gap in sequence numbers caused by a codec change generate
            errors like the one below?<br>
            <br>
            [2018-02-13 12:57:43] WARNING[4917][C-0004c2cb]
            codec_sangoma.c: [526559][g722toulaw] Got Seq 15944 but
            expecting 10106 (time since last read = 0ms), dropped 5838
            packets
            <div class="HOEnZb">
              <div class="h5"><br>
                <br>
                On 02/13/2018 01:24 PM, Andres wrote:<br>
                <blockquote class="gmail_quote" style="margin:0 0 0
                  .8ex;border-left:1px #ccc solid;padding-left:1ex">
                  On 2/13/18 11:55 AM, Michael Maier wrote:<br>
                  <blockquote class="gmail_quote" style="margin:0 0 0
                    .8ex;border-left:1px #ccc solid;padding-left:1ex">
                    On 02/13/2018 at 08:41 AM Floimair Florian wrote:<br>
                    <blockquote class="gmail_quote" style="margin:0 0 0
                      .8ex;border-left:1px #ccc solid;padding-left:1ex">
                      No you're reading it wrong.<br>
                      <br>
                      There are 188K received with no loss, and 16441K
                      transmitted.<br>
                    </blockquote>
                    This doesn't make any sense to me, either. There
                    can't be more packages<br>
                    transmitted than received. It's the same codec in
                    and out and it's been<br>
                    running exactly the same time.<br>
                  </blockquote>
                  Lost and Percent (pct) are not calculated by counting
                  packets. Those are calculated from the sequence
                  numbers in the RTP frame.<br>
                  <br>
                  For example let's say you start the receiver
                  (Asterisk) at Sequence #1....then something happens
                  and it jumps to sequence #5000.  The audio might be
                  fine, but now the stats say 4998 packets were lost.
                  Why is there a bizarre sequence jump?  Hard to say.  I
                  have seen it because of bugs that eventually get fixed
                  on the CPE, or even when there is a change of codec
                  (or re-invite) mid-call.  I would not worry too much
                  about this unless you can reproduce it and can address
                  it properly at the CPE level.  A packet capture will
                  clearly confirm what I am referring to here. Just look
                  at every Sequence # in the RTP flow and you will see
                  the jump.<br>
                  <blockquote class="gmail_quote" style="margin:0 0 0
                    .8ex;border-left:1px #ccc solid;padding-left:1ex">
                    <br>
                    <blockquote class="gmail_quote" style="margin:0 0 0
                      .8ex;border-left:1px #ccc solid;padding-left:1ex">
                      ...........Receive.........
                      .........Transmit..........<br>
                      Count    Lost Pct  Jitter   Count    Lost Pct   
                      Jitter RTT....<br>
                      188K      0    0   0.000    188K   16641K 8809  
                      0.000   0.026<br>
                    </blockquote>
                       ^^^^                        ^^^^<br>
                    There are 188K received and 188K transmitted. Pct is
                    unknown - what's Pct?<br>
                    <br>
                    <br>
                    <blockquote class="gmail_quote" style="margin:0 0 0
                      .8ex;border-left:1px #ccc solid;padding-left:1ex">
                      Still 8809 does not sound like a percentage to me
                      😉 so there is something wrong with either the
                      label or the value.<br>
                       From what's in the code, you can see it's clearly
                      a lost Packet count not a percentage.<br>
                      So I guess Pct in this case is short for "Packet".<br>
                      <br>
                          With best regards<br>
                      <br>
                      Florian Floimair<br>
                      Innovation - Software-Development<br>
                      <br>
                      COMMEND INTERNATIONAL GMBH<br>
                      <a moz-do-not-send="true"
                        href="http://www.commend.com" rel="noreferrer"
                        target="_blank">http://www.commend.com</a><br>
                      <br>
                      Security and Communication by Commend<br>
                      <br>
                      FN 178618z | LG Salzburg<br>
                      <br>
                      -----Ursprüngliche Nachricht-----<br>
                      Von: <a moz-do-not-send="true"
                        href="mailto:asterisk-users-bounces@lists.digium.com"
                        target="_blank">asterisk-users-bounces@lists.d<wbr>igium.com</a>
                      [mailto:<a moz-do-not-send="true"
                        href="mailto:asterisk-users-bounces@lists.digium.com"
                        target="_blank">asterisk-users-bounces<wbr>@lists.digium.com</a>]
                      Im Auftrag von Michael Maier<br>
                      Gesendet: Montag, 12. Februar 2018 17:46<br>
                      An: <a moz-do-not-send="true"
                        href="mailto:asterisk-users@lists.digium.com"
                        target="_blank">asterisk-users@lists.digium.co<wbr>m</a><br>
                      Betreff: Re: [asterisk-users] What does pct mean?<br>
                      <br>
                      Hi Carsten,<br>
                      <br>
                      On 02/11/2018 at 07:46 PM Carsten Bock wrote:<br>
                      <blockquote class="gmail_quote" style="margin:0 0
                        0 .8ex;border-left:1px #ccc
                        solid;padding-left:1ex">
                        Hi,<br>
                        <br>
                        Lost percent (%)....<br>
                      </blockquote>
                      Are you sure? I'm seeing here:<br>
                      <br>
                      ...........Receive.........
                      .........Transmit..........<br>
                      Count    Lost Pct  Jitter   Count    Lost Pct   
                      Jitter RTT....<br>
                      188K      0    0   0.000    188K   16641K 8809  
                      0.000   0.026<br>
                      <br>
                      => This doesn't sound reliable to me: there are
                      188K packets and 16641K of them are lost?! The Pct
                      value is fluctuating between about 6009 and 9009.<br>
                      <br>
                      Thanks,<br>
                      Michael<br>
                      <br>
                      <br>
                      <blockquote class="gmail_quote" style="margin:0 0
                        0 .8ex;border-left:1px #ccc
                        solid;padding-left:1ex">
                        <br>
                        Am 11.02.2018 19:27 schrieb "Michael Maier" <<a
                          moz-do-not-send="true"
                          href="mailto:m1278468@mailbox.org"
                          target="_blank">m1278468@mailbox.org</a>>:<br>
                        <br>
                        <blockquote class="gmail_quote" style="margin:0
                          0 0 .8ex;border-left:1px #ccc
                          solid;padding-left:1ex">
                          Hello,<br>
                          <br>
                          could somebody please tell me the meaning of
                          "Pct" as seen in asterisk cli:<br>
                          <br>
                          ...........Receive.........
                          .........Transmit..........<br>
                          Count    Lost Pct  Jitter   Count    Lost Pct 
                          Jitter RTT....<br>
                          <br>
                          <br>
                          Thanks,<br>
                          Michael<br>
                        </blockquote>
                      </blockquote>
                      -- <br>
                      ______________________________<wbr>______________________________<wbr>_________<br>
                      -- Bandwidth and Colocation Provided by <a
                        moz-do-not-send="true"
href="https://linkprotect.cudasvc.com/url?a=http://www.api-digital.com&c=E,1,uxGzivqW6oZ241hxc5A3oz1rZf6JLog-Gi4ziwN-95NzbE_HEndRkD8LLLem_gvmmxd5k_T95J2jepit1IpIkZ2AxkG4RSoADT-AMulX4hxaaQ,,&typo=1"
                        rel="noreferrer" target="_blank">https://linkprotect.cudasvc.co<wbr>m/url?a=http://www.api-digital<wbr>.com&c=E,1,uxGzivqW6oZ241hxc5A<wbr>3oz1rZf6JLog-Gi4ziwN-95NzbE_HE<wbr>ndRkD8LLLem_gvmmxd5k_T95J2jepi<wbr>t1IpIkZ2AxkG4RSoADT-AMulX4hxaa<wbr>Q,,&typo=1</a>
                      <br>
                      -- <br>
                      <br>
                      Check out the new Asterisk community forum at: <a
                        moz-do-not-send="true"
                        href="https://community.asterisk.org/"
                        rel="noreferrer" target="_blank">https://community.asterisk.org<wbr>/</a><br>
                      <br>
                      New to Asterisk? Start here:<br>
                      <a moz-do-not-send="true"
                        href="https://wiki.asterisk.org/wiki/display/AST/Getting+Started"
                        rel="noreferrer" target="_blank">https://wiki.asterisk.org/wiki<wbr>/display/AST/Getting+Started</a><br>
                      <br>
                      asterisk-users mailing list<br>
                      To UNSUBSCRIBE or update options visit:<br>
                      <a moz-do-not-send="true"
href="https://linkprotect.cudasvc.com/url?a=http://lists.digium.com/mailman/listinfo/asterisk-users&c=E,1,wIdvPI63-ImQqWZFblrmlGJbQ_cbmu31TlSPHYv9kAkHrNRLdIAjL2IUr9sVYxm6piHc0Pf2Zna7zuNOJ2hb4CVzp2WYVDsgZJqAyHt2YkVuGQ,,&typo=1"
                        rel="noreferrer" target="_blank">https://linkprotect.cudasvc.co<wbr>m/url?a=http://lists.digium.co<wbr>m/mailman/listinfo/asterisk-us<wbr>ers&c=E,1,wIdvPI63-ImQqWZFblrm<wbr>lGJbQ_cbmu31TlSPHYv9kAkHrNRLdI<wbr>AjL2IUr9sVYxm6piHc0Pf2Zna7zuNO<wbr>J2hb4CVzp2WYVDsgZJqAyHt2YkVuGQ<wbr>,,&typo=1</a><br>
                      <br>
                    </blockquote>
                    <br>
                  </blockquote>
                  <br>
                  <br>
                </blockquote>
                <br>
                <br>
                -- <br>
              </div>
            </div>
            <div class="HOEnZb">
              <div class="h5">
                ______________________________<wbr>______________________________<wbr>_________<br>
                -- Bandwidth and Colocation Provided by <a
                  moz-do-not-send="true"
                  href="http://www.api-digital.com" rel="noreferrer"
                  target="_blank">http://www.api-digital.com</a> --<br>
                <br>
                Check out the new Asterisk community forum at: <a
                  moz-do-not-send="true"
                  href="https://community.asterisk.org/"
                  rel="noreferrer" target="_blank">https://community.asterisk.org<wbr>/</a><br>
                <br>
                New to Asterisk? Start here:<br>
                     <a moz-do-not-send="true"
                  href="https://wiki.asterisk.org/wiki/display/AST/Getting+Started"
                  rel="noreferrer" target="_blank">https://wiki.asterisk.org/wik<wbr>i/display/AST/Getting+Started</a><br>
                <br>
                asterisk-users mailing list<br>
                To UNSUBSCRIBE or update options visit:<br>
                  <a moz-do-not-send="true"
                  href="http://lists.digium.com/mailman/listinfo/asterisk-users"
                  rel="noreferrer" target="_blank">http://lists.digium.com/mailma<wbr>n/listinfo/asterisk-users</a></div>
            </div>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
    </blockquote>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 
Technical Support
</pre>
  </body>
</html>