<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<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>
<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>
<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">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>
</body>
</html>