]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-8221 [verto_communicator] Fix number in call history
authorStefan Yohansson <stefan@evolux.net.br>
Sat, 26 Sep 2015 13:19:55 +0000 (10:19 -0300)
committerStefan Yohansson <stefan@evolux.net.br>
Sat, 26 Sep 2015 13:19:55 +0000 (10:19 -0300)
html5/verto/verto_communicator/src/vertoControllers/controllers/MainController.js

index db8475f9576885dca1090dc39778375b546651d3..61f56954e4e157871b877d2fb99d57657a9afea2 100644 (file)
 
           $scope.answerCall();
           storage.data.called_number = data;
-          CallHistory.add(number, 'inbound', true);
+          CallHistory.add(data, 'inbound', true);
           $location.path('/incall');
         }, function() {
           $scope.declineCall();
-          CallHistory.add(number, 'inbound', false);
+          CallHistory.add(data, 'inbound', false);
         });
       });