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 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:
On 02/03/2023 09.51, [EXT] Benoit Panizzon wrote:
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.
Have you verified that MOS is actually reported by rtpengine back to Kamailio? If you enable debug logging in rtpengine you can see it printed in the response messages sent back to Kamailio.
Another thing you can check is to see if other metrics are populated, in particular the ones not depending on bidirectional RTCP, such as jitter. Also see if explicitly calling rtpengine_query() makes a difference.
Cheers