Well, both the 'query' command and final logging confirm that the labels
are correct for the respective from-tags:
Feb 14 05:10:32 evaristesys-legacy rtpengine[7354]: INFO:
[c6fa30199831602c397d627d5a2662d3]: Final packet stats:
Feb 14 05:10:32 evaristesys-legacy rtpengine[7354]: INFO:
[c6fa30199831602c397d627d5a2662d3]: --- Tag 'F00E08C8-2966E6E7' (label
'outbound'), created 0:34 ago for branch '', in dialogue with
'sansay1987955648rdb39660'
Feb 14 05:10:32 evaristesys-legacy rtpengine[7354]: INFO:
[c6fa30199831602c397d627d5a2662d3]: ------ Media #1 (audio over RTP/AVP) using PCMU/8000
Feb 14 05:10:32 evaristesys-legacy rtpengine[7354]: INFO:
[c6fa30199831602c397d627d5a2662d3]: --------- Port 4.5.6.7:8118 <>
47.39.154.156:2234 , SSRC 4149441922, 112 p, 19264 b, 0 e, 30 ts
Feb 14 05:10:32 evaristesys-legacy rtpengine[7354]: INFO:
[c6fa30199831602c397d627d5a2662d3]: --------- Port 4.5.6.7:8119 <>
47.39.154.156:2235 (RTCP), SSRC 4149441922, 1 p, 84 b, 0 e, 30 ts
Feb 14 05:10:32 evaristesys-legacy rtpengine[7354]: INFO:
[c6fa30199831602c397d627d5a2662d3]: --- Tag 'sansay1987955648rdb39660' (label
'inbound'), created 0:34 ago for branch '', in dialogue with
'F00E08C8-2966E6E7'
Feb 14 05:10:32 evaristesys-legacy rtpengine[7354]: INFO:
[c6fa30199831602c397d627d5a2662d3]: ------ Media #1 (audio over RTP/AVP) using PCMU/8000
Feb 14 05:10:32 evaristesys-legacy rtpengine[7354]: INFO:
[c6fa30199831602c397d627d5a2662d3]: --------- Port 4.5.6.7:8098 <>
8.9.10.11:63736, SSRC 790287681, 438 p, 75336 b, 0 e, 24 ts
Feb 14 05:10:32 evaristesys-legacy rtpengine[7354]: INFO:
[c6fa30199831602c397d627d5a2662d3]: --------- Port 4.5.6.7:8099 <>
8.9.10.11:63737 (RTCP), SSRC 0, 0 p, 0 b, 0 e, 34 ts
Feb 14 05:10:32 evaristesys-legacy rtpengine[7354]: INFO:
[c6fa30199831602c397d627d5a2662d3]: --- SSRC 4149441922
Feb 14 05:10:32 evaristesys-legacy rtpengine[7354]: INFO:
[c6fa30199831602c397d627d5a2662d3]: ------ Average MOS 4.4, lowest MOS 4.4 (at 0:03),
highest MOS 4.4 (at 0:03)
But for some reason, the "B" PVs just aren't being populated, even
though I use the labels:
if(check_route_param("proxy_media=yes")) {
$avp(rtpengine_a_label) = 'outbound';
$avp(rtpengine_b_label) = 'inbound';
rtpengine_delete();
route(LOG_RTPENGINE_STATS);
}
And have the PVs referenced:
modparam("rtpengine", "mos_A_label_pv",
"$avp(rtpengine_a_label)")
modparam("rtpengine", "mos_B_label_pv",
"$avp(rtpengine_b_label)")
This is using rtpengine:mr5.5.3 and kamailio:5.1 latest clone.
-- Alex
On Tue, Feb 13, 2018 at 09:39:59PM -0500, Alex Balashov wrote:
Ah, okay, coercing it to use Convert::Bencode (for
lack of CentOS
rh524-perl Bencode module) was not a productive thing to do. :-)
On Tue, Feb 13, 2018 at 09:29:49PM -0500, Alex Balashov wrote:
After I finally got the Perl client to work,
unfortunately it raised
more questions than answers. :-)
[root@evaristesys-legacy rtpengine]# perl utils/rtpengine-ng-client list
Result dictionary:
-----8<-----8<-----8<-----8<-----8<-----
{
result => 'ok',
calls => [
'835853f6cbf2a03ac8329bb92b0d1c8a'
]
}
----->8----->8----->8----->8----->8-----
[root@evaristesys-legacy rtpengine]# perl utils/rtpengine-ng-client query
--call-id=835853f6cbf2a03ac8329bb92b0d1c8a
Error reason: "Unknown call-id" at
/opt/rh/rh-perl524/root/usr/share/perl5/NGCP/Rtpengine.pm line 43.
Feb 14 02:28:38 evaristesys-legacy rtpengine[29025]: WARNING: [SCALAR(0x855cd8)]:
Protocol error in packet from 127.0.0.1:58000: Unknown call-id
[d7:call-id16:SCALAR(0x855cd8)7:command5:querye]
-- Alex
On Tue, Feb 13, 2018 at 07:34:30PM -0500, Richard Fuchs wrote:
On 2018-02-13 07:32 PM, Alex Balashov wrote:
Hi Richard,
On Tue, Feb 13, 2018 at 06:34:53PM -0500, Richard Fuchs wrote:
> It's the min, max, and average between the two call legs (and other
> contributing sources that may have been involved in the call).
When you say "between", do you mean the average of the values of the two
respective legs?
The average is the average between the two, the min is the min between the
two, and the max is the max between the two.
Cheers
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users(a)lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
--
Alex Balashov | Principal | Evariste Systems LLC
Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free)
Web:
http://www.evaristesys.com/,
http://www.csrpswitch.com/
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users(a)lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
--
Alex Balashov | Principal | Evariste Systems LLC
Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free)
Web:
http://www.evaristesys.com/,
http://www.csrpswitch.com/
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users(a)lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
--
Alex Balashov | Principal | Evariste Systems LLC
Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free)
Web:
http://www.evaristesys.com/,
http://www.csrpswitch.com/