I have also encountered this result with all the metrics-related PVs in the rtpengine module.
On Mar 2, 2023, at 9:51 AM, Benoit Panizzon benoit.panizzon@imp.ch wrote:
Hi all
I'm trying to incorporate rtcp data from rtpengine into our CDRS. So trying with the first interesting value, the average mos.
modparam("rtpengine", "mos_average_pv", "$avp(mos_average)")
If I understood right, to get this variable set, I need to call rtpengine_manage() on the message that terminates the call.
So on an established call, that is either BYE or the 200 OK to the BYE. Right?
if ($rm == "BYE") { rtpengine_manage(); xlog("L_INFO", "$cfg(route): $rm: MOSS: $avp(mos_average)\n"); }
onreply_route[MANAGE_REPLY] { [...] rtpengine_manage(); xlog("L_INFO", "$cfg(route): $rm reply MOS: $avp(mos_average)\n"); }
Messages pass those blocks, $avp(mos_average) is 'null' no mater what.
What am I missing?
In the syslog output of rtpengine I see there is rtcp data.
Mit freundlichen Grüssen
-Benoît Panizzon-
I m p r o W a r e A G - Leiter Commerce Kunden ______________________________________________________
Zurlindenstrasse 29 Tel +41 61 826 93 00 CH-4133 Pratteln Fax +41 61 826 93 01 Schweiz Web http://www.imp.ch ______________________________________________________ __________________________________________________________ Kamailio - Users Mailing List - Non Commercial Discussions To unsubscribe send an email to sr-users-leave@lists.kamailio.org Important: keep the mailing list in the recipients, do not reply only to the sender! Edit mailing list options or unsubscribe: