27include_once DOL_DOCUMENT_ROOT.
'/core/modules/DolibarrModules.class.php';
 
   45    $this->family = 
"interface";
 
   47    $this->
name = preg_replace(
'/^mod/i', 
'', get_class($this));
 
   48    $this->
description = 
"Integration of a ClickToDial system (Asterisk, ...)";
 
   49    $this->descriptionlong = 
"Support a Click To Dial feature with a SIP system. When clicking on a phone number, your phone system automatically call the callee.";
 
   51    $this->version = 
'dolibarr'; 
 
   53    $this->const_name = 
'MAIN_MODULE_'.strtoupper($this->
name);
 
   54    $this->picto = 
'phoning';
 
   57    $this->dirs = array();
 
   60    $this->depends = array();
 
   61    $this->requiredby = array();
 
   64    $this->config_page_url = array(
"clicktodial.php");
 
   67    $this->
const = array();
 
   70    $this->boxes = array();
 
   73    $this->rights = array();
 
   74    $this->rights_class = 
'clicktodial';
 
 
 
Class to describe and enable module Click to Dial.
__construct($db)
Constructor.
print $script_file $mode $langs defaultlang(is_numeric($duration_value) ? " delay=". $duration_value :"").(is_numeric($duration_value2) ? " after cd cd cd description as description
Only used if Module[ID]Desc translation string is not found.
$conf db name
Only used if Module[ID]Name translation string is not found.