[SR-Users] Getting MOS feedback from rtpengine

Barry Flanagan barry at flanagan.ie
Fri May 14 17:57:01 CEST 2021


Hi Richard!

On 14/05/2021 16:08, Richard Fuchs wrote:

> 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.
>
OK, this could be the issue. I don't control the clients here.

> 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.
>
I am running rtpengine 8.5.3.2 - how would I enable this feature or what 
version would I need?

Thanks

-Barry

> Cheers
>
>
> On 14/05/2021 09.52, [ EXT ] Barry Flanagan wrote:
>> Hi
>>
>> 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>.
>>
>> I have the modparams set as follows:
>>
>> # ----- rtpengine params -----
>> modparam("rtpengine", "rtpengine_sock", "udp:localhost:2223")
>> modparam("rtpengine", "rtpengine_disable_tout", -1)
>> modparam("rtpengine", "rtpengine_tout_ms", 2000)
>> modparam("rtpengine", "rtpengine_allow_op", 1)
>> modparam("rtpengine", "mos_min_pv", "$avp(s:mos_min)")
>> modparam("rtpengine", "mos_max_pv", "$avp(s:mos_max)")
>> modparam("rtpengine", "mos_average_pv", "$avp(s:mos_avg)")
>> modparam("rtpengine", "mos_average_packetloss_pv", 
>> "$avp(s:mos_avg_packetloss)")
>> modparam("rtpengine", "mos_average_jitter_pv", "$avp(s:mos_avg_jitter)")
>> modparam("rtpengine", "mos_average_roundtrip_pv", 
>> "$avp(s:mos_avg_roundtrip)")
>>
>> I am trying to log the values from within the dialog:end event_route:
>>
>> event_route[dialog:end] {
>>     rtpengine_delete();
>>     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");
>>     return;
>> }
>>
>> 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.
>>
>> Any assistance much appreciated!
>>
>> -Barry
>>
>>
>>
>>
>>
>> __________________________________________________________
>> Kamailio - Users Mailing List - Non Commercial Discussions
>>    *sr-users at lists.kamailio.org
>> Important: keep the mailing list in the recipients, do not reply only to the sender!
>> Edit mailing list options or unsubscribe:
>>    *https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
> __________________________________________________________
> Kamailio - Users Mailing List - Non Commercial Discussions
>    * sr-users at lists.kamailio.org
> Important: keep the mailing list in the recipients, do not reply only to the sender!
> Edit mailing list options or unsubscribe:
>    * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

-- 
-Barry

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20210514/4d1c1ef1/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_0xB1C81B216B50A825.asc
Type: application/pgp-keys
Size: 3066 bytes
Desc: OpenPGP public key
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20210514/4d1c1ef1/attachment.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20210514/4d1c1ef1/attachment.sig>


More information about the sr-users mailing list