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

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

Change-Id: I60de23237e9266eeefaf55d27f1c2f29c9673031
changes/66/11466/1
Kirill Solomko 9 years ago
parent d652a80441
commit 9e48eb7bc4

@ -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