@ -39,21 +39,21 @@ static void cli_incoming_list_totals(char* buffer, int len, struct callmaster* m
ADJUSTLEN(printlen,outbufend,replybuffer);
printlen=snprintf(replybuffer,(outbufend-replybuffer)," Total managed sessions :"UINT64F"\n",num_sessions);
ADJUSTLEN(printlen,outbufend,replybuffer);
printlen=snprintf(replybuffer,(outbufend-replybuffer)," Total timed-out sessions via TIMEOUT :"UINT64F"\n",atomic_uint64_get(&m->totalstats.total_timeout_sess));
printlen=snprintf(replybuffer,(outbufend-replybuffer)," Total timed-out sessions via TIMEOUT :"UINT64F"\n",atomic64_get(&m->totalstats.total_timeout_sess));
ADJUSTLEN(printlen,outbufend,replybuffer);
printlen=snprintf(replybuffer,(outbufend-replybuffer)," Total timed-out sessions via SILENT_TIMEOUT :"UINT64F"\n",atomic_uint64_get(&m->totalstats.total_silent_timeout_sess));
printlen=snprintf(replybuffer,(outbufend-replybuffer)," Total timed-out sessions via SILENT_TIMEOUT :"UINT64F"\n",atomic64_get(&m->totalstats.total_silent_timeout_sess));
ADJUSTLEN(printlen,outbufend,replybuffer);
printlen=snprintf(replybuffer,(outbufend-replybuffer)," Total regular terminated sessions :"UINT64F"\n",atomic_uint64_get(&m->totalstats.total_regular_term_sess));
printlen=snprintf(replybuffer,(outbufend-replybuffer)," Total regular terminated sessions :"UINT64F"\n",atomic64_get(&m->totalstats.total_regular_term_sess));
ADJUSTLEN(printlen,outbufend,replybuffer);
printlen=snprintf(replybuffer,(outbufend-replybuffer)," Total forced terminated sessions :"UINT64F"\n",atomic_uint64_get(&m->totalstats.total_forced_term_sess));
printlen=snprintf(replybuffer,(outbufend-replybuffer)," Total forced terminated sessions :"UINT64F"\n",atomic64_get(&m->totalstats.total_forced_term_sess));
ADJUSTLEN(printlen,outbufend,replybuffer);
printlen=snprintf(replybuffer,(outbufend-replybuffer)," Total relayed packets :"UINT64F"\n",atomic_uint64_get(&m->totalstats.total_relayed_packets));
printlen=snprintf(replybuffer,(outbufend-replybuffer)," Total relayed packets :"UINT64F"\n",atomic64_get(&m->totalstats.total_relayed_packets));
ADJUSTLEN(printlen,outbufend,replybuffer);
printlen=snprintf(replybuffer,(outbufend-replybuffer)," Total relayed packet errors :"UINT64F"\n",atomic_uint64_get(&m->totalstats.total_relayed_errors));
printlen=snprintf(replybuffer,(outbufend-replybuffer)," Total relayed packet errors :"UINT64F"\n",atomic64_get(&m->totalstats.total_relayed_errors));
ADJUSTLEN(printlen,outbufend,replybuffer);
printlen=snprintf(replybuffer,(outbufend-replybuffer)," Total number of streams with no relayed packets :"UINT64F"\n",atomic_uint64_get(&m->totalstats.total_nopacket_relayed_sess));
printlen=snprintf(replybuffer,(outbufend-replybuffer)," Total number of streams with no relayed packets :"UINT64F"\n",atomic64_get(&m->totalstats.total_nopacket_relayed_sess));
ADJUSTLEN(printlen,outbufend,replybuffer);
printlen=snprintf(replybuffer,(outbufend-replybuffer)," Total number of 1-way streams :"UINT64F"\n",atomic_uint64_get(&m->totalstats.total_oneway_stream_sess));
printlen=snprintf(replybuffer,(outbufend-replybuffer)," Total number of 1-way streams :"UINT64F"\n",atomic64_get(&m->totalstats.total_oneway_stream_sess));
ADJUSTLEN(printlen,outbufend,replybuffer);
printlen=snprintf(replybuffer,(outbufend-replybuffer)," Average call duration :%ld.%06ld\n\n",avg.tv_sec,avg.tv_usec);
ADJUSTLEN(printlen,outbufend,replybuffer);
@ -151,15 +151,15 @@ static void cli_incoming_list_callid(char* buffer, int len, struct callmaster* m
continue;
printlen=snprintf(replybuffer,(outbufend-replybuffer),"------ Media #%u, port %5u <> %15s:%-5hu%s, "
""UINT64F" p, "UINT64F" b, "UINT64F" e, %llu last_packet\n",
""UINT64F" p, "UINT64F" b, "UINT64F" e, "UINT64F" last_packet\n",