TT#1477 MaliciousCalls API fix param filter by caller/callee/callid

* changed the query for callid, caller, callee params
      from exclusive "!=" to inclusive "="

Change-Id: I3a7e05b515203e7f48675e658b269fad73cae2a3
changes/61/11461/1
Kirill Solomko 8 years ago
parent 351a0b80c6
commit a12fe6bd4e

@ -49,7 +49,7 @@ sub query_params {
first => sub {
my $q = shift;
{
'me.call_id' => { '!=' => $q },
'me.call_id' => $q,
};
},
second => sub {},
@ -62,7 +62,7 @@ sub query_params {
first => sub {
my $q = shift;
{
'me.caller' => { '!=' => $q },
'me.caller' => $q,
};
},
second => sub {},
@ -75,7 +75,7 @@ sub query_params {
first => sub {
my $q = shift;
{
'me.callee' => { '!=' => $q },
'me.callee' => $q,
};
},
second => sub {},

Loading…
Cancel
Save