[SR-Users] Getting MOS feedback from rtpengine
Barry Flanagan
barry at flanagan.ie
Fri May 14 15:52:25 CEST 2021
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
--
-Barry
-------------- 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/29c21ac8/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/29c21ac8/attachment.sig>
More information about the sr-users
mailing list