I believe, not sure, rtpengine needs 5 seconds of rtp to generate rtcp Calls with duration under 5 are good candates to mos=0
-giovanni Sincerely, Giovanni Maruzzelli OpenTelecom.IT cell: +39 347 266 56 18 On Mon, Nov 24, 2025, 08:40 Alberto <[email protected]> wrote: > It's all in this section of the script, after a BYE message: > > if (has_totag()) { > .. .. .. > if (is_method("BYE|CANCEL")) { > $json(reply) := $rtpquery; > for ($var(k) in $(json(reply.keys)[*])) { > xlog("L_NOTICE", "[ln $cfg_line] rtpquery/$var(k): > $json(reply/$var(k))\n"); > } > xlog("L_NOTICE", "[ln $cfg_line] rtpstat: $rtpstat\n"); > xlog("L_NOTICE", "[ln $cfg_line] rtpstat(MOS-average): > $rtpstat(MOS-average)\n"); > xlog("L_NOTICE", "[ln $cfg_line] (rtpstat(MOS-average)[$ft]): > $(rtpstat(MOS-average)[$ft])\n"); > xlog("L_NOTICE", "[ln $cfg_line] (rtpstat(MOS-average)[$tt]): > $(rtpstat(MOS-average)[$tt])\n"); > xlog("L_NOTICE", "[ln $cfg_line] rtpstat(jitter-average): > $rtpstat(jitter-average)\n"); > xlog("L_NOTICE", "[ln $cfg_line] (rtpstat(jitter-average)[$ft]): > $(rtpstat(jitter-average)[$ft])\n"); > xlog("L_NOTICE", "[ln $cfg_line] (rtpstat(jitter-average)[$tt]): > $(rtpstat(jitter-average)[$tt])\n"); > xlog("L_NOTICE", "[ln $cfg_line] rtpstat(roundtrip-average): > $rtpstat(roundtrip-average)\n"); > xlog("L_NOTICE", "[ln $cfg_line] (rtpstat(roundtrip-average)[$ft]): > $(rtpstat(roundtrip-average)[$ft])\n"); > xlog("L_NOTICE", "[ln $cfg_line] (rtpstat(roundtrip-average)[$tt]): > $(rtpstat(roundtrip-average)[$tt])\n"); > xlog("L_NOTICE", "[ln $cfg_line] rtpstat(packetloss-average): > $rtpstat(packetloss-average)\n"); > xlog("L_NOTICE", "[ln $cfg_line] (rtpstat(packetloss-average)[$ft]): > $(rtpstat(packetloss-average)[$ft])\n"); > xlog("L_NOTICE", "[ln $cfg_line] (rtpstat(packetloss-average)[$tt]): > $(rtpstat(packetloss-average)[$tt])\n"); > } > > and this is the output: > > Feb 13 09:35:28 test-sbc01 opensips[409185]: Feb 13 09:35:28 [409185] > NOTICE:[ln 274] rtpquery/created: 1739439283 > Feb 13 09:35:28 test-sbc01 opensips[409185]: Feb 13 09:35:28 [409185] > NOTICE:[ln 274] rtpquery/created_us: 997239 > Feb 13 09:35:28 test-sbc01 opensips[409185]: Feb 13 09:35:28 [409185] > NOTICE:[ln 274] rtpquery/last signal: 1739439303 > Feb 13 09:35:28 test-sbc01 opensips[409185]: Feb 13 09:35:28 [409185] > NOTICE:[ln 274] rtpquery/last redis update: 0 > Feb 13 09:35:28 test-sbc01 opensips[409185]: Feb 13 09:35:28 [409185] > NOTICE:[ln 274] rtpquery/SSRC: { "3417545756": { "cumulative loss": 1, > "average MOS": { "MOS": 43, "round-trip time": 16282, "round-trip time > leg": 15803, "jitter": 0, "packet loss": 0, "samples": 23 }, "lowest MOS": > { "MOS": 43, "round-trip time": 13891, "round-trip time leg": 13881, > "jitter": 0, "packet loss": 0, "reported at": 1739439305 }, "highest MOS": > { "MOS": 44, "round-trip time": 3940, "round-trip time leg": 3928, > "jitter": 0, "packet loss": 0, "reported at": 1739439322 }, "MOS > progression": { "interval": 2, "entries": [ { "MOS": 43, "round-trip time": > 13891, "round-trip time leg": 13881, "jitter": 0, "packet loss": 0, > "reported at": 1739439305 }, { "MOS": 43, "round-trip time": 13649, > "round-trip time leg": 13639, "jitter": 0, "packet loss": 0, "reported at": > 1739439307 }, { "MOS": 43, "round-trip time": 14452, "round-trip time leg": > 13709, "jitter": 0, "packet loss": 0, "reported at": 1739439309 }, { "MOS": > 43, "round-trip time": 15335, "round-trip time leg": 15329, "jitter": 0, > "packet loss": 0, "reported at": 1739439311 }, { "MOS": 43, "round-trip > time": 15414, "round-trip time leg": 15408, "jitter": 0, "packet loss": 0, > "reported at": 1739439313 }, { "MOS": 43, "round-trip time": 20993, > "round-trip time leg": 20096, "jitter": 0, "packet loss": 0, "reported at": > 1739439315 }, { "MOS": 43, "round-trip time": 18040, "round-trip time leg": > 18028, "jitter": 0, "packet loss": 0, "reported at": 1739439317 }, { "MOS": > 43, "round-trip time": 21002, "round-trip time leg": 19869, "jitter": 0, > "packet loss": 0, "reported at": 1739439319 }, { "MOS": 43, "round-trip > time": 21038, "round-trip time leg": 19905, "jitter": 0, "packet loss": 0, > "reported at": 1739439321 }, { "MOS": 44, "round-trip time": 3949, > "round-trip time leg": 3937, "jitter": 0, "packet loss": 0, "reported at": > 1739439323 }, { "MOS": 43, "round-trip time": 21037, "round-trip time leg": > 19625, "jitter": 0, "packet loss": 0, "reported at": 1739439325 }, { "MOS": > 43, "round-trip time": 14441, "round-trip time leg": 14438, "jitter": 0, > "packet loss": 0, "reported at": 1739439327 } ] } }, "307895612": { > "cumulative loss": 1, "average MOS": { "MOS": 43, "round-trip time": 16065, > "round-trip time leg": 527, "jitter": 0, "packet loss": 0, "samples": 8 }, > "lowest MOS": { "MOS": 43, "round-trip time": 14380, "round-trip time leg": > 743, "jitter": 1, "packet loss": 0, "reported at": 1739439309 }, "highest > MOS": { "MOS": 44, "round-trip time": 5349, "round-trip time leg": 1412, > "jitter": 0, "packet loss": 0, "reported at": 1739439324 }, "MOS > progression": { "interval": 3, "entries": [ { "MOS": 0, "round-trip time": > 0, "round-trip time leg": 1057, "jitter": 0, "packet loss": 0, "reported > at": 1739439294 }, { "MOS": 0, "round-trip time": 0, "round-trip time leg": > 1232, "jitter": 0, "packet loss": 0, "reported at": 1739439299 }, { "MOS": > 0, "round-trip time": 0, "round-trip time leg": 491, "jitter": 69, "packet > loss": 0, "reported at": 1739439304 }, { "MOS": 43, "round-trip time": > 14380, "round-trip time leg": 743, "jitter": 1, "packet loss": 0, "reported > at": 1739439309 }, { "MOS": 43, "round-trip time": 13696, "round-trip time > leg": 6, "jitter": 0, "packet loss": 0, "reported at": 1739439310 }, { > "MOS": 43, "round-trip time": 16305, "round-trip time leg": 897, "jitter": > 0, "packet loss": 0, "reported at": 1739439314 }, { "MOS": 43, "round-trip > time": 20108, "round-trip time leg": 12, "jitter": 0, "packet loss": 0, > "reported at": 1739439316 }, { "MOS": 43, "round-trip time": 19196, > "round-trip time leg": 1133, "jitter": 0, "packet loss": 0, "reported at": > 1739439319 }, { "MOS": 43, "round-trip time": 19917, "round-trip time leg": > 12, "jitter": 0, "packet loss": 0, "reported at": 1739439321 }, { "MOS": > 44, "round-trip time": 5349, "round-trip time leg": 1412, "jitter": 0, > "packet loss": 0, "reported at": 1739439324 }, { "MOS": 43, "round-trip > time": 19570, "round-trip time leg": 3, "jitter": 0, "packet loss": 0, > "reported at": 1739439327 } ] } } } > Feb 13 09:35:28 test-sbc01 opensips[409185]: Feb 13 09:35:28 [409185] > NOTICE:[ln 274] rtpquery/tags: { "49HtFrFD1vp7m": { "tag": "49HtFrFD1vp7m", > "created": 1739439283, "subscriptions": [ { "tag": > "5c687424-fdaa-4157-81f1-9ba919016d32", "type": "offer\/answer" } ], > "subscribers": [ { "tag": "5c687424-fdaa-4157-81f1-9ba919016d32", "type": > "offer\/answer" } ], "medias": [ { "index": 1, "type": "audio", "protocol": > "RTP\/AVP", "codec": "PCMA\/8000", "streams": [ { "local port": 18176, > "local address": "172.21.81.51", "family": "IPv4", "endpoint": { "family": > "IPv4", "address": "172.21.81.50", "port": 18222 }, "advertised endpoint": > { "family": "IPv4", "address": "172.21.81.50", "port": 18222 }, "last > packet": 1739439328, "last kernel packet": 1739439328, "last user packet": > 1739439307, "flags": [ "RTP", "filled", "confirmed", "kernelized" ], > "ingress SSRCs": [ { "SSRC": 3417545756, "bytes": 345128, "packets": 2129, > "last RTP timestamp": 199520, "last RTP seq": 27178 } ], "egress SSRCs": [ > { "SSRC": 307895612, "bytes": 202316, "packets": 1250, "last RTP > timestamp": 200000, "last RTP seq": 35142 } ], "stats": { "packets": 2129, > "bytes": 366188, "errors": 0 }, "stats_out": { "packets": 1250, "bytes": > 215000, "errors": 0 } }, { "local port": 18177, "local address": > "172.21.81.51", "family": "IPv4", "endpoint": { "family": "IPv4", > "address": "172.21.81.50", "port": 18223 }, "advertised endpoint": { > "family": "IPv4", "address": "172.21.81.50", "port": 18223 }, "last > packet": 1739439327, "last kernel packet": 1739439327, "last user packet": > 1739439327, "flags": [ "RTCP", "filled", "confirmed", "kernelized" ], > "ingress SSRCs": [ { "SSRC": 3417545756, "bytes": 345128, "packets": 2129, > "last RTP timestamp": 199520, "last RTP seq": 27178 } ], "egress SSRCs": [ > { "SSRC": 307895612, "bytes": 202316, "packets": 1250, "last RTP > timestamp": 200000, "last RTP seq": 35142 } ], "stats": { "packets": 56, > "bytes": 6272, "errors": 0 }, "stats_out": { "packets": 5, "bytes": 460, > "errors": 0 } } ], "flags": [ "initialized", "send", "recv", "ICE > controlling", "RTCP generator" ] } ], "VSC": [ ] }, > "5c687424-fdaa-4157-81f1-9ba919016d32": { "tag": > "5c687424-fdaa-4157-81f1-9ba919016d32", "created": 1739439283, > "subscriptions": [ { "tag": "49HtFrFD1vp7m", "type": "offer\/answer" } ], > "subscribers": [ { "tag": "49HtFrFD1vp7m", "type": "offer\/answer" } ], > "medias": [ { "index": 1, "type": "audio", "protocol": "RTP\/AVP", "codec": > "PCMA\/8000", "streams": [ { "local port": 10796, "local address": > "172.21.81.51", "family": "IPv4", "endpoint": { "family": "IPv4", > "address": "172.21.81.53", "port": 13246 }, "advertised endpoint": { > "family": "IPv4", "address": "172.21.81.53", "port": 13246 }, "last > packet": 1739439328, "last kernel packet": 1739439328, "last user packet": > 1739439307, "flags": [ "RTP", "filled", "confirmed", "kernelized" ], > "ingress SSRCs": [ { "SSRC": 307895612, "bytes": 202316, "packets": 1250, > "last RTP timestamp": 200000, "last RTP seq": 35142 } ], "egress SSRCs": [ > { "SSRC": 3417545756, "bytes": 345128, "packets": 2129, "last RTP > timestamp": 199520, "last RTP seq": 27178 } ], "stats": { "packets": 1250, > "bytes": 215000, "errors": 0 }, "stats_out": { "packets": 2129, "bytes": > 366188, "errors": 0 } }, { "local port": 10797, "local address": > "172.21.81.51", "family": "IPv4", "endpoint": { "family": "IPv4", > "address": "172.21.81.53", "port": 13247 }, "advertised endpoint": { > "family": "IPv4", "address": "172.21.81.53", "port": 13247 }, "last > packet": 1739439324, "last kernel packet": 1739439324, "last user packet": > 1739439324, "flags": [ "RTCP", "filled", "confirmed", "kernelized" ], > "ingress SSRCs": [ { "SSRC": 307895612, "bytes": 202316, "packets": 1250, > "last RTP timestamp": 200000, "last RTP seq": 35142 } ], "egress SSRCs": [ > { "SSRC": 3417545756, "bytes": 345128, "packets": 2129, "last RTP > timestamp": 199520, "last RTP seq": 27178 } ], "stats": { "packets": 13, > "bytes": 1200, "errors": 0 }, "stats_out": { "packets": 25, "bytes": 2800, > "errors": 0 } } ], "flags": [ "initialized", "send", "recv", "RTCP > generator" ] } ], "VSC": [ ] } } > Feb 13 09:35:28 test-sbc01 opensips[409185]: Feb 13 09:35:28 [409185] > NOTICE:[ln 274] rtpquery/totals: { "RTP": { "packets": 3379, "bytes": > 581188, "errors": 0 }, "RTCP": { "packets": 69, "bytes": 7472, "errors": 0 > } } > Feb 13 09:35:28 test-sbc01 opensips[409185]: Feb 13 09:35:28 [409185] > NOTICE:[ln 274] rtpquery/result: ok > Feb 13 09:35:28 test-sbc01 opensips[409185]: Feb 13 09:35:28 [409185] > NOTICE:[ln 276] rtpstat: RTP: 581188 bytes, 3379 packets, 0 errors; RTCP: > 7472 bytes, 69 packets, 0 errors > Feb 13 09:35:28 test-sbc01 opensips[409185]: Feb 13 09:35:28 [409185] > NOTICE:[ln 277] rtpstat(MOS-average): 43 > Feb 13 09:35:28 test-sbc01 opensips[409185]: Feb 13 09:35:28 [409185] > NOTICE:[ln 278] > (rtpstat(MOS-average)[5c687424-fdaa-4157-81f1-9ba919016d32]): <null> > Feb 13 09:35:28 test-sbc01 opensips[409185]: Feb 13 09:35:28 [409185] > NOTICE:[ln 279] (rtpstat(MOS-average)[49HtFrFD1vp7m]): <null> > Feb 13 09:35:28 test-sbc01 opensips[409185]: Feb 13 09:35:28 [409185] > NOTICE:[ln 280] rtpstat(jitter-average): 0 > Feb 13 09:35:28 test-sbc01 opensips[409185]: Feb 13 09:35:28 [409185] > NOTICE:[ln 281] > (rtpstat(jitter-average)[5c687424-fdaa-4157-81f1-9ba919016d32]): <null> > Feb 13 09:35:28 test-sbc01 opensips[409185]: Feb 13 09:35:28 [409185] > NOTICE:[ln 282] (rtpstat(jitter-average)[49HtFrFD1vp7m]): <null> > Feb 13 09:35:28 test-sbc01 opensips[409185]: Feb 13 09:35:28 [409185] > NOTICE:[ln 283] rtpstat(roundtrip-average): 16173 > Feb 13 09:35:28 test-sbc01 opensips[409185]: Feb 13 09:35:28 [409185] > NOTICE:[ln 284] > (rtpstat(roundtrip-average)[5c687424-fdaa-4157-81f1-9ba919016d32]): <null> > Feb 13 09:35:28 test-sbc01 opensips[409185]: Feb 13 09:35:28 [409185] > NOTICE:[ln 285] (rtpstat(roundtrip-average)[49HtFrFD1vp7m]): <null> > Feb 13 09:35:28 test-sbc01 opensips[409185]: Feb 13 09:35:28 [409185] > NOTICE:[ln 286] rtpstat(packetloss-average): 0 > Feb 13 09:35:28 test-sbc01 opensips[409185]: Feb 13 09:35:28 [409185] > NOTICE:[ln 287] > (rtpstat(packetloss-average)[5c687424-fdaa-4157-81f1-9ba919016d32]): <null> > Feb 13 09:35:28 test-sbc01 opensips[409185]: Feb 13 09:35:28 [409185] > NOTICE:[ln 288] (rtpstat(packetloss-average)[49HtFrFD1vp7m]): <null> > > > Thanks > > > On Thu, 13 Feb 2025 at 07:54, Răzvan Crainea <[email protected]> wrote: > >> Hi, Alberto! >> >> Can you please also print the $rtpequery [1] and check if you have a >> JSON available? Also, are you calling these prints after the BYE is >> processed (by loose_route/match_dialog), or are you expecting them >> during other in-dialog requests? >> >> [1] https://opensips.org/docs/modules/3.4.x/rtpengine#pv_rtpstat >> >> Best regards, >> >> Răzvan Crainea >> OpenSIPS Core Developer / SIPhub CTO >> http://www.opensips-solutions.com / https://www.siphub.com >> >> On 2/11/25 6:10 PM, Alberto wrote: >> > Hi all, >> > >> > Another day, another question. >> > I'm trying to get separate stats from rtpengine for the inbound and >> > outbound legs. >> > >> > I use opensips 3.4.8 and rtpengine 12.5.1.20 >> > >> > I call on rtpengine like this: >> > >> > rtpengine_manage("RTP/AVP generate-rtcp trust-address replace-origin >> > replace-session-connection"); >> > >> > Then I also have this: >> > >> > 274 xlog("L_NOTICE", "[ln $cfg_line] rtpstat: $rtpstat\n"); >> > 275 xlog("L_NOTICE", "[ln $cfg_line] rtpstat(MOS-average): >> > $rtpstat(MOS-average)\n"); >> > 276 xlog("L_NOTICE", "[ln $cfg_line] >> (rtpstat(MOS-average)[$ft]): >> > $(rtpstat(MOS-average)[$ft])\n"); >> > 277 xlog("L_NOTICE", "[ln $cfg_line] >> (rtpstat(MOS-average)[$tt]): >> > $(rtpstat(MOS-average)[$tt])\n"); >> > 278 xlog("L_NOTICE", "[ln $cfg_line] rtpstat(jitter-average): >> > $rtpstat(jitter-average)\n"); >> > 279 xlog("L_NOTICE", "[ln $cfg_line] >> (rtpstat(jitter-average)[$ft]): >> > $(rtpstat(jitter-average)[$ft])\n"); >> > 280 xlog("L_NOTICE", "[ln $cfg_line] >> (rtpstat(jitter-average)[$tt]): >> > $(rtpstat(jitter-average)[$tt])\n"); >> > 281 xlog("L_NOTICE", "[ln $cfg_line] rtpstat(roundtrip-average): >> > $rtpstat(roundtrip-average)\n"); >> > 282 xlog("L_NOTICE", "[ln $cfg_line] >> > (rtpstat(roundtrip-average)[$ft]): >> $(rtpstat(roundtrip-average)[$ft])\n"); >> > 283 xlog("L_NOTICE", "[ln $cfg_line] >> > (rtpstat(roundtrip-average)[$tt]): >> $(rtpstat(roundtrip-average)[$tt])\n"); >> > 284 xlog("L_NOTICE", "[ln $cfg_line] >> rtpstat(packetloss-average): >> > $rtpstat(packetloss-average)\n"); >> > 285 xlog("L_NOTICE", "[ln $cfg_line] >> > (rtpstat(packetloss-average)[$ft]): >> $(rtpstat(packetloss-average)[$ft])\n"); >> > 286 xlog("L_NOTICE", "[ln $cfg_line] >> > (rtpstat(packetloss-average)[$tt]): >> $(rtpstat(packetloss-average)[$tt])\n"); >> > >> > >> > But the output is as follow: >> > >> > Feb 11 15:56:15 test-sbc01 opensips[383682]: Feb 11 15:56:14 [383682] >> > NOTICE:[ln 274] rtpstat: RTP: 1428288 bytes, 8304 packets, 0 errors; >> RTCP: >> > 20560 bytes, 188 packets, 0 errors >> > Feb 11 15:56:15 test-sbc01 opensips[383682]: Feb 11 15:56:14 [383682] >> > NOTICE:[ln 275] rtpstat(MOS-average): 43 >> > Feb 11 15:56:15 test-sbc01 opensips[383682]: Feb 11 15:56:14 [383682] >> > NOTICE:[ln 276] >> > (rtpstat(MOS-average)[4bd58220-a450-41fb-8eea-77e3cdd6950a]): <null> >> > Feb 11 15:56:15 test-sbc01 opensips[383682]: Feb 11 15:56:14 [383682] >> > NOTICE:[ln 277] (rtpstat(MOS-average)[Qr8FX3QU0B70S]): <null> >> > Feb 11 15:56:15 test-sbc01 opensips[383682]: Feb 11 15:56:14 [383682] >> > NOTICE:[ln 278] rtpstat(jitter-average): 0 >> > Feb 11 15:56:15 test-sbc01 opensips[383682]: Feb 11 15:56:14 [383682] >> > NOTICE:[ln 279] >> > (rtpstat(jitter-average)[4bd58220-a450-41fb-8eea-77e3cdd6950a]): <null> >> > Feb 11 15:56:15 test-sbc01 opensips[383682]: Feb 11 15:56:14 [383682] >> > NOTICE:[ln 280] (rtpstat(jitter-average)[Qr8FX3QU0B70S]): <null> >> > Feb 11 15:56:15 test-sbc01 opensips[383682]: Feb 11 15:56:14 [383682] >> > NOTICE:[ln 281] rtpstat(roundtrip-average): 14683 >> > Feb 11 15:56:15 test-sbc01 opensips[383682]: Feb 11 15:56:14 [383682] >> > NOTICE:[ln 282] >> > (rtpstat(roundtrip-average)[4bd58220-a450-41fb-8eea-77e3cdd6950a]): >> <null> >> > Feb 11 15:56:15 test-sbc01 opensips[383682]: Feb 11 15:56:14 [383682] >> > NOTICE:[ln 283] (rtpstat(roundtrip-average)[Qr8FX3QU0B70S]): <null> >> > Feb 11 15:56:15 test-sbc01 opensips[383682]: Feb 11 15:56:14 [383682] >> > NOTICE:[ln 284] rtpstat(packetloss-average): 0 >> > Feb 11 15:56:15 test-sbc01 opensips[383682]: Feb 11 15:56:14 [383682] >> > NOTICE:[ln 285] >> > (rtpstat(packetloss-average)[4bd58220-a450-41fb-8eea-77e3cdd6950a]): >> <null> >> > Feb 11 15:56:15 test-sbc01 opensips[383682]: Feb 11 15:56:14 [383682] >> > NOTICE:[ln 286] (rtpstat(packetloss-average)[Qr8FX3QU0B70S]): <null> >> > >> > Is there anything else I have to do to make this work? >> > >> > Thanks >> > >> > >> > Hi all, >> > >> > Another day, another question. >> > I'm trying to get separate stats from rtpengine for the inbound and >> > outbound legs. >> > >> > I use opensips 3.4.8 and rtpengine 12.5.1.20 >> > >> > I call on rtpengine like this: >> > >> > rtpengine_manage("RTP/AVP generate-rtcp trust-address replace-origin >> > replace-session-connection"); >> > >> > Then I also have this: >> > >> > 274 xlog("L_NOTICE", "[ln $cfg_line] rtpstat: $rtpstat\n"); >> > 275 xlog("L_NOTICE", "[ln $cfg_line] rtpstat(MOS-average): >> > $rtpstat(MOS-average)\n"); >> > 276 xlog("L_NOTICE", "[ln $cfg_line] (rtpstat(MOS-average) >> > [$ft]): $(rtpstat(MOS-average)[$ft])\n"); >> > 277 xlog("L_NOTICE", "[ln $cfg_line] (rtpstat(MOS-average) >> > [$tt]): $(rtpstat(MOS-average)[$tt])\n"); >> > 278 xlog("L_NOTICE", "[ln $cfg_line] rtpstat(jitter-average): >> > $rtpstat(jitter-average)\n"); >> > 279 xlog("L_NOTICE", "[ln $cfg_line] (rtpstat(jitter-average) >> > [$ft]): $(rtpstat(jitter-average)[$ft])\n"); >> > 280 xlog("L_NOTICE", "[ln $cfg_line] (rtpstat(jitter-average) >> > [$tt]): $(rtpstat(jitter-average)[$tt])\n"); >> > 281 xlog("L_NOTICE", "[ln $cfg_line] >> rtpstat(roundtrip-average): >> > $rtpstat(roundtrip-average)\n"); >> > 282 xlog("L_NOTICE", "[ln $cfg_line] >> (rtpstat(roundtrip-average) >> > [$ft]): $(rtpstat(roundtrip-average)[$ft])\n"); >> > 283 xlog("L_NOTICE", "[ln $cfg_line] >> (rtpstat(roundtrip-average) >> > [$tt]): $(rtpstat(roundtrip-average)[$tt])\n"); >> > 284 xlog("L_NOTICE", "[ln $cfg_line] rtpstat(packetloss- >> > average): $rtpstat(packetloss-average)\n"); >> > 285 xlog("L_NOTICE", "[ln $cfg_line] (rtpstat(packetloss- >> > average)[$ft]): $(rtpstat(packetloss-average)[$ft])\n"); >> > 286 xlog("L_NOTICE", "[ln $cfg_line] (rtpstat(packetloss- >> > average)[$tt]): $(rtpstat(packetloss-average)[$tt])\n"); >> > >> > >> > But the output is as follow: >> > >> > Feb 11 15:56:15 test-sbc01 opensips[383682]: Feb 11 15:56:14 [383682] >> > NOTICE:[ln 274] rtpstat: RTP: 1428288 bytes, 8304 packets, 0 errors; >> > RTCP: 20560 bytes, 188 packets, 0 errors >> > Feb 11 15:56:15 test-sbc01 opensips[383682]: Feb 11 15:56:14 [383682] >> > NOTICE:[ln 275] rtpstat(MOS-average): 43 >> > Feb 11 15:56:15 test-sbc01 opensips[383682]: Feb 11 15:56:14 [383682] >> > NOTICE:[ln 276] (rtpstat(MOS-average)[4bd58220- >> > a450-41fb-8eea-77e3cdd6950a]): <null> >> > Feb 11 15:56:15 test-sbc01 opensips[383682]: Feb 11 15:56:14 [383682] >> > NOTICE:[ln 277] (rtpstat(MOS-average)[Qr8FX3QU0B70S]): <null> >> > Feb 11 15:56:15 test-sbc01 opensips[383682]: Feb 11 15:56:14 [383682] >> > NOTICE:[ln 278] rtpstat(jitter-average): 0 >> > Feb 11 15:56:15 test-sbc01 opensips[383682]: Feb 11 15:56:14 [383682] >> > NOTICE:[ln 279] (rtpstat(jitter-average)[4bd58220- >> > a450-41fb-8eea-77e3cdd6950a]): <null> >> > Feb 11 15:56:15 test-sbc01 opensips[383682]: Feb 11 15:56:14 [383682] >> > NOTICE:[ln 280] (rtpstat(jitter-average)[Qr8FX3QU0B70S]): <null> >> > Feb 11 15:56:15 test-sbc01 opensips[383682]: Feb 11 15:56:14 [383682] >> > NOTICE:[ln 281] rtpstat(roundtrip-average): 14683 >> > Feb 11 15:56:15 test-sbc01 opensips[383682]: Feb 11 15:56:14 [383682] >> > NOTICE:[ln 282] (rtpstat(roundtrip-average)[4bd58220- >> > a450-41fb-8eea-77e3cdd6950a]): <null> >> > Feb 11 15:56:15 test-sbc01 opensips[383682]: Feb 11 15:56:14 [383682] >> > NOTICE:[ln 283] (rtpstat(roundtrip-average)[Qr8FX3QU0B70S]): <null> >> > Feb 11 15:56:15 test-sbc01 opensips[383682]: Feb 11 15:56:14 [383682] >> > NOTICE:[ln 284] rtpstat(packetloss-average): 0 >> > Feb 11 15:56:15 test-sbc01 opensips[383682]: Feb 11 15:56:14 [383682] >> > NOTICE:[ln 285] (rtpstat(packetloss-average)[4bd58220- >> > a450-41fb-8eea-77e3cdd6950a]): <null> >> > Feb 11 15:56:15 test-sbc01 opensips[383682]: Feb 11 15:56:14 [383682] >> > NOTICE:[ln 286] (rtpstat(packetloss-average)[Qr8FX3QU0B70S]): <null> >> > >> > Is there anything else I have to do to make this work? >> > >> > Thanks >> > >> > _______________________________________________ >> > Users mailing list >> > [email protected] >> > http://lists.opensips.org/cgi-bin/mailman/listinfo/users >> >> >> _______________________________________________ >> Users mailing list >> [email protected] >> http://lists.opensips.org/cgi-bin/mailman/listinfo/users >> > _______________________________________________ > Users mailing list > [email protected] > http://lists.opensips.org/cgi-bin/mailman/listinfo/users >
_______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
