From b9a6ecdf4b0cfcb33b8095fe4f9fc470afdd956d Mon Sep 17 00:00:00 2001 From: Rene Krenn Date: Thu, 12 Nov 2015 03:38:32 +0100 Subject: [PATCH] MT#16171 revert to prior callist direction filter behaviour calls of subscribers of the same contract (inter-pbx?) should not appear in "in" calls when using "customer_id" filter. Change-Id: I9380a171c200f87601ae2d047460d3de278e20e9 --- lib/NGCP/Panel/Controller/API/CallLists.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/NGCP/Panel/Controller/API/CallLists.pm b/lib/NGCP/Panel/Controller/API/CallLists.pm index 16d8f4e751..3e5106e300 100644 --- a/lib/NGCP/Panel/Controller/API/CallLists.pm +++ b/lib/NGCP/Panel/Controller/API/CallLists.pm @@ -166,6 +166,7 @@ class_has 'query_params' => ( } else { return { 'destination_account_id' => $owner->{customer}->id, + 'source_account_id' => {'!=' => $owner->{customer}->id}, }; } }