DEPRECATION WARNING
This documentation is not using the current rendering mechanism and is probably outdated. The extension maintainer should switch to the new system. Details on how to use the rendering mechanism can be found here.
Developer manual¶
Call from another extension¶
To integrate in another extension, just define the $conf['extnum'] as the phone number to be called and call t3lib_div::callUserFunction("tx_webrtcphone->htmlLink",$conf,$conf) function.
if (t3lib_extMgm::isLoaded('webrtc_phone')) {
$conf['extnum'] = $person["phone"];
$content .= 'Click ' . t3lib_div::callUserFunction("tx_webrtcphone->htmlLink",$conf,$conf). ' to call<br />';
}