![Cisco IEC 4610 Скачать руководство пользователя страница 205](http://html.mh-extra.com/html/cisco/iec-4610/iec-4610_user-manual_65856205.webp)
F-7
Cisco Interactive Experience Client 4600 Series User Guide
Appendix F Video Conferencing Using the Session Initiation Protocol Client
SipPhone Widget
var useApplicationData = true;
function initSIP(){
writeLog('Starting SIP widget:');
callInProgress = false;
sipphone = document.getElementById("sipphone");
sipbutton = document.getElementById("CallButton");
//sipRejectButton = document.getElementById("RejectButton");
sipTimer = document.getElementById("callTimer");
sipRegistered = document.getElementById("registeredLED");
sipStatus = document.getElementById("SIPstatus");
var dafault_target = sip_target;
var dafault_username = sip_username;
var dafault_password = sip_password;
var dafault_domain = sip_domain;
var dafault_transport = sip_transport;
if(useApplicationData){
writeLog('Using application data.');
// These are the Credentials for the SIP endpoint
// It is recommended that you use the
// Application Data at the IEM profile to set these
// Values and get them via the global.applicationData.value() API.
sip_target = global.applicationData.value("sip.target", dafault_target);
sip_username = global.applicationData.value("sip.username", dafault_username);
sip_password = global.applicationData.value("sip.password", dafault_password);
sip_domain = global.applicationData.value("sip.domain", dafault_domain);
sip_transport = global.applicationData.value("sip.transport", dafault_transport)
}
writeLog("username = "+sip_u"<br>"+"password =
"+sip_p"<br>"+"domain = "+sip"<br>"+"transport =
"+sip_tr"<br>"+"target = "+sip"<br>");
sipbutton.disabled = true;
sipRegistered.className = "LED_off";
countDown(0);
sipStatus.innerHTML = "Connecting to server...";
writeLog("Starting SIP daemon...");
sipphone.start(sip_username, sip_password, sip_domain, sip_transport);
writeLog("Connecting signals...");
sipphone.ready.connect(onReady); writeLog("onReady() connected to
sipphone.ready");
sipphone.registered.connect(onRegistered); writeLog("onRegistered() connected to
sipphone.registered");
sipphone.placingCall.connect(onPlacingCall); writeLog("onPlacingCall() connected
to sipphone.placingCall");
sipphone.established.connect(onEstablished); writeLog("onEstablished() connected
to sipphone.established");
sipphone.disconnected.connect(onDisconnected); writeLog("onDisconnected()
connected to sipphone.disconnected");
sipphone.ring.connect(onRing); writeLog("onRing() connected to sipphone.ring");
sipphone.incomingCall.connect(onIncomingCall); writeLog("onIncomingCall()
connected to sipphone.incomingCall");
sipphone.error.connect(onError); writeLog("onError() connected to
sipphone.error");
writeLog("SIP widget started, all signals are connected.");
}
function onReady(){
writeLog("sipphone.status = "+sipphone.status);
sipbutton.disabled = true;
sipbutton.className="callButton";
sipbutton.innerHTML="Call";
sipStatus.innerHTML = "Ready";
sipTimer.className = "timerOff";
//sipRegistered.className = "LED_white";
writeLog('onReady() READY');
}
Содержание IEC 4610
Страница 4: ...Contents iv Cisco Interactive Experience Client 4600 Series User Guide ...
Страница 104: ...3 48 Cisco Interactive Experience Client 4600 Series User Guide Chapter 3 Configuring Settings Reboot ...
Страница 126: ...6 8 Cisco Interactive Experience Client 4600 Series User Guide Chapter 6 Debugging Console Debugging Console ...
Страница 156: ...7 30 Cisco Interactive Experience Client 4600 Series User Guide Chapter 7 Locally Configuring the IEC Mouse Settings ...
Страница 258: ...G 12 Cisco Interactive Experience Client 4600 Series User Guide Appendix G Stream Live Video Stream Live Video ...