MT#61856 `!IS_OWN_CALL()` has a dedicated equivalent

There is `IS_FOREIGN_CALL()`, just use it.

Change-Id: Ice23bc34a9ff674717a15d47583e6bb215c8d8d1
master
Donat Zenichev 4 days ago
parent 8b5f505fc2
commit 10c003a158

@ -5241,7 +5241,7 @@ void call_destroy(call_t *c) {
mqtt_timer_stop(&c->mqtt_timer);
if (!IS_OWN_CALL(c))
if (IS_FOREIGN_CALL(c))
goto no_stats_output;
///// stats output

@ -41,7 +41,7 @@ void cdr_update_entry(call_t * c) {
const rtp_payload_type *rtp_pt;
struct packet_stream *ps=0;
if (!IS_OWN_CALL(c))
if (IS_FOREIGN_CALL(c))
return;
/* CDRs and statistics */

Loading…
Cancel
Save