len = snprintf(cmd->buf_t, sizeof(cmd->buf_t), "%d %lu %lu %lu %lu\n",
ttl, pst[0].npkts_in, pst[1].npkts_in, pcnts.nrelayed, pcnts.ndropped)
Those are: remaining session TTL in seconds, number of packets received from side A, number of packets received from side B, overall number of packets relayed in both directions (A->B, B->A) for directions, and number of packets dropped due to remote address not being known yet. There is actually a newer version of that command in the RTPproxy, which provides access to these and number of other per-session statistics collected by the analysis code, such as:
rtpa_nsent
rtpa_nrcvd
rtpa_ndups
rtpa_nlost
rtpa_perrs
The command to fetch those is for example:
Q[v] %%CALLID%% %%TOTAG%% %%FROMTAG%% rtpa_nsent rtpa_nrcvd rtpa_ndups rtpa_nlost rtpa_perrs
Full list is here:
It would be good to get those implemented in the Kamailio as well. I would also probably hook up jitter values into that list.
-Max