1 sample html for a click-to-talk extension – ZyXEL Communications IP PBX X6004 User Manual
Page 266

Chapter 16 Click-To-Talk Group
X6004 User’s Guide
266
16.2.3.1 Sample HTML for a Click-To-Talk Extension
This is the basic Javascript and HTML code used to embedd the ZyXEL web-based
IP phone client in a web page.
Note: You must replace both WEB_SERVER_ADDR strings in the sample code with
your own company’s website. For example, “www.zyxel.com”.
Note: If you change your dial number or WAN IP address, then you must regenerate
the sample code.
Note: Makes sure the following four files are in a single location: ctt.js, ctt.html,
clicktotalk.cab and clicktotalk.swf.
Once you embed the link, a visitor to your website can then click it and open the
web-based IP phone to speak directly to person at the other end.
Figure 131 Sample CTT Web Page
"javascript:Click_to_Talk('WEB_SERVER_ADDR','dicompjrwmA7352)yshvpdqg@wm4rV q[8&yuhvuhgrhx?zo3qTpZ:([email protected]<5483*fwqfpsfhA5)uuhvkgAL olcqr(wynqinlt?474165173.533*vxrnhprrvv@82')">Click_to_Talk