.. ================================================== .. FOR YOUR INFORMATION .. -------------------------------------------------- .. -*- coding: utf-8 -*- with BOM. .. include:: ../Includes.txt .. _users-manual: Users manual ============ There are to method to use this extension, using frontend plugin or typoscript. .. index:: single: Frontend Plugin Frontend Plugin --------------- To use the click to dial plugin, go to page and add a content element, choose Click to dial plugin. .. figure:: ../Images/UserManual/WizardView.png :alt: Wizard view Default Wizard view On the plugin setting, input the phone number for the click to dial button. .. figure:: ../Images/UserManual/FeSettings.png :alt: Input Number Put the Phone number to dial Click save and it will show phone icon on the website page like the picture below. .. figure:: ../Images/UserManual/DialIcon.png :alt: Dial icon Phone icon that will show up on the website. .. index:: single: Typoscript Using Typoscript ---------------- The click to dial plugin can be called from typoscript to make it easier to put and integrate on the website. The following codes are an example to show the dial button on every page before main content:: includeLibs.tx_webrtcphone = EXT:webrtc_phone/class.tx_webrtcphone.php temp.link = USER temp.link { userFunc = tx_webrtcphone->htmlLink userFunc.extnum = *60 } temp.maincol = COA temp.maincol { 10 = CONTENT 9 < temp.link 10 < styles.content.get } page.10.subparts.maincol < temp.maincol The typoscript only need .extnum parameter which define the phone number to be called. Script behaviour ---------------- The call icon will be in green color if registration to the SIP server is sucessfull, if not it is in grey color. If browser is not supported, the call icon will be hidden.