Do not print statistics of foreign calls

pull/247/head
Pawel Kuzak 9 years ago
parent 6785681b33
commit 70a1085712

@ -1893,6 +1893,7 @@ void call_destroy(struct call *c) {
rwlock_lock_w(&c->master_lock);
/* at this point, no more packet streams can be added */
if (!IS_FOREIGN_CALL(c)) {
ilog(LOG_INFO, "Final packet stats:");
/* CDRs and statistics */
@ -2096,7 +2097,7 @@ void call_destroy(struct call *c) {
if (_log_facility_cdr)
++cdrlinecnt;
}
}
// --- for statistics getting one way stream or no relay at all
int total_nopacket_relayed_sess = 0;

Loading…
Cancel
Save