Skip to content

Commit 67fa9c0

Browse files
committed
callee.js: dial sounds checkbox for callee web client
1 parent ca1b1c6 commit 67fa9c0

File tree

1 file changed

+8
-16
lines changed

1 file changed

+8
-16
lines changed

webroot/callee/callee.js

Lines changed: 8 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -589,7 +589,7 @@ function login(retryFlag) {
589589
gLog('outboundIP '+outboundIP);
590590

591591
getSettings();
592-
/*
592+
/*
593593
if(!pushRegistration) {
594594
// we retrieve the pushRegistration here under /callee/(calleeID),
595595
// so that the pushRegistration.scope will also be /callee/(calleeID)
@@ -606,7 +606,7 @@ function login(retryFlag) {
606606
console.log("serviceWorker.ready err",err.message);
607607
});
608608
}
609-
*/
609+
*/
610610
if(parts.length>=5 && parts[4]=="true") {
611611
isHiddenCheckbox.checked = true;
612612
autoanswerCheckbox.checked = false;
@@ -634,13 +634,13 @@ function login(retryFlag) {
634634
if(idx>0) {
635635
mainLink = mainLink.substring(0,idx); //+ "/webcall";
636636
}
637-
/*
637+
/*
638638
if(loginStatus=="noservice") {
639639
wsSecret = "";
640640
showStatus("Service error<br><a href='"+mainLink+"'>Main page</a>",-1);
641641
form.style.display = "none";
642642
} else
643-
*/
643+
*/
644644
if(loginStatus=="notregistered") {
645645
wsSecret = "";
646646
showStatus("User ID unknown<br>",-1);
@@ -742,9 +742,7 @@ function offlineAction() {
742742
gLog('offlineAction');
743743
goOnlineButton.disabled = false;
744744
goOfflineButton.disabled = true;
745-
//if(!mediaConnect) {
746-
onlineIndicator.src="";
747-
//}
745+
onlineIndicator.src="";
748746
}
749747

750748
function gotStream2() {
@@ -919,13 +917,7 @@ function wsOnOpen() {
919917
}
920918
isHiddenlabel.style.display = "block";
921919
autoanswerlabel.style.display = "block";
922-
923-
if(typeof Android !== "undefined" && Android !== null) {
924-
if(Android.getVersionName()!="1.0F" && Android.getVersionName()!="1.0T" &&
925-
Android.getVersionName()>="1.0.3") {
926-
dialsoundslabel.style.display = "block";
927-
}
928-
}
920+
dialsoundslabel.style.display = "block";
929921
menuSettingsElement.style.display = "block";
930922
iconContactsElement.style.display = "block";
931923
dialIdElement.style.display = "block";
@@ -1133,8 +1125,8 @@ function signalingCommand(message) {
11331125
// candidate:1151307505 1 tcp 1518280447 192.168.3.209 9 typ host tcptype active generation 0 ufrag /RrR network-id 1
11341126
// candidate:2337567925 1 udp 1686052607 37.201.195.49 47218 typ srflx raddr 192.168.3.209 rport 19890 generation 0 ufrag /RrR network-id 1 L1451
11351127
// candidate:240334351 1 udp 41885439 66.228.46.43 50178 typ relay raddr 37.201.195.49 rport 47218 generation 0 ufrag /RrR network-id 1
1136-
gLog("peerCon.addIceCandidate accept address", address, callerCandidate.candidate);
1137-
// gLog("peerCon.addIceCandidate accept address="+address);
1128+
// gLog("peerCon.addIceCandidate accept address", address, callerCandidate.candidate);
1129+
gLog("peerCon.addIceCandidate accept address="+address+" "+callerCandidate.candidate);
11381130
if(address.indexOf(":")>=0
11391131
|| address==outboundIP
11401132
|| address.endsWith(".local")

0 commit comments

Comments
 (0)