F-5
Cisco Interactive Experience Client 4600 Series User Guide
Appendix F Video Conferencing Using the Session Initiation Protocol Client
SipPhone Widget
Sample Test Code
<!-- IEC-4.155.393 -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>SIP phone</title>
<style type="text/css">
html, body {padding:0; margin:0; width:100%; height:100%}
body {background: #1e2024; color: #ffffff; font:normal 12px Arial, Helvetica,
sans-serif;}
body {background: -webkit-gradient(linear, left top, left bottom,
color-stop(0%,rgba(180,180,177,1)), color-stop(32%,rgba(214,213,212,1)),
color-stop(100%,rgba(255,255,255,1))); background: -webkit-linear-gradient(top,
rgba(180,180,177,1) 0%,rgba(214,213,212,1) 32%,rgba(255,255,255,1) 100%);}
ul, ol, li {padding:0; margin:0;}
.vbox, .hbox {
display: -webkit-box;
display: box;
-webkit-box-pack: justify;
box-pack: justify;
text-align:justify;
text-align:center;
}
.vbox {
-webkit-box-orient: vertical;
box-orient: vertical;
}
.hbox {
-webkit-box-orient: horizontal;
box-orient: horizontal;
}
.fullwindow {
height:100%; width:100%;
display: -webkit-box;
display: box;
captured()
This signal is fired when an user action of taking
a still snapshot of an video call is successfully
finished. Once this signal is fired, the application
can call getImage() to get the captured image (as
a JPEG image).
error(in int code, in string explaination)
This signal is indicative of any errors whilst the
widget operation. The signal has a code and an
explanation about the error that was encountered.
Error Codes:
404: No answer
401: Registration failed
485: User busy
494: User not found
486: Call manager not able to route call
503: Service unavailable