Accumulated tx/rx bytes and packet number per sip client.
Summed (for sip client) values of rxpkts, txpkts, rxbytes, txbytes available in response to ubus call:
ubus call asterisk call_status '{ "line" : X }'
Response:
{
"line": 1,
"call_status": "Idle",
"stats": {
"RTP": {
"PacketsReceived": 196,
"PacketsSent": 356,
"BytesReceived": 33960,
"BytesSent": 56712
}
}
}
Edited by Lukasz Kotasa