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