<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Hi Richard!<br>
    </p>
    <p>On 14/05/2021 16:08, Richard Fuchs wrote:<br>
    </p>
    <blockquote type="cite"
      cite="mid:2c2a0439-4917-189c-74f8-923910e9ad6e@sipwise.com">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <p>Are your RTP clients sending RTCP? MOS calculation depends on
        RTCP. You can look in rtpengine's log, at the end of the call
        the MOS score is logged together with other stream stats.</p>
    </blockquote>
    <p>OK, this could be the issue. I don't control the clients here. <br>
    </p>
    <blockquote type="cite"
      cite="mid:2c2a0439-4917-189c-74f8-923910e9ad6e@sipwise.com">
      <p>In more recent versions of rtpengine you can enable local RTCP
        generation and this should give you stats even if the clients
        don't send RTCP.</p>
    </blockquote>
    <p>I am running rtpengine 8.5.3.2 - how would I enable this feature
      or what version would I need?<br>
    </p>
    <p>Thanks</p>
    <p>-Barry<br>
    </p>
    <blockquote type="cite"
      cite="mid:2c2a0439-4917-189c-74f8-923910e9ad6e@sipwise.com">
      <p>Cheers</p>
      <p><br>
      </p>
      <div class="moz-cite-prefix">On 14/05/2021 09.52, [ EXT ] Barry
        Flanagan wrote:<br>
      </div>
      <blockquote type="cite"
        cite="mid:d17fd137-519c-5600-def7-fd2af3e68a8f@flanagan.ie">Hi <br>
        <br>
        Using Kamailio 5.4.4 on Debian Buster. I am trying to get
        feedback of the MOS scores at call end. However the variables
        are always <null>. <br>
        <br>
        I have the modparams set as follows: <br>
        <br>
        # ----- rtpengine params ----- <br>
        modparam("rtpengine", "rtpengine_sock", "udp:localhost:2223") <br>
        modparam("rtpengine", "rtpengine_disable_tout", -1) <br>
        modparam("rtpengine", "rtpengine_tout_ms", 2000) <br>
        modparam("rtpengine", "rtpengine_allow_op", 1) <br>
        modparam("rtpengine", "mos_min_pv", "$avp(s:mos_min)") <br>
        modparam("rtpengine", "mos_max_pv", "$avp(s:mos_max)") <br>
        modparam("rtpengine", "mos_average_pv", "$avp(s:mos_avg)") <br>
        modparam("rtpengine", "mos_average_packetloss_pv",
        "$avp(s:mos_avg_packetloss)") <br>
        modparam("rtpengine", "mos_average_jitter_pv",
        "$avp(s:mos_avg_jitter)") <br>
        modparam("rtpengine", "mos_average_roundtrip_pv",
        "$avp(s:mos_avg_roundtrip)") <br>
        <br>
        I am trying to log the values from within the dialog:end
        event_route: <br>
        <br>
        event_route[dialog:end] { <br>
            rtpengine_delete(); <br>
            xlog("L_INFO","mos_avg=$avp(mos_avg),
        packetloss_avg=$avp(mos_avg_packetloss),
        jitter_avg=$avp(mos_avg_jitter),
        latency_avg=$avp(mos_avg_roundtrip), sip_last_reply=$rs   -
        $ci\n"); <br>
            return; <br>
        } <br>
        <br>
        Am I missing something? I have tried rtpengine_query and
        rtpengine_manage in place of the _delete and also tried placing
        this in the BYE handling section of WITHIN_DIALOG but no joy. <br>
        <br>
        Any assistance much appreciated! <br>
        <br>
        -Barry <br>
        <br>
        <br>
        <br>
        <br>
        <br>
        <fieldset class="mimeAttachmentHeader"></fieldset>
        <pre class="moz-quote-pre" wrap="">__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
  * <a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org" moz-do-not-send="true">sr-users@lists.kamailio.org</a>
Important: keep the mailing list in the recipients, do not reply only to the sender!
Edit mailing list options or unsubscribe:
  * <a class="moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" moz-do-not-send="true">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
      </blockquote>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
  * <a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a>
Important: keep the mailing list in the recipients, do not reply only to the sender!
Edit mailing list options or unsubscribe:
  * <a class="moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
    </blockquote>
    <pre class="moz-signature" cols="72">-- 
-Barry</pre>
  </body>
</html>