fix calling

This commit is contained in:
Marco Martin 2015-04-28 12:29:14 +02:00
parent cff41cc6c0
commit c9ee41f3ba

View file

@ -90,11 +90,11 @@ ApplicationWindow {
//BEGIN FUNCTIONS
function call(number) {
if (!voiceCallmanager.activeVoiceCall) {
console.log("Calling: " + status.text);
console.log("Calling: " + providerId + " " + number);
voiceCallmanager.dial(providerId, number);
} else {
console.log("Hanging up: " + status.text);
console.log("Hanging up: " + voiceCallmanager.activeVoiceCall.lineId);
status.text = '';
var call = voiceCallmanager.activeVoiceCall;
if (call) {