TT#136900 fix detecting fees not matching

Change-Id: Ia3b14228f82e6a86e42e17d5ed046cee1c1b13e5
mr10.0.1
Rene Krenn 4 years ago
parent 75f61accde
commit d9e9071cda

@ -2335,7 +2335,7 @@ sub get_call_cost {
DEBUG "calculating call cost for profile_id $profile_id with type $type, direction $direction, ".
"src_user_domain $src_user_domain, dst_user_domain $dst_user_domain" unless $ignore_domain;
if($ignore_domain or get_profile_info($profile_id, $type, $direction, $src_user_domain, $dst_user_domain, $dst_user,
if($ignore_domain or not get_profile_info($profile_id, $type, $direction, $src_user_domain, $dst_user_domain, $dst_user,
$r_profile_info, $cdr->{start_time})) {
DEBUG "trying user only for profile_id $profile_id with type $type, direction $direction, ".
"src_user_domain $src_user, dst_user_domain $dst_user";

Loading…
Cancel
Save