mirror of
https://dev.iopsys.eu/bbf/bbfdm.git
synced 2026-01-28 01:47:18 +01:00
TR104: Added support for Device.Services.VoiceService.{i}.CallControl.Line.{i}.Stats.RTP.PacketsLost parameter
This commit is contained in:
parent
b633f57d62
commit
eee7a9c78a
2 changed files with 7 additions and 0 deletions
|
|
@ -693,6 +693,11 @@ static int get_ServicesVoiceServiceCallControlLineStatsRTP_PacketsSent(char *ref
|
|||
return get_ServicesVoiceServiceCallControlLine_Stats(instance, "RTP", "PacketsSent", value);
|
||||
}
|
||||
|
||||
static int get_ServicesVoiceServiceCallControlLineStatsRTP_PacketsLost(char *refparam, struct dmctx *ctx, void *data, char *instance, char **value)
|
||||
{
|
||||
return get_ServicesVoiceServiceCallControlLine_Stats(instance, "RTP", "PacketsLost", value);
|
||||
}
|
||||
|
||||
static int get_ServicesVoiceServiceCallControlLineStatsRTP_BytesSent(char *refparam, struct dmctx *ctx, void *data, char *instance, char **value)
|
||||
{
|
||||
return get_ServicesVoiceServiceCallControlLine_Stats(instance, "RTP", "BytesSent", value);
|
||||
|
|
@ -1675,6 +1680,7 @@ DMLEAF tServicesVoiceServiceCallControlLineStatsRTPParams[] = {
|
|||
/* PARAM, permission, type, getvalue, setvalue, bbfdm_type */
|
||||
{"PacketsReceived", &DMREAD, DMT_UNINT, get_ServicesVoiceServiceCallControlLineStatsRTP_PacketsReceived, NULL, BBFDM_BOTH},
|
||||
{"PacketsSent", &DMREAD, DMT_UNINT, get_ServicesVoiceServiceCallControlLineStatsRTP_PacketsSent, NULL, BBFDM_BOTH},
|
||||
{"PacketsLost", &DMREAD, DMT_UNINT, get_ServicesVoiceServiceCallControlLineStatsRTP_PacketsLost, NULL, BBFDM_BOTH},
|
||||
{"BytesSent", &DMREAD, DMT_UNINT, get_ServicesVoiceServiceCallControlLineStatsRTP_BytesSent, NULL, BBFDM_BOTH},
|
||||
{"BytesReceived", &DMREAD, DMT_UNINT, get_ServicesVoiceServiceCallControlLineStatsRTP_BytesReceived, NULL, BBFDM_BOTH},
|
||||
{0}
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@
|
|||
"RTP": {
|
||||
"PacketsReceived": 468,
|
||||
"PacketsSent": 751,
|
||||
"PacketsLost": 2,
|
||||
"BytesReceived": 1560,
|
||||
"BytesSent": 8954
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue