27include_once DOL_DOCUMENT_ROOT.
'/core/modules/DolibarrModules.class.php';
46 $this->family =
"interface";
48 $this->
name = preg_replace(
'/^mod/i',
'', get_class($this));
49 $this->
description =
"Integration of a ClickToDial system (Asterisk, ...)";
50 $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.";
52 $this->version =
'dolibarr';
54 $this->const_name =
'MAIN_MODULE_'.strtoupper($this->
name);
55 $this->picto =
'phoning';
58 $this->dirs = array();
61 $this->depends = array();
62 $this->requiredby = array();
65 $this->config_page_url = array(
"clicktodial.php");
68 $this->
const = array();
71 $this->boxes = array();
74 $this->rights = array();
75 $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.