FS-8221 [verto_communicator] Fix number in call history

This commit is contained in:
Stefan Yohansson 2015-09-26 10:19:55 -03:00
parent 90124856d4
commit 555be3733b

View File

@ -349,11 +349,11 @@
$scope.answerCall(); $scope.answerCall();
storage.data.called_number = data; storage.data.called_number = data;
CallHistory.add(number, 'inbound', true); CallHistory.add(data, 'inbound', true);
$location.path('/incall'); $location.path('/incall');
}, function() { }, function() {
$scope.declineCall(); $scope.declineCall();
CallHistory.add(number, 'inbound', false); CallHistory.add(data, 'inbound', false);
}); });
}); });