<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.dolibarr.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Oscim</id>
	<title>Dolibarr ERP CRM Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.dolibarr.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Oscim"/>
	<link rel="alternate" type="text/html" href="https://wiki.dolibarr.org/index.php/Special:Contributions/Oscim"/>
	<updated>2026-11-08T01:16:31Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.39.17</generator>
	<entry>
		<id>https://wiki.dolibarr.org/index.php?title=Module_ipbx3cx&amp;diff=60093</id>
		<title>Module ipbx3cx</title>
		<link rel="alternate" type="text/html" href="https://wiki.dolibarr.org/index.php?title=Module_ipbx3cx&amp;diff=60093"/>
		<updated>2024-04-24T14:21:06Z</updated>

		<summary type="html">&lt;p&gt;Oscim: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Ce module est disponible sur [https://www.dolistore.com/fr/crm-gestion-relation-client/1594-Liaison-module-ipbx3cx-avec-un-3CX.html?search_query=3cx&amp;amp;results=4 dolistore]&lt;br /&gt;
&lt;br /&gt;
Liaison entre un IPbx 3CX et dolibarr pour tracer les appels entrant et sortant dans dolibarr, en fonction du reglage effectué dans 3CX, un contact sera créer si le numero de téléphone n&#039;existe pas dans dolibarr.&lt;br /&gt;
&lt;br /&gt;
Par ailleurs 3CX interrogera pour chaque appel entrant, la base de donnée de dolibarr (contact) afin d&#039;afficher les informations (nom, prenom, societe) de l&#039;appelant. Pour finir, l&#039;annuaire de 3CX sera conpléte au fils de l&#039;eau (appel entrant et sortant)  avec les données issue de dolibarr.&lt;br /&gt;
&lt;br /&gt;
*Il est necessaire d&#039;installer sur 3CX dans Paramateres &amp;gt; CRM le support 3CX Dolibarr CRM (fichier disponible dans le module de dolibarr dans le dossier 3cx)&lt;br /&gt;
*la liaison vers dolibarr et de configurer l&#039;ensemble des champs&lt;br /&gt;
*Les module framework, clicktodial, agenda et ApiRest sont necessaire pour le fonctionnement de ce module&lt;br /&gt;
&lt;br /&gt;
Other external modules are available on Dolistore.com.&lt;br /&gt;
&lt;br /&gt;
===Dolibarr Installation / Configuration FR===&lt;br /&gt;
Apres avoir creer un utilisateur 3cx , et lui avoir creer un clef d&#039;api, regler les droit comme suit:&lt;br /&gt;
&lt;br /&gt;
*Tiers/contact : tous les droits lecture/ecriture&lt;br /&gt;
*Agenda  : tous les droits lecture/ecriture&lt;br /&gt;
&lt;br /&gt;
Module ClickToDial&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Configuration avec le webclient&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt; Le liens doit ce composer comme suit: &amp;lt;nowiki&amp;gt;https://my3cx.fr:5001/webclient/#/call?phone=&amp;lt;/nowiki&amp;gt;&#039;&#039;&#039;PHONETO&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
====Dolibarr Evenements====&lt;br /&gt;
Les evenements seront enregistré et affecté au nom de l&#039;utilisateur si l&#039;un de ces numero de téléphone correpond à l&#039;utilisateur 3cx recevant les appels, ou son numero de poste|groupe (onglet cliktocall)&lt;br /&gt;
&lt;br /&gt;
Nous recommandons d&#039;exploiter le numero de poste du module clicktodial afin de laisser les colonne de numéro de l&#039;utilisateur disponible.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Attention!!&#039;&#039;&#039; Dans le cas ou la config de 3cx fait sonner un groupe d&#039;appel, dans ce cas le numero presenté comme utilisateur 3cx sera le numero du groupe et non pas le numero du poste; Cette remarqque n&#039;est valable que dans le contexte d&#039;un appel non repondu. Dans le cas d&#039;un appel repondu, le ratachement sera effectué vers l&#039;utilisateur ayant repondu&lt;br /&gt;
&lt;br /&gt;
Dans le cas ou l&#039;utilisateur n&#039;est pas trouvé, les evenements seront rattaché à l&#039;utilisateur 3Cx configuré;&lt;br /&gt;
&lt;br /&gt;
Il est possible d&#039;affecter les groupes d&#039;appel à l&#039;utilisateur  sous cetet forme: 800|801|802 ou les 800, 811 sont les numero de groupes, et le 811 est le numero du poste.&lt;br /&gt;
&lt;br /&gt;
Il est donc important de configurer l&#039;ensemble des utilisateurs de dolibarr avec les utilisateur 3CX&lt;br /&gt;
&lt;br /&gt;
===Dolibarr custom merge contact===&lt;br /&gt;
Pour ajouter la function merge sur les contact (la generation atomatqiue de contact peut generer de nombreux doublon) il est necessaire d&#039;ajouter quelques ligen dans la card de conatct&lt;br /&gt;
&lt;br /&gt;
Modifié le fichier /conatct/card.php apres la section&lt;br /&gt;
 &amp;lt;code&amp;gt;if ($user-&amp;gt;rights-&amp;gt;societe-&amp;gt;contact-&amp;gt;supprimer)&lt;br /&gt;
 {&lt;br /&gt;
 &amp;lt;nowiki&amp;gt; &amp;lt;/nowiki&amp;gt;   if ($action == &#039;delete&#039;)&lt;br /&gt;
 &amp;lt;nowiki&amp;gt; &amp;lt;/nowiki&amp;gt;   {&lt;br /&gt;
 &amp;lt;nowiki&amp;gt; &amp;lt;/nowiki&amp;gt;       print $form-&amp;gt;formconfirm($_SERVER[&amp;quot;PHP_SELF&amp;quot;].&amp;quot;?id=&amp;quot;.$id.($backtopage ? &#039;&amp;amp;backtopage=&#039;.$backtopage : &amp;lt;nowiki&amp;gt;&#039;&#039;&amp;lt;/nowiki&amp;gt;), $langs-&amp;gt;trans(&amp;quot;DeleteContact&amp;quot;), $langs-&amp;gt;trans(&amp;quot;ConfirmDeleteContact&amp;quot;), &amp;quot;confirm_delete&amp;quot;, &amp;lt;nowiki&amp;gt;&#039;&#039;&amp;lt;/nowiki&amp;gt;, 0, 1);&lt;br /&gt;
 &amp;lt;nowiki&amp;gt; &amp;lt;/nowiki&amp;gt;   }&amp;lt;/code&amp;gt;&lt;br /&gt;
Ajouter celle ci&lt;br /&gt;
 &amp;lt;code&amp;gt;// Call Hook formConfirm&lt;br /&gt;
 $parameters = array(&#039;formConfirm&#039; =&amp;gt; $formconfirm, );&lt;br /&gt;
 $reshook = $hookmanager-&amp;gt;executeHooks(&#039;formConfirm&#039;, $parameters, $object, $action); // Note that $action and $object may have been modified by hook&lt;br /&gt;
 if (empty($reshook)) print  $hookmanager-&amp;gt;resPrint;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===3CX Installation / Configuration FR===&lt;br /&gt;
Activer le webclient pour chaque poste utilisant le click to call Pour obtenir la remonté de fiche lors d&#039;un appel entrant , vous pouvez allez parametres &amp;gt; Integration et regler l&#039;url comme suit : &amp;lt;nowiki&amp;gt;https://votredolibarr/contact/list.php?search_phone=%CallerNumber%&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Télécharger et installer dans 3CX le support 3CX Dolibarr CRM&lt;br /&gt;
&lt;br /&gt;
Dans &amp;quot;General Configuration&amp;quot; L&#039;URL correspond à l&#039;url de dolibarr en https (avec un certificat valide) ! &#039;&#039;&#039;Obligatoire !&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*L&#039;Username le nom de l&#039;utilisateur interne : 3cx&lt;br /&gt;
*L&#039;ApiKeyname, le nom de la clef pour l&#039;identification ddans l&#039;api de dolibarr : DOLAPIKEY&lt;br /&gt;
*L&#039;acces Key, la clef d&#039;api de l&#039;utilisateur 3cx&lt;br /&gt;
&lt;br /&gt;
====Journalisation des appels====&lt;br /&gt;
Activer l&#039;option dans 3CX &#039;&#039;&#039;Enable Call Journaling&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Cette option créer un événement dans l&#039;agenda affecter à un utilisateur ou par default à l&#039;utilisateur 3CX&lt;br /&gt;
&lt;br /&gt;
Afin d&#039;obtenir une remonté dans l&#039;agenda des appels entrant et sortant , regler Create Contacts on Call Direction: sur Inbound/Outbound&lt;br /&gt;
&lt;br /&gt;
====Creation de Contact/Tiers====&lt;br /&gt;
Activer l&#039;option dans 3CX &#039;&#039;&#039;Enable Contact Creation&#039;&#039;&#039; Cette option permet la creation d&#039;un Contact/Tiers dans dolibarr dans le cas ou le numéro de téléphone n&#039;est pas trouvé dans dolibarr&amp;lt;blockquote&amp;gt;Notez toutefois que la creation de contact dans dolibarr peut generer des doublons et aucune option de dolibarr ne permet de fusionner les contacts; Il et toutefois possible de fusionner les Tiers.&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Journalisation des chats====&lt;br /&gt;
&#039;&#039;&#039;Non implementé&#039;&#039;&#039;&lt;/div&gt;</summary>
		<author><name>Oscim</name></author>
	</entry>
	<entry>
		<id>https://wiki.dolibarr.org/index.php?title=Module_ipbx3cx&amp;diff=60092</id>
		<title>Module ipbx3cx</title>
		<link rel="alternate" type="text/html" href="https://wiki.dolibarr.org/index.php?title=Module_ipbx3cx&amp;diff=60092"/>
		<updated>2024-04-24T14:14:55Z</updated>

		<summary type="html">&lt;p&gt;Oscim: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Liaison entre un IPbx 3CX et dolibarr pour tracer les appels entrant et sortant dans dolibarr, en fonction du reglage effectué dans 3CX, un contact sera créer si le numero de téléphone n&#039;existe pas dans dolibarr.&lt;br /&gt;
&lt;br /&gt;
Par ailleurs 3CX interrogera pour chaque appel entrant, la base de donnée de dolibarr (contact) afin d&#039;afficher les informations (nom, prenom, societe) de l&#039;appelant. Pour finir, l&#039;annuaire de 3CX sera conpléte au fils de l&#039;eau (appel entrant et sortant)  avec les données issue de dolibarr.&lt;br /&gt;
&lt;br /&gt;
*Il est necessaire d&#039;installer sur 3CX dans Paramateres &amp;gt; CRM le support 3CX Dolibarr CRM (fichier disponible dans le module de dolibarr dans le dossier 3cx)&lt;br /&gt;
*la liaison vers dolibarr et de configurer l&#039;ensemble des champs&lt;br /&gt;
*Les module framework, clicktodial, agenda et ApiRest sont necessaire pour le fonctionnement de ce module&lt;br /&gt;
&lt;br /&gt;
Other external modules are available on Dolistore.com.&lt;br /&gt;
&lt;br /&gt;
===Dolibarr Installation / Configuration FR===&lt;br /&gt;
Apres avoir creer un utilisateur 3cx , et lui avoir creer un clef d&#039;api, regler les droit comme suit:&lt;br /&gt;
&lt;br /&gt;
*Tiers/contact : tous les droits lecture/ecriture&lt;br /&gt;
*Agenda  : tous les droits lecture/ecriture&lt;br /&gt;
&lt;br /&gt;
Module ClickToDial&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Configuration avec le webclient&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt; Le liens doit ce composer comme suit: &amp;lt;nowiki&amp;gt;https://my3cx.fr:5001/webclient/#/call?phone=&amp;lt;/nowiki&amp;gt;&#039;&#039;&#039;PHONETO&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
====Dolibarr Evenements====&lt;br /&gt;
Les evenements seront enregistré et affecté au nom de l&#039;utilisateur si l&#039;un de ces numero de téléphone correpond à l&#039;utilisateur 3cx recevant les appels, ou son numero de poste|groupe (onglet cliktocall)&lt;br /&gt;
&lt;br /&gt;
Nous recommandons d&#039;exploiter le numero de poste du module clicktodial afin de laisser les colonne de numéro de l&#039;utilisateur disponible.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Attention!!&#039;&#039;&#039; Dans le cas ou la config de 3cx fait sonner un groupe d&#039;appel, dans ce cas le numero presenté comme utilisateur 3cx sera le numero du groupe et non pas le numero du poste; Cette remarqque n&#039;est valable que dans le contexte d&#039;un appel non repondu. Dans le cas d&#039;un appel repondu, le ratachement sera effectué vers l&#039;utilisateur ayant repondu&lt;br /&gt;
&lt;br /&gt;
Dans le cas ou l&#039;utilisateur n&#039;est pas trouvé, les evenements seront rattaché à l&#039;utilisateur 3Cx configuré;&lt;br /&gt;
&lt;br /&gt;
Il est possible d&#039;affecter les groupes d&#039;appel à l&#039;utilisateur  sous cetet forme: 800|801|802 ou les 800, 811 sont les numero de groupes, et le 811 est le numero du poste.&lt;br /&gt;
&lt;br /&gt;
Il est donc important de configurer l&#039;ensemble des utilisateurs de dolibarr avec les utilisateur 3CX&lt;br /&gt;
&lt;br /&gt;
===Dolibarr custom merge contact===&lt;br /&gt;
Pour ajouter la function merge sur les contact (la generation atomatqiue de contact peut generer de nombreux doublon) il est necessaire d&#039;ajouter quelques ligen dans la card de conatct&lt;br /&gt;
&lt;br /&gt;
Modifié le fichier /conatct/card.php apres la section&lt;br /&gt;
 &amp;lt;code&amp;gt;if ($user-&amp;gt;rights-&amp;gt;societe-&amp;gt;contact-&amp;gt;supprimer)&lt;br /&gt;
 {&lt;br /&gt;
 &amp;lt;nowiki&amp;gt; &amp;lt;/nowiki&amp;gt;   if ($action == &#039;delete&#039;)&lt;br /&gt;
 &amp;lt;nowiki&amp;gt; &amp;lt;/nowiki&amp;gt;   {&lt;br /&gt;
 &amp;lt;nowiki&amp;gt; &amp;lt;/nowiki&amp;gt;       print $form-&amp;gt;formconfirm($_SERVER[&amp;quot;PHP_SELF&amp;quot;].&amp;quot;?id=&amp;quot;.$id.($backtopage ? &#039;&amp;amp;backtopage=&#039;.$backtopage : &amp;lt;nowiki&amp;gt;&#039;&#039;&amp;lt;/nowiki&amp;gt;), $langs-&amp;gt;trans(&amp;quot;DeleteContact&amp;quot;), $langs-&amp;gt;trans(&amp;quot;ConfirmDeleteContact&amp;quot;), &amp;quot;confirm_delete&amp;quot;, &amp;lt;nowiki&amp;gt;&#039;&#039;&amp;lt;/nowiki&amp;gt;, 0, 1);&lt;br /&gt;
 &amp;lt;nowiki&amp;gt; &amp;lt;/nowiki&amp;gt;   }&amp;lt;/code&amp;gt;&lt;br /&gt;
Ajouter celle ci&lt;br /&gt;
 &amp;lt;code&amp;gt;// Call Hook formConfirm&lt;br /&gt;
 $parameters = array(&#039;formConfirm&#039; =&amp;gt; $formconfirm, );&lt;br /&gt;
 $reshook = $hookmanager-&amp;gt;executeHooks(&#039;formConfirm&#039;, $parameters, $object, $action); // Note that $action and $object may have been modified by hook&lt;br /&gt;
 if (empty($reshook)) print  $hookmanager-&amp;gt;resPrint;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===3CX Installation / Configuration FR===&lt;br /&gt;
Activer le webclient pour chaque poste utilisant le click to call Pour obtenir la remonté de fiche lors d&#039;un appel entrant , vous pouvez allez parametres &amp;gt; Integration et regler l&#039;url comme suit : &amp;lt;nowiki&amp;gt;https://votredolibarr/contact/list.php?search_phone=%CallerNumber%&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Télécharger et installer dans 3CX le support 3CX Dolibarr CRM&lt;br /&gt;
&lt;br /&gt;
Dans &amp;quot;General Configuration&amp;quot; L&#039;URL correspond à l&#039;url de dolibarr en https (avec un certificat valide) ! &#039;&#039;&#039;Obligatoire !&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*L&#039;Username le nom de l&#039;utilisateur interne : 3cx&lt;br /&gt;
*L&#039;ApiKeyname, le nom de la clef pour l&#039;identification ddans l&#039;api de dolibarr : DOLAPIKEY&lt;br /&gt;
*L&#039;acces Key, la clef d&#039;api de l&#039;utilisateur 3cx&lt;br /&gt;
&lt;br /&gt;
====Journalisation des appels====&lt;br /&gt;
Activer l&#039;option dans 3CX &#039;&#039;&#039;Enable Call Journaling&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Cette option créer un événement dans l&#039;agenda affecter à un utilisateur ou par default à l&#039;utilisateur 3CX&lt;br /&gt;
&lt;br /&gt;
Afin d&#039;obtenir une remonté dans l&#039;agenda des appels entrant et sortant , regler Create Contacts on Call Direction: sur Inbound/Outbound&lt;br /&gt;
&lt;br /&gt;
====Creation de Contact/Tiers====&lt;br /&gt;
Activer l&#039;option dans 3CX &#039;&#039;&#039;Enable Contact Creation&#039;&#039;&#039; Cette option permet la creation d&#039;un Contact/Tiers dans dolibarr dans le cas ou le numéro de téléphone n&#039;est pas trouvé dans dolibarr&amp;lt;blockquote&amp;gt;Notez toutefois que la creation de contact dans dolibarr peut generer des doublons et aucune option de dolibarr ne permet de fusionner les contacts; Il et toutefois possible de fusionner les Tiers.&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Journalisation des chats====&lt;br /&gt;
&#039;&#039;&#039;Non implementé&#039;&#039;&#039;&lt;/div&gt;</summary>
		<author><name>Oscim</name></author>
	</entry>
	<entry>
		<id>https://wiki.dolibarr.org/index.php?title=Module_ipbx3cx&amp;diff=60091</id>
		<title>Module ipbx3cx</title>
		<link rel="alternate" type="text/html" href="https://wiki.dolibarr.org/index.php?title=Module_ipbx3cx&amp;diff=60091"/>
		<updated>2024-04-24T14:13:25Z</updated>

		<summary type="html">&lt;p&gt;Oscim: Created page with &amp;quot;Liaison entre un IPbx 3CX et dolibarr pour tracer les appels entrant et sortant dans dolibarr, en fonction du reglage effectué dans 3CX, un contact sera créer si le numero d...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Liaison entre un IPbx 3CX et dolibarr pour tracer les appels entrant et sortant dans dolibarr, en fonction du reglage effectué dans 3CX, un contact sera créer si le numero de téléphone n&#039;existe pas dans dolibarr.&lt;br /&gt;
&lt;br /&gt;
Par ailleurs 3CX interrogera pour chaque appel entrant, la base de donnée de dolibarr (contact) afin d&#039;afficher les informations (nom, prenom, societe) de l&#039;appelant. Pour finir, l&#039;annuaire de 3CX sera conpléte au fils de l&#039;eau (appel entrant et sortant)  avec les données issue de dolibarr.&lt;br /&gt;
&lt;br /&gt;
* Il est necessaire d&#039;installer sur 3CX dans Paramateres &amp;gt; CRM le support 3CX Dolibarr CRM&lt;br /&gt;
* la liaison vers dolibarr et de configurer l&#039;ensemble des champs&lt;br /&gt;
* Les module framework, clicktodial, agenda et ApiRest sont necessaire pour le fonctionnement de ce module&lt;br /&gt;
&lt;br /&gt;
Other external modules are available on Dolistore.com.&lt;br /&gt;
&lt;br /&gt;
=== Dolibarr Installation / Configuration FR ===&lt;br /&gt;
Apres avoir creer un utilisateur 3cx , et lui avoir creer un clef d&#039;api, regler les droit comme suit:&lt;br /&gt;
&lt;br /&gt;
* Tiers/contact : tous les droits lecture/ecriture&lt;br /&gt;
* Agenda  : tous les droits lecture/ecriture&lt;br /&gt;
&lt;br /&gt;
Module ClickToDial&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Configuration avec le webclient&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt; Le liens doit ce composer comme suit: &amp;lt;nowiki&amp;gt;https://my3cx.fr:5001/webclient/#/call?phone=&amp;lt;/nowiki&amp;gt;&#039;&#039;&#039;PHONETO&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==== Dolibarr Evenements ====&lt;br /&gt;
Les evenements seront enregistré et affecté au nom de l&#039;utilisateur si l&#039;un de ces numero de téléphone correpond à l&#039;utilisateur 3cx recevant les appels, ou son numero de poste|groupe (onglet cliktocall)&lt;br /&gt;
&lt;br /&gt;
Nous recommandons d&#039;exploiter le numero de poste du module clicktodial afin de laisser les colonne de numéro de l&#039;utilisateur disponible.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Attention!!&#039;&#039;&#039; Dans le cas ou la config de 3cx fait sonner un groupe d&#039;appel, dans ce cas le numero presenté comme utilisateur 3cx sera le numero du groupe et non pas le numero du poste; Cette remarqque n&#039;est valable que dans le contexte d&#039;un appel non repondu. Dans le cas d&#039;un appel repondu, le ratachement sera effectué vers l&#039;utilisateur ayant repondu&lt;br /&gt;
&lt;br /&gt;
Dans le cas ou l&#039;utilisateur n&#039;est pas trouvé, les evenements seront rattaché à l&#039;utilisateur 3Cx configuré;&lt;br /&gt;
&lt;br /&gt;
Il est possible d&#039;affecter les groupes d&#039;appel à l&#039;utilisateur  sous cetet forme: 800|801|802 ou les 800, 811 sont les numero de groupes, et le 811 est le numero du poste.&lt;br /&gt;
&lt;br /&gt;
Il est donc important de configurer l&#039;ensemble des utilisateurs de dolibarr avec les utilisateur 3CX&lt;br /&gt;
&lt;br /&gt;
=== Dolibarr custom merge contact ===&lt;br /&gt;
Pour ajouter la function merge sur les contact (la generation atomatqiue de contact peut generer de nombreux doublon) il est necessaire d&#039;ajouter quelques ligen dans la card de conatct&lt;br /&gt;
&lt;br /&gt;
Modifié le fichier /conatct/card.php apres la section&lt;br /&gt;
 &amp;lt;code&amp;gt;if ($user-&amp;gt;rights-&amp;gt;societe-&amp;gt;contact-&amp;gt;supprimer)&lt;br /&gt;
 {&lt;br /&gt;
 &amp;lt;nowiki&amp;gt; &amp;lt;/nowiki&amp;gt;   if ($action == &#039;delete&#039;)&lt;br /&gt;
 &amp;lt;nowiki&amp;gt; &amp;lt;/nowiki&amp;gt;   {&lt;br /&gt;
 &amp;lt;nowiki&amp;gt; &amp;lt;/nowiki&amp;gt;       print $form-&amp;gt;formconfirm($_SERVER[&amp;quot;PHP_SELF&amp;quot;].&amp;quot;?id=&amp;quot;.$id.($backtopage ? &#039;&amp;amp;backtopage=&#039;.$backtopage : &amp;lt;nowiki&amp;gt;&#039;&#039;&amp;lt;/nowiki&amp;gt;), $langs-&amp;gt;trans(&amp;quot;DeleteContact&amp;quot;), $langs-&amp;gt;trans(&amp;quot;ConfirmDeleteContact&amp;quot;), &amp;quot;confirm_delete&amp;quot;, &amp;lt;nowiki&amp;gt;&#039;&#039;&amp;lt;/nowiki&amp;gt;, 0, 1);&lt;br /&gt;
 &amp;lt;nowiki&amp;gt; &amp;lt;/nowiki&amp;gt;   }&amp;lt;/code&amp;gt;&lt;br /&gt;
Ajouter celle ci&lt;br /&gt;
 &amp;lt;code&amp;gt;// Call Hook formConfirm&lt;br /&gt;
 $parameters = array(&#039;formConfirm&#039; =&amp;gt; $formconfirm, );&lt;br /&gt;
 $reshook = $hookmanager-&amp;gt;executeHooks(&#039;formConfirm&#039;, $parameters, $object, $action); // Note that $action and $object may have been modified by hook&lt;br /&gt;
 if (empty($reshook)) print  $hookmanager-&amp;gt;resPrint;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 3CX Installation / Configuration FR ===&lt;br /&gt;
Activer le webclient pour chaque poste utilisant le click to call Pour obtenir la remonté de fiche lors d&#039;un appel entrant , vous pouvez allez parametres &amp;gt; Integration et regler l&#039;url comme suit : &amp;lt;nowiki&amp;gt;https://votredolibarr/contact/list.php?search_phone=%CallerNumber%&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Télécharger et installer dans 3CX le support 3CX Dolibarr CRM&lt;br /&gt;
&lt;br /&gt;
Dans &amp;quot;General Configuration&amp;quot; L&#039;URL correspond à l&#039;url de dolibarr en https (avec un certificat valide) ! &#039;&#039;&#039;Obligatoire !&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* L&#039;Username le nom de l&#039;utilisateur interne : 3cx&lt;br /&gt;
* L&#039;ApiKeyname, le nom de la clef pour l&#039;identification ddans l&#039;api de dolibarr : DOLAPIKEY&lt;br /&gt;
* L&#039;acces Key, la clef d&#039;api de l&#039;utilisateur 3cx&lt;br /&gt;
&lt;br /&gt;
==== Journalisation des appels ====&lt;br /&gt;
Activer l&#039;option dans 3CX &#039;&#039;&#039;Enable Call Journaling&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Cette option créer un événement dans l&#039;agenda affecter à un utilisateur ou par default à l&#039;utilisateur 3CX&lt;br /&gt;
&lt;br /&gt;
Afin d&#039;obtenir une remonté dans l&#039;agenda des appels entrant et sortant , regler Create Contacts on Call Direction: sur Inbound/Outbound&lt;br /&gt;
&lt;br /&gt;
==== Creation de Contact/Tiers ====&lt;br /&gt;
Activer l&#039;option dans 3CX &#039;&#039;&#039;Enable Contact Creation&#039;&#039;&#039; Cette option permet la creation d&#039;un Contact/Tiers dans dolibarr dans le cas ou le numéro de téléphone n&#039;est pas trouvé dans dolibarr&amp;lt;blockquote&amp;gt;Notez toutefois que la creation de contact dans dolibarr peut generer des doublons et aucune option de dolibarr ne permet de fusionner les contacts; Il et toutefois possible de fusionner les Tiers.&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Journalisation des chats ====&lt;br /&gt;
&#039;&#039;&#039;Non implementé&#039;&#039;&#039;&lt;/div&gt;</summary>
		<author><name>Oscim</name></author>
	</entry>
	<entry>
		<id>https://wiki.dolibarr.org/index.php?title=DevCamp_Valence_2021_Organization&amp;diff=52014</id>
		<title>DevCamp Valence 2021 Organization</title>
		<link rel="alternate" type="text/html" href="https://wiki.dolibarr.org/index.php?title=DevCamp_Valence_2021_Organization&amp;diff=52014"/>
		<updated>2021-09-09T09:04:49Z</updated>

		<summary type="html">&lt;p&gt;Oscim: /* Attendees registration */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{TemplateAssoEn}}&lt;br /&gt;
[[Category:DevCamps]]&lt;br /&gt;
&lt;br /&gt;
=Event=&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Dolibarr DevCamp 2021&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
3rd edition of the Dolibarr DevCamp in Valence, &#039;&#039;&#039;reserved to Dolibarr community major developers or contributors&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
[[File:Warning.png]] &#039;&#039;&#039;Only 30 seats available: Priority to [https://partners.dolibarr.org Preferred Partner] will be done if we have more.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[File:Warning.png]] &#039;&#039;&#039;Warning, a Covid health pass is mandatory to attend this event&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==Dates==&lt;br /&gt;
&lt;br /&gt;
October 2021, 21th - 24th&lt;br /&gt;
&lt;br /&gt;
==Location==&lt;br /&gt;
&lt;br /&gt;
Ibis Hotel, 2-4 avenue de la Gare, Alixan (near Valence), France&lt;br /&gt;
&lt;br /&gt;
==How to come==&lt;br /&gt;
&lt;br /&gt;
*Airplane: Lyon airport then train to Valence TGV&lt;br /&gt;
*Train: Valence TGV train station&lt;br /&gt;
*Car: Exit the A7 highway at Valence North or Valence South and follow TGV Station (Gare TGV)&lt;br /&gt;
&lt;br /&gt;
==Main languages==&lt;br /&gt;
French / English&lt;br /&gt;
&lt;br /&gt;
==Organizers==&lt;br /&gt;
&lt;br /&gt;
*Main: ATM Consulting (maxime@atm-consulting.fr)&lt;br /&gt;
*Hosting: ATM Consulting (maxime@atm-consulting.fr)&lt;br /&gt;
*Lodging and Catering: ATM Consulting (maxime@atm-consulting.fr)&lt;br /&gt;
&lt;br /&gt;
==Lodging and catering==&lt;br /&gt;
&lt;br /&gt;
Ibis Hotel rooms and restaurant&lt;br /&gt;
&lt;br /&gt;
Saturday evening in a restaurant &amp;quot;La cuisine&amp;quot; in Valence center&lt;br /&gt;
&lt;br /&gt;
=Planning=&lt;br /&gt;
&lt;br /&gt;
==Day 1 (Thursday)==&lt;br /&gt;
&lt;br /&gt;
*2:00 PM : Devcamp starts&lt;br /&gt;
&lt;br /&gt;
==Day 2 (Friday)==&lt;br /&gt;
&lt;br /&gt;
*TBD&lt;br /&gt;
&lt;br /&gt;
==Day 3 (Saturday)==&lt;br /&gt;
&lt;br /&gt;
*10:00 am - 12:00 am : Bug fix contest&lt;br /&gt;
&lt;br /&gt;
==Day 4 (Sunday)==&lt;br /&gt;
&lt;br /&gt;
*12:00 PM : Devcamp ends&lt;br /&gt;
&lt;br /&gt;
=Topics and issues to work on=&lt;br /&gt;
&lt;br /&gt;
*[https://github.com/Dolibarr/dolibarr/labels/Bug Bug fix contest]&lt;br /&gt;
*Sharing of good practices throughout the developers community&lt;br /&gt;
*Discussion on any topics, like [https://github.com/Dolibarr/dolibarr/issues?q=is%3Aopen+is%3Aissue+label%3A%22Priority+Top+Strategic%22 Top strategic Feature Requests]...&lt;br /&gt;
&lt;br /&gt;
=Validate registration=&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;To validate your registration, you must make a bank transfer of 50 € per person before the 30th of september&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Banque: CAISSE D&#039;EPARGNE&lt;br /&gt;
Code banque: 14505&lt;br /&gt;
Code guichet: 00001&lt;br /&gt;
Numéro de compte: 08000207968&lt;br /&gt;
Clé: 70&lt;br /&gt;
&lt;br /&gt;
Domiciliation: Agence Olivet&lt;br /&gt;
107, rue Jules-Marie Simon&lt;br /&gt;
45160 OLIVET&lt;br /&gt;
FRANCE&lt;br /&gt;
Nom du propriétaire du compte: Association Dolibarr&lt;br /&gt;
Code IBAN: FR76 1450 5000 0108 0002 0796 870&lt;br /&gt;
Code BIC/SWIFT: CEPAFRPP450&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
During the devcamp, the hostel may be paid by the Dolibarr association . Take a look at the rules defined for what is paid by the Dolibarr foundation for DevCamp  [https://wiki.dolibarr.org/index.php/Remboursement_frais#Formule_de_remboursement_.22DevCamp.22_Dolibarr available here]&lt;br /&gt;
&lt;br /&gt;
=Attendees registration=&lt;br /&gt;
&lt;br /&gt;
[[File:Laurent magnin.jpg||40px]] + 3 from Eoxia (Theo, Nicolas, Jules)&lt;br /&gt;
&lt;br /&gt;
*Lastname Firstname: Laurent Magnin&lt;br /&gt;
*Age: 47&lt;br /&gt;
*Coming from (town, country): Montpellier (34), France&lt;br /&gt;
*Arrival date and hour: Thursday 12h00&lt;br /&gt;
*Departure date and hour: Sunday 14h00&lt;br /&gt;
*Transportation (Train/Bus/Car/Plane): Car from Montpellier&lt;br /&gt;
*Food (Special diet, allergies, vegetarian…): None&lt;br /&gt;
*Accommodation (Common booking hotel/self…): Common booking&lt;br /&gt;
*Book hotel for me (yes/no): yes&lt;br /&gt;
*Email for contact: laurent@eoxia.com&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Maxime_Kohlhaas.png|40px]] + 3 from ATM Consulting (John, Léna and Florian)&lt;br /&gt;
&lt;br /&gt;
*Firstname Lastname: [[Maxime Kohlhaas]]&lt;br /&gt;
*Age: 34&lt;br /&gt;
*Coming from (town, country): Valence (26000), France&lt;br /&gt;
*Arrival date and hour: Thursday 14:00&lt;br /&gt;
*Departure date and hour: Sunday 12:00&lt;br /&gt;
*Transportation (Train/Bus/Car/Plane): Car&lt;br /&gt;
*Food (Special diet, allergies, vegetarian…): None&lt;br /&gt;
*Accommodation (Common booked hotel/self…): None&lt;br /&gt;
*Book hotel for me (yes/no): No&lt;br /&gt;
*Contact email: maxime@atm-consulting.fr&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Laurent Destailleur.png|40px]] + 1 from DoliCloud (Laurent + Lucas)&lt;br /&gt;
&lt;br /&gt;
*Firstname Lastname: [[Laurent Destailleur]]&lt;br /&gt;
*Age: 48&lt;br /&gt;
*Coming from (town, country): Pessac (33600), France&lt;br /&gt;
*Arrival date and hour: Thursday 14:00&lt;br /&gt;
*Departure date and hour: Sunday 12:00&lt;br /&gt;
*Transportation (Train/Bus/Car/Plane): TBD&lt;br /&gt;
*Food (Special diet, allergies, vegetarian…): None&lt;br /&gt;
*Accommodation (Common booked hotel/self…): Common booked hotel&lt;br /&gt;
*Book hotel for me (yes/no): Yes&lt;br /&gt;
*Contact email: contact@dolicloud.com&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Nicolas Zabouri.png|left|52x52px]]&lt;br /&gt;
+ 2 from Inovea Conseil (Florian, Ilies)&lt;br /&gt;
&lt;br /&gt;
*Lastname Firstname: [[Nicolas Zabouri]]&lt;br /&gt;
*Age: 39&lt;br /&gt;
*Coming from (town, country): Charmes (88)&lt;br /&gt;
*Arrival date and hour: Thursday 12h00&lt;br /&gt;
*Departure date and hour: Sunday 14h00&lt;br /&gt;
*Transportation (Train/Bus/Car/Plane): Car from Charmes&lt;br /&gt;
*Food (Special diet, allergies, vegetarian…): None&lt;br /&gt;
*Accommodation (Common booking hotel/self…): Common booking&lt;br /&gt;
*Book hotel for me (yes/no): yes&lt;br /&gt;
*Email for contact: info@inovea-conseil.com&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Firstname Lastname: Éric Seigne (CAP-REL)&lt;br /&gt;
*Age: 42&lt;br /&gt;
*Coming from (town, country): Alès (30), France&lt;br /&gt;
*Arrival date and hour: Thursday 14:00&lt;br /&gt;
*Departure date and hour: Maybe Sunday 12:00 (to be precised)&lt;br /&gt;
*Transportation (Train/Bus/Car/Plane): Car&lt;br /&gt;
*Food (Special diet, allergies, vegetarian…): None&lt;br /&gt;
*Accommodation (Common booked hotel/self…): None&lt;br /&gt;
*Book hotel for me (yes/no): yes&lt;br /&gt;
*Contact email: eric.seigne@cap-rel.fr&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Firstname Lastname: Andreu Bisquerra Gaya&lt;br /&gt;
*Age: 38&lt;br /&gt;
*Coming from (town, country): Mallorca, SPAIN (I will come with PCR)&lt;br /&gt;
*Arrival date and hour: Thursday 14:00&lt;br /&gt;
*Departure date and hour: Maybe Sunday 12:00 (to be precised)&lt;br /&gt;
*Transportation (Train/Bus/Car/Plane): Car&lt;br /&gt;
*Food (Special diet, allergies, vegetarian…): None&lt;br /&gt;
*Accommodation (Common booked hotel/self…): Yes&lt;br /&gt;
*Book hotel for me (yes/no): yes&lt;br /&gt;
*Contact email: jove@bisquerra.com&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
+ 4 from Code 42 (Eric, F***, C****, H****)&lt;br /&gt;
&lt;br /&gt;
*Firstname Lastname: Eric GROULT&lt;br /&gt;
*Age: 40&lt;br /&gt;
*Coming from (town, country): NANTES (44100), France&lt;br /&gt;
*Arrival date and hour: Thursday 14:00&lt;br /&gt;
*Departure date and hour: Sunday 12:00&lt;br /&gt;
*Transportation (Train/Bus/Car/Plane): Train &amp;amp; Plane&lt;br /&gt;
*Food (Special diet, allergies, vegetarian…): None&lt;br /&gt;
*Accommodation (Common booked hotel/self…): None&lt;br /&gt;
*Book hotel for me (yes/no): yes&lt;br /&gt;
*Contact email: eric@code42.fr&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Firstname Lastname: Philippe GRAND&lt;br /&gt;
*Age: 00&lt;br /&gt;
*Coming from (town, country): OLIVET, France&lt;br /&gt;
*Arrival date and hour: Thursday 14:00&lt;br /&gt;
*Departure date and hour: Maybe Sunday 12:00&lt;br /&gt;
*Transportation (Train/Bus/Car/Plane): Train&lt;br /&gt;
*Food (Special diet, allergies, vegetarian…): None&lt;br /&gt;
*Accommodation (Common booked hotel/self…): Yes&lt;br /&gt;
*Book hotel for me (yes/no): yes&lt;br /&gt;
*Contact email: philippe.grand@atoo-net.com&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Company : Groupe Theobald&lt;br /&gt;
*Firstname Lastname: Franck MOREAU&lt;br /&gt;
*Age: 43&lt;br /&gt;
*Coming from (town, country): Thionville (57), France&lt;br /&gt;
*Arrival date and hour: Thursday 10h00&lt;br /&gt;
*Departure date and hour: Sunday 16h00&lt;br /&gt;
*Transportation (Train/Bus/Car/Plane): Car from Thionville&lt;br /&gt;
*Food (Special diet, allergies, vegetarian…): None&lt;br /&gt;
*Accommodation (Common booking hotel/self…): Common booking&lt;br /&gt;
*Book hotel for me (yes/no): yes&lt;br /&gt;
*Email for contact: moreauf@theobald-groupe.com&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Company : IT-BS&lt;br /&gt;
*Firstname Lastname: Nicolas SILOBRE&lt;br /&gt;
*Age: 46&lt;br /&gt;
*Coming from (town, country): Belfort (90), France&lt;br /&gt;
*Arrival date and hour: Thursday 10h00&lt;br /&gt;
*Departure date and hour: Sunday 16h00&lt;br /&gt;
*Transportation (Train/Bus/Car/Plane): train&lt;br /&gt;
*Food (Special diet, allergies, vegetarian…): None&lt;br /&gt;
*Accommodation (Common booking hotel/self…): Common booking&lt;br /&gt;
*Book hotel for me (yes/no): yes&lt;br /&gt;
*Email for contact: nicolas.silobre@it-bs.fr&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Company : Tiaris&lt;br /&gt;
*Firstname Lastname: Jean Heimburger&amp;lt;br /&amp;gt;&lt;br /&gt;
*Age: 61&lt;br /&gt;
*Coming from (town, country): Walscheid (57), France&lt;br /&gt;
*Arrival date and hour: Thursday 14h00&lt;br /&gt;
*Departure date and hour: Sunday 12h00&lt;br /&gt;
*Transportation (Train/Bus/Car/Plane): train&lt;br /&gt;
*Food (Special diet, allergies, vegetarian…): None&lt;br /&gt;
*Accommodation (Common booking hotel/self…): Common booking&lt;br /&gt;
*Book hotel for me (yes/no): yes&lt;br /&gt;
*Email for contact: [[Mailto:jean.heimburger@tiaris.info|jean.heimburger@tiaris.info]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Florian Henry.png|left|52x52px]]&lt;br /&gt;
&lt;br /&gt;
*Company : Association Dolibarr&lt;br /&gt;
*Firstname Lastname: [[User:Florian_Henry]]&lt;br /&gt;
*Age: 40&lt;br /&gt;
*Coming from (town, country): France&lt;br /&gt;
*Arrival date and hour: Thursday 14h00&lt;br /&gt;
*Departure date and hour: Friday 17h00&lt;br /&gt;
*Transportation (Train/Bus/Car/Plane): Car&lt;br /&gt;
*Food (Special diet, allergies, vegetarian…): None&lt;br /&gt;
*Accommodation (Common booking hotel/self…): None / Self&lt;br /&gt;
*Book hotel for me (yes/no): no&lt;br /&gt;
*Email for contact: [[Mailto:jean.heimburger@tiaris.info|jean.heimburger@tiaris.info]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Company : Opendsi&lt;br /&gt;
*Firstname Lastname: Philippe Scoffoni&lt;br /&gt;
*Age: 53&lt;br /&gt;
*Coming from (town, country): Lyon&lt;br /&gt;
*Arrival date and hour: Thursday 14h00&lt;br /&gt;
*Departure date and hour: Friday 18h00&lt;br /&gt;
*Transportation (Train/Bus/Car/Plane): train&lt;br /&gt;
*Food (Special diet, allergies, vegetarian…): None&lt;br /&gt;
*Accommodation (Common booking hotel/self…): Common booking&lt;br /&gt;
*Book hotel for me (yes/no): yes&lt;br /&gt;
*Email for contact: [[Mailto:pscoffoni@open-dsi.fr]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Company : Net Logic&lt;br /&gt;
*Firstname Lastname: Gilles Poirier&lt;br /&gt;
*Age: 60&lt;br /&gt;
*Coming from (town, country): Noisy Le grand&lt;br /&gt;
*Arrival date and hour: Thursday 14h00&lt;br /&gt;
*Departure date and hour: Friday 17h00&lt;br /&gt;
*Transportation (Train/Bus/Car/Plane): train&lt;br /&gt;
*Food (Special diet, allergies, vegetarian…): None&lt;br /&gt;
*Accommodation (Common booking hotel/self…): Common booking&lt;br /&gt;
*Book hotel for me (yes/no): yes&lt;br /&gt;
*Email for contact: [[Mailto:gilles.poirier@netlogic.fr]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Company : Net Logic&lt;br /&gt;
*Firstname Lastname: Frédéric France&lt;br /&gt;
*Age: 55&lt;br /&gt;
*Coming from (town, country): Montpellier (St Drézéry)&lt;br /&gt;
*Arrival date and hour: Thursday 14h00&lt;br /&gt;
*Departure date and hour: Friday 17h00&lt;br /&gt;
*Transportation (Train/Bus/Car/Plane): car&lt;br /&gt;
*Food (Special diet, allergies, vegetarian…): None&lt;br /&gt;
*Accommodation (Common booking hotel/self…): Common booking&lt;br /&gt;
*Book hotel for me (yes/no): yes&lt;br /&gt;
*Email for contact: [[Mailto:frederic.france@netlogic.fr]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Company : Oscss Shop&lt;br /&gt;
*Firstname Lastname: Norbert PENEL&lt;br /&gt;
*Age: 43&lt;br /&gt;
*Coming from (town, country): Grenoble&lt;br /&gt;
*Arrival date and hour: Friday 9h00&lt;br /&gt;
*Departure date and hour: Sunday at the end of E.&lt;br /&gt;
*Transportation (Train/Bus/Car/Plane): car&lt;br /&gt;
*Food (Special diet, allergies, vegetarian…): No fish&lt;br /&gt;
*Accommodation (Common booking hotel/self…): Common booking&lt;br /&gt;
*Book hotel for me (yes/no): yes&lt;br /&gt;
*Email for contact: [[Mailto:n.penel@oscss-shop.fr]]&lt;br /&gt;
&lt;br /&gt;
*Company : Oscss Shop&lt;br /&gt;
*Firstname Lastname: Aurélien IMHOF&lt;br /&gt;
*Age: 46&lt;br /&gt;
*Coming from (town, country): Chartres&lt;br /&gt;
*Arrival date and hour: Friday 11h00&lt;br /&gt;
*Departure date and hour: Sunday at the end of E.&lt;br /&gt;
*Transportation (Train/Bus/Car/Plane): Train&lt;br /&gt;
*Food (Special diet, allergies, vegetarian…): No fish&lt;br /&gt;
*Accommodation (Common booking hotel/self…): Common booking&lt;br /&gt;
*Book hotel for me (yes/no): yes&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Company : Jeffinfo SARL&lt;br /&gt;
*Firstname Lastname: Olivier Geffroy&lt;br /&gt;
*Age: 44&lt;br /&gt;
*Coming from (town, country): Lille&lt;br /&gt;
*Arrival date and hour: Friday 9h00&lt;br /&gt;
*Departure date and hour: Sunday at the end of E.&lt;br /&gt;
*Transportation (Train/Bus/Car/Plane): car&lt;br /&gt;
*Food (Special diet, allergies, vegetarian…):&lt;br /&gt;
*Accommodation (Common booking hotel/self…): Common booking&lt;br /&gt;
*Book hotel for me (yes/no): yes&lt;br /&gt;
*Email for contact: jeff@jeffinfo.com&lt;br /&gt;
&lt;br /&gt;
*Company : Business Assistante&lt;br /&gt;
*Firstname Lastname: Stephanie Leman&lt;br /&gt;
*Age: 44&lt;br /&gt;
*Coming from (town, country): Lille&lt;br /&gt;
*Arrival date and hour: Friday 9h00&lt;br /&gt;
*Departure date and hour: Sunday at the end of E.&lt;br /&gt;
*Transportation (Train/Bus/Car/Plane): car&lt;br /&gt;
*Food (Special diet, allergies, vegetarian…):&lt;br /&gt;
*Accommodation (Common booking hotel/self…): Common booking&lt;br /&gt;
*Book hotel for me (yes/no): yes&lt;br /&gt;
*Email for contact: stephanie@businessassistante.com&amp;lt;br /&amp;gt;&lt;/div&gt;</summary>
		<author><name>Oscim</name></author>
	</entry>
	<entry>
		<id>https://wiki.dolibarr.org/index.php?title=Canvas_development&amp;diff=44821</id>
		<title>Canvas development</title>
		<link rel="alternate" type="text/html" href="https://wiki.dolibarr.org/index.php?title=Canvas_development&amp;diff=44821"/>
		<updated>2019-11-13T14:39:12Z</updated>

		<summary type="html">&lt;p&gt;Oscim: /* Replace a creation form with your own template */ Fix error path for file and order of params canvas&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- BEGIN origin interlang links --&amp;gt;&lt;br /&gt;
&amp;lt;!-- You can edit this section but do NOT remove these comments&lt;br /&gt;
     Links below will be automatically replicated on translated pages by PolyglotBot --&amp;gt;&lt;br /&gt;
[[fr:Développement_Canvas]]&lt;br /&gt;
[[zh:画布]]&lt;br /&gt;
[[es:Desarrollo_Canvas]]&lt;br /&gt;
&amp;lt;!-- END interlang links --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{TemplateDocDevEn}}&lt;br /&gt;
&lt;br /&gt;
Canvas is a developer feature to replace screens to create, update or view a card (products, thirdparties, contacts, ...). &lt;br /&gt;
&lt;br /&gt;
For example, you can replace the input form to create a new third party, or to edit it, or replace the card used to view it.&lt;br /&gt;
&lt;br /&gt;
=Conditions=&lt;br /&gt;
Canvas feature is available with Dolibarr 3.2 or higher.&lt;br /&gt;
&lt;br /&gt;
It is for the moment available only for :&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;create&#039;&#039;&#039; form of &#039;&#039;&#039;products&#039;&#039;&#039;, &#039;&#039;&#039;contacts&#039;&#039;&#039; and &#039;&#039;&#039;third parties&#039;&#039;&#039;&lt;br /&gt;
*&#039;&#039;&#039;edit&#039;&#039;&#039; form of &#039;&#039;&#039;products&#039;&#039;&#039;, &#039;&#039;&#039;contacts&#039;&#039;&#039; and &#039;&#039;&#039;third parties&#039;&#039;&#039;&lt;br /&gt;
*&#039;&#039;&#039;view&#039;&#039;&#039; tab of &#039;&#039;&#039;products&#039;&#039;&#039;, &#039;&#039;&#039;contacts&#039;&#039;&#039; and &#039;&#039;&#039;third parties&#039;&#039;&#039;. In most cases, it&#039;s only the first tab when you open the card of an object. But you can have a look at new module creation documentation [[Module_development#The_tab_management]] to know how to disable other tabs or add yours if you really want to change other tabs too.&lt;br /&gt;
&lt;br /&gt;
=Replace a creation form with your own template=&lt;br /&gt;
First thing to do is to find the URL of standard creation form you want to replace and add the parameter &#039;&#039;&#039;canvas=mycanvas@mymodule&#039;&#039;&#039;. To find url, you can go on page and get URL found at top of your browser.&lt;br /&gt;
&lt;br /&gt;
For example, imagine you want to replace the creation form of third parties with your own form. The url is something like&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;http://mydomain/societe/soc.php?action=create&amp;amp;leftmenu=customers&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
After adding the canvas parameter, URL will look like&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;http://mydomain/societe/soc.php?action=create&amp;amp;leftmenu=customers&amp;amp;canvas=mycanvas@mymodule&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
When you add a parameter canvas=mycanvas@mymodule on a create page, Dolibarr will use the template file into htdocs called&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;/&#039;&#039;mymodule&#039;&#039;/canvas/&#039;&#039;mycanvas&#039;&#039;/tpl/&#039;&#039;tabname&#039;&#039;_create.tpl.php&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
where&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;mymodule&#039;&#039;&#039; directory is value mymodule found into canvas parameter (you choose this value and create directory with same value. use lower case values).&lt;br /&gt;
*&#039;&#039;&#039;mycanvas&#039;&#039;&#039; is value mycanvas found into canvas parameter (you choose this value and create directory with same value. use lower case value).&lt;br /&gt;
*&#039;&#039;&#039;tabname&#039;&#039;&#039; is name of tab or page where initial form was stored. In most cases it is value &amp;quot;card&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
For example, we will use value &amp;quot;&#039;&#039;&#039;company@societe&#039;&#039;&#039;&amp;quot; for canvas parameter. This is a value of an already coded demo canvas template for third parties, not used in a standard usage of Dolibarr but provided as &amp;quot;demo&amp;quot;. So URL to create a third party using this alternative template is now:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;http://mydomain/societe/soc.php?action=create&amp;amp;leftmenu=customers&amp;amp;canvas=societe@company&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
This means the form to create the third party will be found into template file:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;/societe/canvas/company/tpl/card_create.tpl.php&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
So to use you own template, just choose a value for &#039;&#039;&#039;mymodule&#039;&#039;&#039;, &#039;&#039;&#039;mycanvas&#039;&#039;&#039;, copy and paste a demo template found into Dolibarr directories with new directory and new file name and then edit the template like you want. Template contains all the part under the top menu and at right of left menu. You can change look, field order, add your javascript controls, remove or add your own fields. The only requirement is to keep mandatory fields with same name to avoid errors when you will submit the page. Fields removed will be filled with null or 0 into database. New fields for the moment are ignored. We will see later how we can add code to save them.&lt;br /&gt;
&lt;br /&gt;
Once this is done, you must now add the new create URL into Dolibarr menus or replace the existing one with new one. For this take a look at page [[Menus_system]].&lt;br /&gt;
&lt;br /&gt;
Note that when a record is saved using a canvas, the canvas name &#039;&#039;&#039;mycanvas@mymodule&#039;&#039;&#039; is also stored into database. This is important because this means, Dolibarr will be able to know that this record is a canvas and not the other so it will be able to them suggest a view or edit form dedicated for this record only and keep using standard forms for other records. See next chapters.&lt;br /&gt;
&lt;br /&gt;
=Replace an edit form with your own template=&lt;br /&gt;
Using your own edit form for a record saved using your own create form is as simple as adding a file called&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;/mymodule/canvas/mycanvas/tpl/tabname_edit.tpl.php&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
where&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;mymodule&#039;&#039;&#039; directory is value mymodule you used as canvas parameter to create record (see previous chapter).&lt;br /&gt;
*&#039;&#039;&#039;mycanvas&#039;&#039;&#039; is value mycanvas you used as canvas parameter to create record (see previous chapter).&lt;br /&gt;
*&#039;&#039;&#039;tabname&#039;&#039;&#039; is name of tab or page to edit record. In most cases it is value &amp;quot;card&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
With our canvas demo company@societe, edit template will be into file&lt;br /&gt;
  &lt;br /&gt;
&#039;&#039;&#039;/societe/canvas/company/tpl/card_edit.tpl.php&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note that for edit, changing URL is not necessarly required. Dolibarr can detect your record is a personalized canvas record and automatically scan for this template file to show it if found. If not, standard form will be used. So all you have to do to use your own edit template is copy and paste an existing demo edit template file and rename it with correct value of mymodule and mycanvas and edit it to match your need.&lt;br /&gt;
Like for creation, all mandatory fields must be kept to avoid errors when submitting the form to save change.&lt;br /&gt;
&lt;br /&gt;
=Replace a view form with your own template=&lt;br /&gt;
Using your own view form for a record saved using your own create form is as simple as adding a file called&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;/mymodule/canvas/mycanvas/tpl/tabname_view.tpl.php&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
where&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;mymodule&#039;&#039;&#039; directory is value mymodule you used as canvas parameter to create record (see previous chapter).&lt;br /&gt;
*&#039;&#039;&#039;mycanvas&#039;&#039;&#039; is value mycanvas you used as canvas parameter to create record (see previous chapter).&lt;br /&gt;
*&#039;&#039;&#039;tabname&#039;&#039;&#039; is name of tab or page to edit record. In most cases it is value &amp;quot;card&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
With our canvas demo company@societe, view template will be into file&lt;br /&gt;
  &lt;br /&gt;
&#039;&#039;&#039;/societe/canvas/company/tpl/card_view.tpl.php&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note that for view, changing URL is not necessarly required. Dolibarr can detect your record is a personalized canvas record and automatically scan for this template file to show it if found. If not, standard form will be used. So all you have to do to use your own view template is copy and paste an existing demo view template file and rename it with correct value of mymodule and mycanvas and edit it to match your need.&lt;br /&gt;
&lt;br /&gt;
=Add code to manage new fields=&lt;br /&gt;
{{ToComplete}}&lt;br /&gt;
Example into external module cabinetmed.&lt;/div&gt;</summary>
		<author><name>Oscim</name></author>
	</entry>
	<entry>
		<id>https://wiki.dolibarr.org/index.php?title=Module_DolMessage&amp;diff=37402</id>
		<title>Module DolMessage</title>
		<link rel="alternate" type="text/html" href="https://wiki.dolibarr.org/index.php?title=Module_DolMessage&amp;diff=37402"/>
		<updated>2017-06-09T08:03:47Z</updated>

		<summary type="html">&lt;p&gt;Oscim: /* Informations */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Modules complémentaires]]&lt;br /&gt;
[[Category:DolMessage]]&lt;br /&gt;
{{TemplateDocDevFr}}&lt;br /&gt;
{{TemplateDocUser}}&lt;br /&gt;
= Informations =&lt;br /&gt;
{{TemplateModuleInfo&lt;br /&gt;
|modulename=DolMessage&lt;br /&gt;
|editor= Oscss-Shop&lt;br /&gt;
|web= http://oscss-shop.fr&lt;br /&gt;
|webbuy= https://www.dolistore.com/fr/modules/799-DolMessage---Webmail-avanc-----PAS-DE-SUPPORT-INCLU.html&lt;br /&gt;
|status=&lt;br /&gt;
|minversion= 3.6&lt;br /&gt;
|note=&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
= Fonctionnalités =&lt;br /&gt;
Ce module permet ...&lt;br /&gt;
&lt;br /&gt;
= Installation =&lt;br /&gt;
{{InstallModuleDoliStoreFr}}&lt;br /&gt;
&lt;br /&gt;
= Configuration =&lt;br /&gt;
{{ActivationModuleFr}}&lt;br /&gt;
&lt;br /&gt;
= Utilisation =&lt;br /&gt;
{{ToComplete}}&lt;br /&gt;
&lt;br /&gt;
= Développement =&lt;/div&gt;</summary>
		<author><name>Oscim</name></author>
	</entry>
	<entry>
		<id>https://wiki.dolibarr.org/index.php?title=Module_Inventaire_(by_OSCSS)&amp;diff=37343</id>
		<title>Module Inventaire (by OSCSS)</title>
		<link rel="alternate" type="text/html" href="https://wiki.dolibarr.org/index.php?title=Module_Inventaire_(by_OSCSS)&amp;diff=37343"/>
		<updated>2017-05-22T14:47:22Z</updated>

		<summary type="html">&lt;p&gt;Oscim: /* Informations */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Modules complémentaires]]&lt;br /&gt;
{{TemplateDocDev}}&lt;br /&gt;
{{TemplateDocUtil}}&lt;br /&gt;
= Informations =&lt;br /&gt;
{{TemplateModuleInfo&lt;br /&gt;
|modulename=Inventaire&lt;br /&gt;
|editor=Oscss-Shop &lt;br /&gt;
|web= http://oscss-shop.fr&lt;br /&gt;
|webbuy = http://www.dolistore.com/&lt;br /&gt;
|status=stable&lt;br /&gt;
|prerequisites=module_stock&lt;br /&gt;
|minversion=3.2.x&lt;br /&gt;
|note=&lt;br /&gt;
|modulenumero= 117004 &lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
= Vocation =&lt;br /&gt;
Prise en charge des inventaires, du comptage, de la conservation d&#039;instantané de stock avec leur valorisation, de l&#039;export des inventaires dans les outils de dolibarr.&lt;br /&gt;
&lt;br /&gt;
= Installation =&lt;br /&gt;
{{InstallModuleFr}}&lt;br /&gt;
&lt;br /&gt;
= Configuration =&lt;br /&gt;
{{ActivationModuleFr}}&lt;br /&gt;
&lt;br /&gt;
== Généralités ==&lt;br /&gt;
&lt;br /&gt;
la création d&#039;un inventaire passe par la création d&#039;un instantanée du stock, puis de la modification de celui ci. Toutes modification apporté à l&#039;inventaire ne sera appliqué sur les stock réel de dolibarr que lors de l&#039;action &amp;quot;appliquer&amp;quot;.  Cette fonctionnalité permet donc de travailler sur l&#039;inventaire, effectuer les corrections nécessaires, avant de finaliser celui ci et de l&#039;appliquer sur les stock de dolibarr. &lt;br /&gt;
&lt;br /&gt;
L&#039;inventaire vous permet lors de sa création de le fixer pour un ou plusieurs entrepôts, et cette approche est conservé lors de l&#039;application de l&#039;inventaire, qui peut être restreinte à certain entrepôts. &lt;br /&gt;
&lt;br /&gt;
la séparation des entrepôts a lieu a a travers un onglet par entrepôt, permettant à chaque utilisateur de travailler sur son propre inventaire sans risque d&#039;erreur. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Action &amp;quot;Initialiser ===&lt;br /&gt;
&lt;br /&gt;
Cette action créer un instantané du stock des produits, accompagné du pmp de chaque produit. Cet instantané conserve donc à l&#039;instant t, le stock et la valorisation du stock. Il est possible d&#039;automatiser avec le module cron la génération d&#039;un inventaire au dernier jour de votre exercice. &lt;br /&gt;
&lt;br /&gt;
=== Action &amp;quot;Fixer&amp;quot; ===&lt;br /&gt;
&lt;br /&gt;
Cette action fige l&#039;inventaire, et bloque toute modification ultérieur. Cette approche permet, une fois l&#039;inventaire modifié et recompter, de ne plus être modifié. C&#039;est lors de cette action qu&#039;une référence d&#039;inventaire lui est attribué.&lt;br /&gt;
&lt;br /&gt;
Attention !! ce bouton n&#039;apparait que si l&#039;inventaire à subi une modification. Sans quoio ce bouton reste invisible.&lt;br /&gt;
&lt;br /&gt;
=== Action &amp;quot;Appliquer&amp;quot; ===&lt;br /&gt;
&lt;br /&gt;
Cette opération consiste a appliquer au stock réel de dolibarr l&#039;ensemble de vos modifications. Lors de cette action vous aurez la possibilité de choisir l’entrepôt, et la manière dont vous souhaitez appliqué vos modifications : &lt;br /&gt;
 - absolue; les valeurs de votre inventaire doivent être appliqué stricto-sinsu&lt;br /&gt;
 - relative; les valeurs de votre inventaire doivent être appliqué en tenant compte des mouvement effectué entre votre instantané de stock et le moment ou vous appliqué celui ci. Dans ce cas seul l&#039;ecart entre ces valeurs sera appliqué&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
=== Export ===&lt;br /&gt;
&lt;br /&gt;
Depuis la version 1.3, l&#039;export des inventaires à travers &amp;quot;les outils&amp;quot; de dolibarr est possible, et vous permet de générer vos fichier d&#039;export en csv, excel,... . Cette fonction lors de l&#039;export vous permet de preciser la référence de l&#039;inventaire afin de n&#039;extraire que l&#039;inventaire voulu.&lt;/div&gt;</summary>
		<author><name>Oscim</name></author>
	</entry>
	<entry>
		<id>https://wiki.dolibarr.org/index.php?title=Module_Inventaire_(by_OSCSS)&amp;diff=37342</id>
		<title>Module Inventaire (by OSCSS)</title>
		<link rel="alternate" type="text/html" href="https://wiki.dolibarr.org/index.php?title=Module_Inventaire_(by_OSCSS)&amp;diff=37342"/>
		<updated>2017-05-22T14:43:12Z</updated>

		<summary type="html">&lt;p&gt;Oscim: /* Action &amp;quot;Fixer&amp;quot; */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Modules complémentaires]]&lt;br /&gt;
{{TemplateDocDev}}&lt;br /&gt;
{{TemplateDocUtil}}&lt;br /&gt;
= Informations =&lt;br /&gt;
{{TemplateModuleInfo&lt;br /&gt;
|modulename=Inventaire&lt;br /&gt;
|editor=Oscim &lt;br /&gt;
|web= http://oscim.fr&lt;br /&gt;
|webbuy = http://www.dolistore.com/&lt;br /&gt;
|status=stable&lt;br /&gt;
|prerequisites=module_stock&lt;br /&gt;
|minversion=3.2.x&lt;br /&gt;
|note=&lt;br /&gt;
|modulenumero= 117004 &lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
= Vocation =&lt;br /&gt;
Prise en charge des inventaires, du comptage, de la conservation d&#039;instantané de stock avec leur valorisation, de l&#039;export des inventaires dans les outils de dolibarr.&lt;br /&gt;
&lt;br /&gt;
= Installation =&lt;br /&gt;
{{InstallModuleFr}}&lt;br /&gt;
&lt;br /&gt;
= Configuration =&lt;br /&gt;
{{ActivationModuleFr}}&lt;br /&gt;
&lt;br /&gt;
== Généralités ==&lt;br /&gt;
&lt;br /&gt;
la création d&#039;un inventaire passe par la création d&#039;un instantanée du stock, puis de la modification de celui ci. Toutes modification apporté à l&#039;inventaire ne sera appliqué sur les stock réel de dolibarr que lors de l&#039;action &amp;quot;appliquer&amp;quot;.  Cette fonctionnalité permet donc de travailler sur l&#039;inventaire, effectuer les corrections nécessaires, avant de finaliser celui ci et de l&#039;appliquer sur les stock de dolibarr. &lt;br /&gt;
&lt;br /&gt;
L&#039;inventaire vous permet lors de sa création de le fixer pour un ou plusieurs entrepôts, et cette approche est conservé lors de l&#039;application de l&#039;inventaire, qui peut être restreinte à certain entrepôts. &lt;br /&gt;
&lt;br /&gt;
la séparation des entrepôts a lieu a a travers un onglet par entrepôt, permettant à chaque utilisateur de travailler sur son propre inventaire sans risque d&#039;erreur. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Action &amp;quot;Initialiser ===&lt;br /&gt;
&lt;br /&gt;
Cette action créer un instantané du stock des produits, accompagné du pmp de chaque produit. Cet instantané conserve donc à l&#039;instant t, le stock et la valorisation du stock. Il est possible d&#039;automatiser avec le module cron la génération d&#039;un inventaire au dernier jour de votre exercice. &lt;br /&gt;
&lt;br /&gt;
=== Action &amp;quot;Fixer&amp;quot; ===&lt;br /&gt;
&lt;br /&gt;
Cette action fige l&#039;inventaire, et bloque toute modification ultérieur. Cette approche permet, une fois l&#039;inventaire modifié et recompter, de ne plus être modifié. C&#039;est lors de cette action qu&#039;une référence d&#039;inventaire lui est attribué.&lt;br /&gt;
&lt;br /&gt;
Attention !! ce bouton n&#039;apparait que si l&#039;inventaire à subi une modification. Sans quoio ce bouton reste invisible.&lt;br /&gt;
&lt;br /&gt;
=== Action &amp;quot;Appliquer&amp;quot; ===&lt;br /&gt;
&lt;br /&gt;
Cette opération consiste a appliquer au stock réel de dolibarr l&#039;ensemble de vos modifications. Lors de cette action vous aurez la possibilité de choisir l’entrepôt, et la manière dont vous souhaitez appliqué vos modifications : &lt;br /&gt;
 - absolue; les valeurs de votre inventaire doivent être appliqué stricto-sinsu&lt;br /&gt;
 - relative; les valeurs de votre inventaire doivent être appliqué en tenant compte des mouvement effectué entre votre instantané de stock et le moment ou vous appliqué celui ci. Dans ce cas seul l&#039;ecart entre ces valeurs sera appliqué&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
=== Export ===&lt;br /&gt;
&lt;br /&gt;
Depuis la version 1.3, l&#039;export des inventaires à travers &amp;quot;les outils&amp;quot; de dolibarr est possible, et vous permet de générer vos fichier d&#039;export en csv, excel,... . Cette fonction lors de l&#039;export vous permet de preciser la référence de l&#039;inventaire afin de n&#039;extraire que l&#039;inventaire voulu.&lt;/div&gt;</summary>
		<author><name>Oscim</name></author>
	</entry>
	<entry>
		<id>https://wiki.dolibarr.org/index.php?title=DevCamp_Orleans_2017_Organization&amp;diff=36936</id>
		<title>DevCamp Orleans 2017 Organization</title>
		<link rel="alternate" type="text/html" href="https://wiki.dolibarr.org/index.php?title=DevCamp_Orleans_2017_Organization&amp;diff=36936"/>
		<updated>2017-03-14T14:57:54Z</updated>

		<summary type="html">&lt;p&gt;Oscim: /* Attendees registration */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOINDEX__&lt;br /&gt;
{{TemplateAssoEn}}&lt;br /&gt;
[[Category:DevCamps]]&lt;br /&gt;
&lt;br /&gt;
= Event =&lt;br /&gt;
&#039;&#039;&#039;Dolibarr Spring DevCamp 2017&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
First Devcamp in Orléans, strongly foundation oriented, goal to work on next 6.0 release, adding a visit of Orléans.&lt;br /&gt;
&lt;br /&gt;
== Dates ==&lt;br /&gt;
March 2017, 24-25-26&lt;br /&gt;
&lt;br /&gt;
== Location ==&lt;br /&gt;
NOVOTEL ORLEANS SUD LA SOURCE, 2 rue Honoré de Balzac&lt;br /&gt;
ORLEANS 45100 - FRANCE &lt;br /&gt;
GPS. N 47° 48&#039; 52.11&#039;&#039; E 1° 55&#039; 43.65&#039;&#039;&lt;br /&gt;
(Better ask Philippe for location).&lt;br /&gt;
&lt;br /&gt;
== How to come ==&lt;br /&gt;
&lt;br /&gt;
* Railway Station : Orléans centre.There you will take the tramway direction Hôpital de la Source (you go down to the last station and I will pick you up there)&lt;br /&gt;
* Car: From Paris on A10, head towards A71 Bourges Clermont-Ferrand, leave at exit 2 Olivet, Orléans La Source, La Ferté Saint Aubin. From Clermont-Ferrand on A71, leave at exit 2. After the lights, straight on for 1.2 miles, towards La Ferté Saint Aubin. DO NOT FOLLOW SIGNS FOR LA SOURCE. From Orleans center, take the D2020 (RN 20) towards Vierzon, La Ferté Saint Aubin, continue for 5 miles. At roundabout take 3rd exit. From La Ferté Saint Aubin, continue for 6.8 miles towards Orléans Centre.&lt;br /&gt;
&lt;br /&gt;
== Main languages ==&lt;br /&gt;
* French / English&lt;br /&gt;
&lt;br /&gt;
== Organizers ==&lt;br /&gt;
* Main: ATOO.NET (contact@atoo-net.com)&lt;br /&gt;
* Hosting: ATOO.NET (contact@atoo-net.com)&lt;br /&gt;
* Lodging and Catering: ATOO.NET (contact@atoo-net.com)&lt;br /&gt;
&lt;br /&gt;
== Lodging and catering ==&lt;br /&gt;
Meals and bedrooms will be provided during the devcamp by the NOVOTEL hotel.&lt;br /&gt;
&lt;br /&gt;
== Food ==&lt;br /&gt;
We will have a cocktail on Friday evening before dinner to welcome you in Orléans !&lt;br /&gt;
&lt;br /&gt;
= Planning =&lt;br /&gt;
&lt;br /&gt;
== Day 1 (Friday) ==&lt;br /&gt;
* 14:00 - Welcome&lt;br /&gt;
&lt;br /&gt;
* 18:00 - Presentation &amp;quot;SEO on Dolibarr web sites&amp;quot;&lt;br /&gt;
* 19.00 - Cocktail&lt;br /&gt;
* 20:00 - Dinner&lt;br /&gt;
&lt;br /&gt;
== Day 2 (Saturday) ==&lt;br /&gt;
* Presentation &amp;quot;Information for developers&amp;quot;&lt;br /&gt;
* A quick visit of Orleans&lt;br /&gt;
* Presentation &amp;quot;What&#039;s new in 6.0&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Day 3 (Sunday) ==&lt;br /&gt;
* TO BE DEFINED&lt;br /&gt;
&lt;br /&gt;
= Topics and issues to work on =&lt;br /&gt;
&#039;&#039;Open for suggestions and volunteers&#039;&#039;&lt;br /&gt;
* Bugfix contest&lt;br /&gt;
* Tools for foundation&lt;br /&gt;
* Roadmap ?&lt;br /&gt;
&lt;br /&gt;
= Attendees registration =&lt;br /&gt;
&lt;br /&gt;
------------------------------------------&lt;br /&gt;
&lt;br /&gt;
[[File:Philippe.GRAND.jpg|40px]]&lt;br /&gt;
* Lastname Firstname: [[Grand Philippe]]&lt;br /&gt;
* Age: &lt;br /&gt;
* Coming from (town, country): Olivet (45160), France&lt;br /&gt;
* Arrival date and hour: Friday 12:00&lt;br /&gt;
* Departure date and hour: Sunday 14:00&lt;br /&gt;
* Transportation (Train/Bus/Car/Plane): Car&lt;br /&gt;
* Food (Special diet, allergies, vegetarian…): None&lt;br /&gt;
* Accommodation (Common booked hotel/self…): None&lt;br /&gt;
* Book hotel for me (yes/no): no&lt;br /&gt;
* Contact email: philippe.grand@atoo-net.com&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Laurent Destailleur.png|40px]]&lt;br /&gt;
* Lastname Firstname: [[Laurent Destailleur]]&lt;br /&gt;
* Age: &lt;br /&gt;
* Coming from (town, country): Pessac (33600, France&lt;br /&gt;
* Arrival date and hour: Friday 12:00&lt;br /&gt;
* Departure date and hour: Sunday 14:00&lt;br /&gt;
* Transportation (Train/Bus/Car/Plane): Train or Car&lt;br /&gt;
* Food (Special diet, allergies, vegetarian…): None&lt;br /&gt;
* Accommodation (Common booked hotel/self…): None&lt;br /&gt;
* Book hotel for me (yes/no): yes&lt;br /&gt;
* Contact email: eldy@destailleur.fr&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Gschratzer.png|40px]]&lt;br /&gt;
* Lastname Firstname: [[Gschratzer| Schratzer Guido]]&lt;br /&gt;
* Age: 45&lt;br /&gt;
* Coming from (town, country): Salzburg, Austria&lt;br /&gt;
* Arrival date and hour: Friday 12:00&lt;br /&gt;
* Departure date and hour: Sunday 18:00&lt;br /&gt;
* Transportation (Train/Bus/Car/Plane): Plane + Train&lt;br /&gt;
* Food (Special diet, allergies, vegetarian…): None&lt;br /&gt;
* Accommodation (Common booked hotel/self…): Campanile Orleans - La Source, 326, Rue de Chateaubriand, 45100 Orléans, Frankreich&lt;br /&gt;
* Book hotel for me (yes/no): no&lt;br /&gt;
* Contact email: guido.schratzer@backbone.co.at&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Fappels.jpg|40px]]&lt;br /&gt;
* Lastname Firstname: [[Fappels| Appels Francis]]&lt;br /&gt;
* Age: 51&lt;br /&gt;
* Coming from (town, country): La Haye (50250), France&lt;br /&gt;
* Arrival date and hour: Friday 12:00&lt;br /&gt;
* Departure date and hour: Sunday 14:00&lt;br /&gt;
* Transportation (Train/Bus/Car/Plane): Car&lt;br /&gt;
* Food (Special diet, allergies, vegetarian…): None&lt;br /&gt;
* Accommodation (Common booked hotel/self…): None&lt;br /&gt;
* Book hotel for me (yes/no): yes&lt;br /&gt;
* Contact email: francis.appels@z-application.com&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Jean_Heimburger.png|40px]]&lt;br /&gt;
* Lastname Firstname: [[Heimburger Jean]]&lt;br /&gt;
* Age: &lt;br /&gt;
* Coming from (town, country): Walscheid (57870), France&lt;br /&gt;
* Arrival date and hour: Friday 12:00&lt;br /&gt;
* Departure date and hour: Sunday 14:00&lt;br /&gt;
* Transportation (Train/Bus/Car/Plane): Train/Car&lt;br /&gt;
* Food (Special diet, allergies, vegetarian…): None&lt;br /&gt;
* Accommodation (Common booked hotel/self…): None&lt;br /&gt;
* Book hotel for me (yes/no): yes&lt;br /&gt;
* Contact email: jean.heimburger@tiaris.info&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Lastname Firstname: [[Inovea Conseil | Nicolas ZABOURI]]&lt;br /&gt;
* Age: 34&lt;br /&gt;
* Coming from (town, country): Essegney (88), France&lt;br /&gt;
* Arrival date and hour: Friday 12:00&lt;br /&gt;
* Departure date and hour: Sunday 14:00&lt;br /&gt;
* Transportation (Train/Bus/Car/Plane): Car&lt;br /&gt;
* Food (Special diet, allergies, vegetarian…): None&lt;br /&gt;
* Accommodation (Common booked hotel/self…): Novotel&lt;br /&gt;
* Book hotel for me (yes/no): no&lt;br /&gt;
* Contact email: info@inovea-conseil.com&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Charlie_b.JPG‎|40px]] &lt;br /&gt;
* Firstname Lastname:[[Charlie Benke]]&lt;br /&gt;
* Age: 48&lt;br /&gt;
* Coming from (town, country): Lyon (69000), France&lt;br /&gt;
* Arrival date and hour: Friday 12:00&lt;br /&gt;
* Departure date and hour: Sunday 14:00&lt;br /&gt;
* Transportation (Train/Bus/Car/Plane): Train&lt;br /&gt;
* Food (Special diet, allergies, vegetarian…): None&lt;br /&gt;
* Accommodation (Common booked hotel/self…): None&lt;br /&gt;
* Book hotel for me (yes/no): yes&lt;br /&gt;
* Contact email: charlie@benke.fr&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Lastname Firstname: [[Pierre-Henry Favre]]&lt;br /&gt;
* Age: 27&lt;br /&gt;
* Coming from (town, country): Valence (26), France&lt;br /&gt;
* Arrival date and hour: Friday 13:30&lt;br /&gt;
* Departure date and hour: Sunday 12:00&lt;br /&gt;
* Transportation (Train/Bus/Car/Plane): Train&lt;br /&gt;
* Food (Special diet, allergies, vegetarian…): None&lt;br /&gt;
* Accommodation (Common booked hotel/self…): None&lt;br /&gt;
* Book hotel for me (yes/no): yes&lt;br /&gt;
* Contact email: phf@atm-consulting.fr&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:charli.jpg]]&lt;br /&gt;
* Firstname Lastname:[[Charlie LY]]&lt;br /&gt;
* Age: 40&lt;br /&gt;
* Coming from (town, country): Noisy-le-Grand(93160), France&lt;br /&gt;
* Arrival date and hour: Friday 12:00&lt;br /&gt;
* Departure date and hour: Saturday 14:00&lt;br /&gt;
* Transportation (Train/Bus/Car/Plane): Car&lt;br /&gt;
* Food (Special diet, allergies, vegetarian…): None&lt;br /&gt;
* Accommodation (Common booked hotel/self…): None&lt;br /&gt;
* Book hotel for me (yes/no): yes&lt;br /&gt;
* Contact email: charli@netlogic.fr&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:GillesPoirier.jpg|40px]]&lt;br /&gt;
* Firstname Lastname:[[Gilles POIRIER]]&lt;br /&gt;
* Age: 55&lt;br /&gt;
* Coming from (town, country): Noisy-le-Grand(93160), France&lt;br /&gt;
* Arrival date and hour: Friday 12:00&lt;br /&gt;
* Departure date and hour: Saturday 14:00&lt;br /&gt;
* Transportation (Train/Bus/Car/Plane): Bike&lt;br /&gt;
* Food (Special diet, allergies, vegetarian…): None&lt;br /&gt;
* Accommodation (Common booked hotel/self…): None&lt;br /&gt;
* Book hotel for me (yes/no): yes&lt;br /&gt;
* Contact email: gilles.poirier@netlogic.fr&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Firstname Lastname:[[Olivier Geffroy]]&lt;br /&gt;
* Age: 40&lt;br /&gt;
* Coming from (town, country): Ennetieres en Weppes (59000), France&lt;br /&gt;
* Arrival date and hour: Friday 13:00&lt;br /&gt;
* Departure date and hour: Saturday 14:00&lt;br /&gt;
* Transportation (Train/Bus/Car/Plane): Car&lt;br /&gt;
* Food (Special diet, allergies, vegetarian…): None&lt;br /&gt;
* Accommodation (Common booked hotel/self…): None&lt;br /&gt;
* Book hotel for me (yes/no): yes&lt;br /&gt;
* Contact email: jeff@jeffinfo.com&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Firstname Lastname:[[Stephanie Leman]]&lt;br /&gt;
* Age: 35&lt;br /&gt;
* Coming from (town, country): Tourcoing (59200), France&lt;br /&gt;
* Arrival date and hour: Friday 13:00&lt;br /&gt;
* Departure date and hour: Saturday 14:00&lt;br /&gt;
* Transportation (Train/Bus/Car/Plane): Car&lt;br /&gt;
* Food (Special diet, allergies, vegetarian…): None&lt;br /&gt;
* Accommodation (Common booked hotel/self…): None&lt;br /&gt;
* Book hotel for me (yes/no): yes&lt;br /&gt;
* Contact email: stephanie@businessassistante.com&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Firstname Lastname:[[Aurelien Imhof]]&lt;br /&gt;
* Age: &lt;br /&gt;
* Coming from (town, country): La Loupe (28240), France&lt;br /&gt;
* Arrival date and hour: Friday 12:00&lt;br /&gt;
* Departure date and hour: Sunday 14:00&lt;br /&gt;
* Transportation (Train/Bus/Car/Plane): Car&lt;br /&gt;
* Food (Special diet, allergies, vegetarian…): None&lt;br /&gt;
* Accommodation (Common booked hotel/self…): None&lt;br /&gt;
* Book hotel for me (yes/no): yes&lt;br /&gt;
* Contact email: aurelien@oscss-shop.fr&lt;/div&gt;</summary>
		<author><name>Oscim</name></author>
	</entry>
	<entry>
		<id>https://wiki.dolibarr.org/index.php?title=List_of_modules_id&amp;diff=35057</id>
		<title>List of modules id</title>
		<link rel="alternate" type="text/html" href="https://wiki.dolibarr.org/index.php?title=List_of_modules_id&amp;diff=35057"/>
		<updated>2016-02-10T17:19:03Z</updated>

		<summary type="html">&lt;p&gt;Oscim: /* ID 100000 - 499999 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Core]]&lt;br /&gt;
{{TemplateDocDevEn}}&lt;br /&gt;
{{TemplateDocDevEs}}&lt;br /&gt;
{{TemplateDocDevFr}}&lt;br /&gt;
&lt;br /&gt;
{{Flag en}} This page list all reserved modules numbers / ID. If you build or want to build your own modules (like this [[:Category:Complementary_modules|complementary module]]), you should take an ID range here. &lt;br /&gt;
&lt;br /&gt;
{{Flag fr}} Cette page recense tous les numéros / ID réservés de modules. Si vous avez réalisé ou voulez réaliser vos propres modules (comme les [[:Category:Modules complémentaires|modules complémentaires suivant]]), vous devriez prendre une plage d&#039;ID ici.&lt;br /&gt;
&lt;br /&gt;
{{Flag sp}} Esta página contiene un listado de todos los id reservados para los módulos. Si ha creado o quiere realizar sus propios módulos, (como estos [[:Category:Módulos_complementarios|módulos complementarios]]), deberá reservarse un rango de ID aquí.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= ID 0 - 99999 =&lt;br /&gt;
{{Flag en}} Reserved for Dolibarr&#039;s internal modules.&lt;br /&gt;
&lt;br /&gt;
{{Flag fr}} Réservé aux modules internes de Dolibarr.&lt;br /&gt;
&lt;br /&gt;
{{Flag sp}} Reservado a los módulos internos de Dolibarr.&lt;br /&gt;
&lt;br /&gt;
= ID 100000 - 499999 =&lt;br /&gt;
{{Flag en}} Reserved area for editors in need for an ID range. You can edit this page to add your own range (limited to 1000 values per editor)&lt;br /&gt;
&lt;br /&gt;
{{Flag fr}} Zone réservé aux éditeurs qui ont besoin d&#039;une plage d&#039;ID spécifiques. Vous pouvez modifier cette page pour réserver votre plage (limité à 1000 valeurs par éditeur)&lt;br /&gt;
&lt;br /&gt;
{{Flag sp}} Área reservada para los partners que necesiten un rango de ID. Puede modificar esta página para reservar su rango (limitado a 1000 valores por editor)&lt;br /&gt;
&lt;br /&gt;
* ID 100000 - 100999: OpenThink (http://www.openthink.be)&lt;br /&gt;
* ID 101000 - 101999: NLTechno (http://www.nltechno.com)&lt;br /&gt;
* ID 102000 - 102999: Tiaris (http://www.tiaris.fr)&lt;br /&gt;
* ID 103000 - 103999: Open-concept.pro (http://www.open-concept.pro)&lt;br /&gt;
* ID 104000 - 104999: ATM Consulting (http://www.atm-consulting.fr)&lt;br /&gt;
* ID 105000 - 105999: GPC.solutions&lt;br /&gt;
* ID 106000 - 106999: PHPASSO&lt;br /&gt;
* ID 107000 - 107999: TecLib (http://www.teclib.com) / Auguria (http://www.auguria.net)&lt;br /&gt;
* ID 108000 - 108999: ETHICWEB&lt;br /&gt;
* ID 109000 - 109999: Aplose&lt;br /&gt;
* ID 110000 - 110999: Aternatik&lt;br /&gt;
* ID 111000 - 111999: Asset IT (www.assetit.ch)&lt;br /&gt;
* ID 112000 - 112999: Aarboard AG (www.aarboard.ch)&lt;br /&gt;
* ID 113000 - 113999: Asilib - Alexandre Spangaro&lt;br /&gt;
* ID 114000 - 114999: Iceleaf OÜ&lt;br /&gt;
* ID 115000 - 115999: 2A2C Conseil - Cyril ZEKSER&lt;br /&gt;
* ID 116000 - 116999: Wolftec GmbH&lt;br /&gt;
* ID 117000 - 117999: Oscim (http://www.oscim.fr)&lt;br /&gt;
* ID 118000 - 118999: Oarces Web (dev.oarces.com)&lt;br /&gt;
* ID 119000 - 119999: Manuel Berrocal - Absolacom&lt;br /&gt;
* ID 120000 - 120999: Régis Houssin (http://www.inodbox.com)&lt;br /&gt;
* ID 121000 - 121999: Oscss - Shop &lt;br /&gt;
* ID 130000 - 130999: Technicks ICT (http://www.technicks.eu)&lt;br /&gt;
* ID 140000 - 140999: Altairis&lt;br /&gt;
* ID 150000 - 150999: Jeffinfo &lt;br /&gt;
* ID 160000 - 160999: Charles-François BENKE (http://www.patas-monkey.com)&lt;br /&gt;
* ID 190000 - 190999: Diciannove (http://19.coop)&lt;br /&gt;
* ID 199000 - 199999: RFMS&lt;br /&gt;
* ID 200000 - 200999: Noxiome&lt;br /&gt;
* ID 201000 - 201999: Sasa Ostrouska (saxa)&lt;br /&gt;
* ID 202000 - 202999: Z-Application&lt;br /&gt;
* ID 203000 - 203099: Elidee - elidee.com&lt;br /&gt;
* ID 203100 - 203999: *********** Free, put your name to reserve&lt;br /&gt;
* ID 204000 - 204999: Ari Elbaz elarifr - accedinfo.com&lt;br /&gt;
* ID 205000 - 205999: Kreiz IT&lt;br /&gt;
* ID 300000 - 300999: AtooNet (http://www.atoo-net.com)&lt;br /&gt;
* ID 400000 - 400999: 2byte.es (http://www.2byte.es)&lt;br /&gt;
* ID 401000 - 401999: B&amp;amp;D Informática&lt;br /&gt;
* ID 402000 - 402999: Marcos García de La Fuente (marcosgdf)&lt;br /&gt;
* ID 403000 - 403999: Sergibyte (http://www.sergibyte.com)&lt;br /&gt;
* ID 404000 - 404999: Aikhan&lt;br /&gt;
* ID 405000 - 405999: AIME (http://www.aime.mx)&lt;br /&gt;
* ID 420000 - 420099: BBS Concept&lt;br /&gt;
* ID 420100 - 420199: LeMousticProduction (www.lemousticproduction.info) -&amp;lt; module DoliRH&lt;br /&gt;
* ID 420200 - 421199: VatCheck (www.abnc.be)&lt;br /&gt;
* ID 422200 - 422999: Artaban (http://artaban.fr)&lt;br /&gt;
* ID 423000 - 423050: cyberesprit&lt;br /&gt;
* ID 424000 - 424999: A3sys - Mon-Dolibarr (http://www.mon-dolibarr.fr)&lt;br /&gt;
&lt;br /&gt;
= ID &amp;gt; 500000 =&lt;br /&gt;
{{Flag en}} If you don&#039;t already have reserved ids and need some, please don&#039;t use hazardous number and use a number higher than 500000, but it is better to ask a wiki account, and reserve your own range by editing the  100000 - 499999 range (1000 ids maximum per partner).&lt;br /&gt;
&lt;br /&gt;
{{Flag fr}} Si vous n&#039;avez pas de numéros réservés et en avez besoin, n&#039;utilisez pas de chiffres au hasard et utilisez une valeur supérieure à 500000, toutefois, il est préférable d&#039;obtenir un compte wiki, et  réserver vous-même votre plage en ajoutant votre entrée dans la zone 100000 - 499999 (pas plus de 1000 numéros par partenaire).&lt;br /&gt;
&lt;br /&gt;
{{Flag sp}} Si no dispone de número reservado y necesita, no use cifras redondeadas y usa un valor superior a 500000. Si tiene una cuenta wiki, puede reservarse usted mismo sus id añadiendo su entrada en la zona 100000 - 499999 (no más de 1000 id por partner).&lt;/div&gt;</summary>
		<author><name>Oscim</name></author>
	</entry>
	<entry>
		<id>https://wiki.dolibarr.org/index.php?title=Module_CarteCredit&amp;diff=34851</id>
		<title>Module CarteCredit</title>
		<link rel="alternate" type="text/html" href="https://wiki.dolibarr.org/index.php?title=Module_CarteCredit&amp;diff=34851"/>
		<updated>2016-01-16T09:04:35Z</updated>

		<summary type="html">&lt;p&gt;Oscim: /* Configuration */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Modules complémentaires]]&lt;br /&gt;
{{TemplateDocDev}}&lt;br /&gt;
{{TemplateDocUtil}}&lt;br /&gt;
= Informations =&lt;br /&gt;
{{TemplateModuleInfo&lt;br /&gt;
|modulename=Carte de crédit et Télécollecte&lt;br /&gt;
|editor=Oscim &lt;br /&gt;
|web= http://oscim.fr&lt;br /&gt;
|webbuy = http://www.dolistore.com/&lt;br /&gt;
|status=stable&lt;br /&gt;
|prerequisites=module_banque&lt;br /&gt;
|minversion=3.6&lt;br /&gt;
|note=&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
= Vocation =&lt;br /&gt;
Module pour l&#039;amélioration de la prise en charge du suivi des paiement par carte bancaire et leur report en  telecollectes, permettant ainsi l&#039;utilisation de rapprochement bancaire.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Configuration == &lt;br /&gt;
&lt;br /&gt;
En premier lieu il convient de créer un compte de banque, avec le rapprochement bancaire active, nommé &amp;quot;Encaissement CB&amp;quot;. Ce compte servira à prendre en charge l&#039;ensemble des saisies de règlements des facture client, qui ne seront pas directement versé sur le compte bancaire courant réel. &lt;br /&gt;
Une fois cette étape effectué , rendez vous dans la liste de vos module, puis activer le module cartecredit dans la gestion des &amp;quot;Module Financiers&amp;quot;, puis dans la configuration du module, renseigné le compte banque  d &#039;encaissement de carte de credit, et le compte banque courant réel.&lt;br /&gt;
&lt;br /&gt;
== Utilisation == &lt;br /&gt;
Ce module fourni la capacité d&#039;effectuer des bordereau de télécollecte (proche du fonctionnement des bordereau de cheque), et ainsi ne reporter sur le compte bancaire société que les totaux des telecollecte. Ce fonctionnement permet ainsi le rapprochement bancaire plus simple.&lt;br /&gt;
&lt;br /&gt;
== Note !! ==&lt;br /&gt;
&lt;br /&gt;
Ce module ne peut fonctionner que si vous n&#039;utiliser pas les bordereau de cheque natif de dolibarr, ou que vous utiliser le paiement par cheque avec le module cheque que nous avons developpé.&lt;/div&gt;</summary>
		<author><name>Oscim</name></author>
	</entry>
	<entry>
		<id>https://wiki.dolibarr.org/index.php?title=Module_CarteCredit&amp;diff=34788</id>
		<title>Module CarteCredit</title>
		<link rel="alternate" type="text/html" href="https://wiki.dolibarr.org/index.php?title=Module_CarteCredit&amp;diff=34788"/>
		<updated>2016-01-13T09:36:49Z</updated>

		<summary type="html">&lt;p&gt;Oscim: Created page with &amp;quot;Category:Modules complémentaires {{TemplateDocDev}} {{TemplateDocUtil}} = Informations = {{TemplateModuleInfo |modulename=Carte de crédit et Télécollecte |editor=Oscim  |...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Modules complémentaires]]&lt;br /&gt;
{{TemplateDocDev}}&lt;br /&gt;
{{TemplateDocUtil}}&lt;br /&gt;
= Informations =&lt;br /&gt;
{{TemplateModuleInfo&lt;br /&gt;
|modulename=Carte de crédit et Télécollecte&lt;br /&gt;
|editor=Oscim &lt;br /&gt;
|web= http://oscim.fr&lt;br /&gt;
|webbuy = http://www.dolistore.com/&lt;br /&gt;
|status=stable&lt;br /&gt;
|prerequisites=module_banque&lt;br /&gt;
|minversion=3.6&lt;br /&gt;
|note=&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
= Vocation =&lt;br /&gt;
Module pour l&#039;amélioration de la prise en charge du suivi des paiement par carte bancaire et leur report en  telecollectes, permettant ainsi l&#039;utilisation de rapprochement bancaire.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Configuration == &lt;br /&gt;
&lt;br /&gt;
En premier lieu il convient de créer un compte de banque, avec le rapprochement bancaire active, nommé &amp;quot;Encaissement chèque&amp;quot;. Ce compte servira à prendre en charge l&#039;ensemble des saisies de règlements des facture client, qui ne seront pas directement versé sur le compte bancaire courant réel. &lt;br /&gt;
Une fois cette étape effectué , rendez vous dans la liste de vos module, puis activer le module chèque dans la gestion des &amp;quot;Module Financiers&amp;quot;, puis dans la configuration du module, renseigné le compte banque  d &#039;encaissement de chèque, et le compte banque courant réel. &lt;br /&gt;
&lt;br /&gt;
== Utilisation == &lt;br /&gt;
Ce module fourni la capacité d&#039;effectuer des bordereau de télécollecte (proche du fonctionnement des bordereau de cheque), et ainsi ne reporter sur le compte bancaire société que les totaux des telecollecte. Ce fonctionnement permet ainsi le rapprochement bancaire plus simple.&lt;br /&gt;
&lt;br /&gt;
== Note !! ==&lt;br /&gt;
&lt;br /&gt;
Ce module ne peut fonctionner que si vous n&#039;utiliser pas les bordereau de cheque natif de dolibarr, ou que vous utiliser le paiement par cheque avec le module cheque que nous avons developpé.&lt;/div&gt;</summary>
		<author><name>Oscim</name></author>
	</entry>
	<entry>
		<id>https://wiki.dolibarr.org/index.php?title=Module_Inventaire_(by_OSCSS)&amp;diff=34780</id>
		<title>Module Inventaire (by OSCSS)</title>
		<link rel="alternate" type="text/html" href="https://wiki.dolibarr.org/index.php?title=Module_Inventaire_(by_OSCSS)&amp;diff=34780"/>
		<updated>2016-01-12T16:20:54Z</updated>

		<summary type="html">&lt;p&gt;Oscim: /* Informations */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Modules complémentaires]]&lt;br /&gt;
{{TemplateDocDev}}&lt;br /&gt;
{{TemplateDocUtil}}&lt;br /&gt;
= Informations =&lt;br /&gt;
{{TemplateModuleInfo&lt;br /&gt;
|modulename=Inventaire&lt;br /&gt;
|editor=Oscim &lt;br /&gt;
|web= http://oscim.fr&lt;br /&gt;
|webbuy = http://www.dolistore.com/&lt;br /&gt;
|status=stable&lt;br /&gt;
|prerequisites=module_stock&lt;br /&gt;
|minversion=3.2.x&lt;br /&gt;
|note=&lt;br /&gt;
|modulenumero= 117004 &lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
= Vocation =&lt;br /&gt;
Prise en charge des inventaires, du comptage, de la conservation d&#039;instantané de stock avec leur valorisation, de l&#039;export des inventaires dans les outils de dolibarr.&lt;br /&gt;
&lt;br /&gt;
= Installation =&lt;br /&gt;
{{InstallModuleFr}}&lt;br /&gt;
&lt;br /&gt;
= Configuration =&lt;br /&gt;
{{ActivationModuleFr}}&lt;br /&gt;
&lt;br /&gt;
== Généralités ==&lt;br /&gt;
&lt;br /&gt;
la création d&#039;un inventaire passe par la création d&#039;un instantanée du stock, puis de la modification de celui ci. Toutes modification apporté à l&#039;inventaire ne sera appliqué sur les stock réel de dolibarr que lors de l&#039;action &amp;quot;appliquer&amp;quot;.  Cette fonctionnalité permet donc de travailler sur l&#039;inventaire, effectuer les corrections nécessaires, avant de finaliser celui ci et de l&#039;appliquer sur les stock de dolibarr. &lt;br /&gt;
&lt;br /&gt;
L&#039;inventaire vous permet lors de sa création de le fixer pour un ou plusieurs entrepôts, et cette approche est conservé lors de l&#039;application de l&#039;inventaire, qui peut être restreinte à certain entrepôts. &lt;br /&gt;
&lt;br /&gt;
la séparation des entrepôts a lieu a a travers un onglet par entrepôt, permettant à chaque utilisateur de travailler sur son propre inventaire sans risque d&#039;erreur. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Action &amp;quot;Initialiser ===&lt;br /&gt;
&lt;br /&gt;
Cette action créer un instantané du stock des produits, accompagné du pmp de chaque produit. Cet instantané conserve donc à l&#039;instant t, le stock et la valorisation du stock. Il est possible d&#039;automatiser avec le module cron la génération d&#039;un inventaire au dernier jour de votre exercice. &lt;br /&gt;
&lt;br /&gt;
=== Action &amp;quot;Fixer&amp;quot; ===&lt;br /&gt;
&lt;br /&gt;
Cette action fige l&#039;inventaire, et bloque toute modification ultérieur. Cette approche permet, une fois l&#039;inventaire modifié et recompter, de ne plus être modifié. C&#039;est lors de cette action qu&#039;une référence d&#039;inventaire lui est attribué. &lt;br /&gt;
&lt;br /&gt;
=== Action &amp;quot;Appliquer&amp;quot; ===&lt;br /&gt;
&lt;br /&gt;
Cette opération consiste a appliquer au stock réel de dolibarr l&#039;ensemble de vos modifications. Lors de cette action vous aurez la possibilité de choisir l’entrepôt, et la manière dont vous souhaitez appliqué vos modifications : &lt;br /&gt;
 - absolue; les valeurs de votre inventaire doivent être appliqué stricto-sinsu&lt;br /&gt;
 - relative; les valeurs de votre inventaire doivent être appliqué en tenant compte des mouvement effectué entre votre instantané de stock et le moment ou vous appliqué celui ci. Dans ce cas seul l&#039;ecart entre ces valeurs sera appliqué&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
=== Export ===&lt;br /&gt;
&lt;br /&gt;
Depuis la version 1.3, l&#039;export des inventaires à travers &amp;quot;les outils&amp;quot; de dolibarr est possible, et vous permet de générer vos fichier d&#039;export en csv, excel,... . Cette fonction lors de l&#039;export vous permet de preciser la référence de l&#039;inventaire afin de n&#039;extraire que l&#039;inventaire voulu.&lt;/div&gt;</summary>
		<author><name>Oscim</name></author>
	</entry>
	<entry>
		<id>https://wiki.dolibarr.org/index.php?title=Module_Inventaire_(by_OSCSS)&amp;diff=34779</id>
		<title>Module Inventaire (by OSCSS)</title>
		<link rel="alternate" type="text/html" href="https://wiki.dolibarr.org/index.php?title=Module_Inventaire_(by_OSCSS)&amp;diff=34779"/>
		<updated>2016-01-12T16:20:19Z</updated>

		<summary type="html">&lt;p&gt;Oscim: /* Informations */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Modules complémentaires]]&lt;br /&gt;
{{TemplateDocDev}}&lt;br /&gt;
{{TemplateDocUtil}}&lt;br /&gt;
= Informations =&lt;br /&gt;
{{TemplateModuleInfo&lt;br /&gt;
|modulename=Inventaire&lt;br /&gt;
|editor=Oscim &lt;br /&gt;
|web= http://oscim.fr&lt;br /&gt;
|webbuy = http://www.dolistore.com/&lt;br /&gt;
|status=stable&lt;br /&gt;
|prerequisites=module_stock&lt;br /&gt;
|minversion=3.2.x&lt;br /&gt;
|note=&lt;br /&gt;
|module numero= 117004 &lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
= Vocation =&lt;br /&gt;
Prise en charge des inventaires, du comptage, de la conservation d&#039;instantané de stock avec leur valorisation, de l&#039;export des inventaires dans les outils de dolibarr.&lt;br /&gt;
&lt;br /&gt;
= Installation =&lt;br /&gt;
{{InstallModuleFr}}&lt;br /&gt;
&lt;br /&gt;
= Configuration =&lt;br /&gt;
{{ActivationModuleFr}}&lt;br /&gt;
&lt;br /&gt;
== Généralités ==&lt;br /&gt;
&lt;br /&gt;
la création d&#039;un inventaire passe par la création d&#039;un instantanée du stock, puis de la modification de celui ci. Toutes modification apporté à l&#039;inventaire ne sera appliqué sur les stock réel de dolibarr que lors de l&#039;action &amp;quot;appliquer&amp;quot;.  Cette fonctionnalité permet donc de travailler sur l&#039;inventaire, effectuer les corrections nécessaires, avant de finaliser celui ci et de l&#039;appliquer sur les stock de dolibarr. &lt;br /&gt;
&lt;br /&gt;
L&#039;inventaire vous permet lors de sa création de le fixer pour un ou plusieurs entrepôts, et cette approche est conservé lors de l&#039;application de l&#039;inventaire, qui peut être restreinte à certain entrepôts. &lt;br /&gt;
&lt;br /&gt;
la séparation des entrepôts a lieu a a travers un onglet par entrepôt, permettant à chaque utilisateur de travailler sur son propre inventaire sans risque d&#039;erreur. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Action &amp;quot;Initialiser ===&lt;br /&gt;
&lt;br /&gt;
Cette action créer un instantané du stock des produits, accompagné du pmp de chaque produit. Cet instantané conserve donc à l&#039;instant t, le stock et la valorisation du stock. Il est possible d&#039;automatiser avec le module cron la génération d&#039;un inventaire au dernier jour de votre exercice. &lt;br /&gt;
&lt;br /&gt;
=== Action &amp;quot;Fixer&amp;quot; ===&lt;br /&gt;
&lt;br /&gt;
Cette action fige l&#039;inventaire, et bloque toute modification ultérieur. Cette approche permet, une fois l&#039;inventaire modifié et recompter, de ne plus être modifié. C&#039;est lors de cette action qu&#039;une référence d&#039;inventaire lui est attribué. &lt;br /&gt;
&lt;br /&gt;
=== Action &amp;quot;Appliquer&amp;quot; ===&lt;br /&gt;
&lt;br /&gt;
Cette opération consiste a appliquer au stock réel de dolibarr l&#039;ensemble de vos modifications. Lors de cette action vous aurez la possibilité de choisir l’entrepôt, et la manière dont vous souhaitez appliqué vos modifications : &lt;br /&gt;
 - absolue; les valeurs de votre inventaire doivent être appliqué stricto-sinsu&lt;br /&gt;
 - relative; les valeurs de votre inventaire doivent être appliqué en tenant compte des mouvement effectué entre votre instantané de stock et le moment ou vous appliqué celui ci. Dans ce cas seul l&#039;ecart entre ces valeurs sera appliqué&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
=== Export ===&lt;br /&gt;
&lt;br /&gt;
Depuis la version 1.3, l&#039;export des inventaires à travers &amp;quot;les outils&amp;quot; de dolibarr est possible, et vous permet de générer vos fichier d&#039;export en csv, excel,... . Cette fonction lors de l&#039;export vous permet de preciser la référence de l&#039;inventaire afin de n&#039;extraire que l&#039;inventaire voulu.&lt;/div&gt;</summary>
		<author><name>Oscim</name></author>
	</entry>
	<entry>
		<id>https://wiki.dolibarr.org/index.php?title=Module_Cheque_Avanc%C3%A9&amp;diff=34766</id>
		<title>Module Cheque Avancé</title>
		<link rel="alternate" type="text/html" href="https://wiki.dolibarr.org/index.php?title=Module_Cheque_Avanc%C3%A9&amp;diff=34766"/>
		<updated>2015-12-30T16:15:44Z</updated>

		<summary type="html">&lt;p&gt;Oscim: /* Utilisation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Modules complémentaires]]&lt;br /&gt;
{{TemplateDocDev}}&lt;br /&gt;
{{TemplateDocUtil}}&lt;br /&gt;
= Informations =&lt;br /&gt;
{{TemplateModuleInfo&lt;br /&gt;
|modulename=Cheque Avancé&lt;br /&gt;
|editor=Oscim &lt;br /&gt;
|web= http://oscim.fr&lt;br /&gt;
|webbuy = http://www.dolistore.com/&lt;br /&gt;
|status=stable&lt;br /&gt;
|prerequisites=module_stock&lt;br /&gt;
|minversion=3.8&lt;br /&gt;
|note=&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
= Vocation =&lt;br /&gt;
&lt;br /&gt;
Ce module vient améliorer la gestion native des chèque de dolibarr. il fourni un mécanisme améliorant le suivi et la traçabilité des chèques et apporte un mode de gestion assurant un rapprochant bancaire cohérent quant au dépôt de chèque&lt;br /&gt;
&lt;br /&gt;
== Configuration == &lt;br /&gt;
&lt;br /&gt;
En premier lieu il convient de créer un compte de banque, avec le rapprochement bancaire active, nommé &amp;quot;Encaissement chèque&amp;quot;. Ce compte servira à prendre en charge l&#039;ensemble des saisies de règlements des facture client, qui ne seront pas directement versé sur le compte bancaire courant réel. &lt;br /&gt;
Une fois cette étape effectué , rendez vous dans la liste de vos module, puis activer le module chèque dans la gestion des &amp;quot;Module Financiers&amp;quot;, puis dans la configuration du module, renseigné le compte banque  d &#039;encaissement de chèque, et le compte banque courant réel. &lt;br /&gt;
&lt;br /&gt;
== Utilisation == &lt;br /&gt;
Ce module apporte 2 nouveau statuts aux encaissements de chèques, le statut &#039;&#039;&#039;déposé&#039;&#039;&#039;, et le statut &#039;&#039;&#039;encaissé&#039;&#039;&#039;. &lt;br /&gt;
&lt;br /&gt;
 - le statut déposé, consiste a validé l’étape ou vous avez effectué le dépôt réellement à votre banque, il ouvre ensuite la possibilité de passer l&#039;un des chèque rejeté. &lt;br /&gt;
 - le statut encaissé , vient clore le bordereau et bloque toute modification ultérieure. De plus, il assure le rapprochement bancaire du compte d&#039;encaissement, et reporte la somme du dépôt sur le compte réel de banque. &lt;br /&gt;
&lt;br /&gt;
Cette approche permet donc de retrouver sur le compte banque, le montant du dépôt, correspondant au montant du bordereau, et non pas le montant de chaque chèque individuellement. Il est donc possible d&#039;utiliser un module de rapprochement automatique, qui sera en mesure de matcher les montant correspondant&lt;/div&gt;</summary>
		<author><name>Oscim</name></author>
	</entry>
	<entry>
		<id>https://wiki.dolibarr.org/index.php?title=Module_Cheque_Avanc%C3%A9&amp;diff=34765</id>
		<title>Module Cheque Avancé</title>
		<link rel="alternate" type="text/html" href="https://wiki.dolibarr.org/index.php?title=Module_Cheque_Avanc%C3%A9&amp;diff=34765"/>
		<updated>2015-12-30T16:15:16Z</updated>

		<summary type="html">&lt;p&gt;Oscim: /* Utilisation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Modules complémentaires]]&lt;br /&gt;
{{TemplateDocDev}}&lt;br /&gt;
{{TemplateDocUtil}}&lt;br /&gt;
= Informations =&lt;br /&gt;
{{TemplateModuleInfo&lt;br /&gt;
|modulename=Cheque Avancé&lt;br /&gt;
|editor=Oscim &lt;br /&gt;
|web= http://oscim.fr&lt;br /&gt;
|webbuy = http://www.dolistore.com/&lt;br /&gt;
|status=stable&lt;br /&gt;
|prerequisites=module_stock&lt;br /&gt;
|minversion=3.8&lt;br /&gt;
|note=&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
= Vocation =&lt;br /&gt;
&lt;br /&gt;
Ce module vient améliorer la gestion native des chèque de dolibarr. il fourni un mécanisme améliorant le suivi et la traçabilité des chèques et apporte un mode de gestion assurant un rapprochant bancaire cohérent quant au dépôt de chèque&lt;br /&gt;
&lt;br /&gt;
== Configuration == &lt;br /&gt;
&lt;br /&gt;
En premier lieu il convient de créer un compte de banque, avec le rapprochement bancaire active, nommé &amp;quot;Encaissement chèque&amp;quot;. Ce compte servira à prendre en charge l&#039;ensemble des saisies de règlements des facture client, qui ne seront pas directement versé sur le compte bancaire courant réel. &lt;br /&gt;
Une fois cette étape effectué , rendez vous dans la liste de vos module, puis activer le module chèque dans la gestion des &amp;quot;Module Financiers&amp;quot;, puis dans la configuration du module, renseigné le compte banque  d &#039;encaissement de chèque, et le compte banque courant réel. &lt;br /&gt;
&lt;br /&gt;
== Utilisation == &lt;br /&gt;
Ce module apporte 2 nouveau statuts aux encaissements de chèques, le statut &#039;&#039;&#039;déposé&#039;&#039;&#039;, et le statut &#039;&#039;&#039;encaissé&#039;&#039;&#039;. &lt;br /&gt;
&lt;br /&gt;
- le statut déposé, consiste a validé l’étape ou vous avez effectué le dépôt réellement à votre banque, il ouvre ensuite la possibilité de passer l&#039;un des chèque rejeté. &lt;br /&gt;
- le statut encaissé , vient clore le bordereau et bloque toute modification ultérieure. De plus, il assure le rapprochement bancaire du compte d&#039;encaissement, et reporte la somme du dépôt sur le compte réel de banque. &lt;br /&gt;
&lt;br /&gt;
Cette approche permet donc de retrouver sur le compte banque, le montant du dépôt, correspondant au montant du bordereau, et non pas le montant de chaque chèque individuellement. Il est donc possible d&#039;utiliser un module de rapprochement automatique, qui sera en mesure de matcher les montant correspondant&lt;/div&gt;</summary>
		<author><name>Oscim</name></author>
	</entry>
	<entry>
		<id>https://wiki.dolibarr.org/index.php?title=Module_Cheque_Avanc%C3%A9&amp;diff=34764</id>
		<title>Module Cheque Avancé</title>
		<link rel="alternate" type="text/html" href="https://wiki.dolibarr.org/index.php?title=Module_Cheque_Avanc%C3%A9&amp;diff=34764"/>
		<updated>2015-12-30T12:17:51Z</updated>

		<summary type="html">&lt;p&gt;Oscim: Created page with &amp;quot;Category:Modules complémentaires {{TemplateDocDev}} {{TemplateDocUtil}} = Informations = {{TemplateModuleInfo |modulename=Cheque Avancé |editor=Oscim  |web= http://oscim.fr...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Modules complémentaires]]&lt;br /&gt;
{{TemplateDocDev}}&lt;br /&gt;
{{TemplateDocUtil}}&lt;br /&gt;
= Informations =&lt;br /&gt;
{{TemplateModuleInfo&lt;br /&gt;
|modulename=Cheque Avancé&lt;br /&gt;
|editor=Oscim &lt;br /&gt;
|web= http://oscim.fr&lt;br /&gt;
|webbuy = http://www.dolistore.com/&lt;br /&gt;
|status=stable&lt;br /&gt;
|prerequisites=module_stock&lt;br /&gt;
|minversion=3.8&lt;br /&gt;
|note=&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
= Vocation =&lt;br /&gt;
&lt;br /&gt;
Ce module vient améliorer la gestion native des chèque de dolibarr. il fourni un mécanisme améliorant le suivi et la traçabilité des chèques et apporte un mode de gestion assurant un rapprochant bancaire cohérent quant au dépôt de chèque&lt;br /&gt;
&lt;br /&gt;
== Configuration == &lt;br /&gt;
&lt;br /&gt;
En premier lieu il convient de créer un compte de banque, avec le rapprochement bancaire active, nommé &amp;quot;Encaissement chèque&amp;quot;. Ce compte servira à prendre en charge l&#039;ensemble des saisies de règlements des facture client, qui ne seront pas directement versé sur le compte bancaire courant réel. &lt;br /&gt;
Une fois cette étape effectué , rendez vous dans la liste de vos module, puis activer le module chèque dans la gestion des &amp;quot;Module Financiers&amp;quot;, puis dans la configuration du module, renseigné le compte banque  d &#039;encaissement de chèque, et le compte banque courant réel. &lt;br /&gt;
&lt;br /&gt;
== Utilisation == &lt;br /&gt;
Ce module apporte 2 nouveau statut au encaissement de chèque, le statut déposé, et le statut encaissé. &lt;br /&gt;
&lt;br /&gt;
- le statut déposé, consiste a validé l’étape ou vous avez effectué le dépôt réellement à votre banque, il ouvre ensuite la possibilité de passer l&#039;un des chèque rejeté. &lt;br /&gt;
- le statut encaissé , vient clore le bordereau et bloque toute modification ultérieure. De plus, il assure le rapprochement bancaire du compte d&#039;encaissement, et reporte la somme du dépôt sur le compte réel de banque. &lt;br /&gt;
&lt;br /&gt;
Cette approche permet donc de retrouver sur le compte banque, le montant du dépôt, correspondant au montant du bordereau, et non pas le montant de chaque chèque individuellement. Il est donc possible d&#039;utiliser un module de rapprochement automatique, qui sera en mesure de matcher les montant correspondant&lt;/div&gt;</summary>
		<author><name>Oscim</name></author>
	</entry>
	<entry>
		<id>https://wiki.dolibarr.org/index.php?title=Module_Inventaire_(by_OSCSS)&amp;diff=34763</id>
		<title>Module Inventaire (by OSCSS)</title>
		<link rel="alternate" type="text/html" href="https://wiki.dolibarr.org/index.php?title=Module_Inventaire_(by_OSCSS)&amp;diff=34763"/>
		<updated>2015-12-30T12:04:17Z</updated>

		<summary type="html">&lt;p&gt;Oscim: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Modules complémentaires]]&lt;br /&gt;
{{TemplateDocDev}}&lt;br /&gt;
{{TemplateDocUtil}}&lt;br /&gt;
= Informations =&lt;br /&gt;
{{TemplateModuleInfo&lt;br /&gt;
|modulename=Inventaire&lt;br /&gt;
|editor=Oscim &lt;br /&gt;
|web= http://oscim.fr&lt;br /&gt;
|webbuy = http://www.dolistore.com/&lt;br /&gt;
|status=stable&lt;br /&gt;
|prerequisites=module_stock&lt;br /&gt;
|minversion=3.2.x&lt;br /&gt;
|note=&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
= Vocation =&lt;br /&gt;
Prise en charge des inventaires, du comptage, de la conservation d&#039;instantané de stock avec leur valorisation, de l&#039;export des inventaires dans les outils de dolibarr.&lt;br /&gt;
&lt;br /&gt;
= Installation =&lt;br /&gt;
{{InstallModuleFr}}&lt;br /&gt;
&lt;br /&gt;
= Configuration =&lt;br /&gt;
{{ActivationModuleFr}}&lt;br /&gt;
&lt;br /&gt;
== Généralités ==&lt;br /&gt;
&lt;br /&gt;
la création d&#039;un inventaire passe par la création d&#039;un instantanée du stock, puis de la modification de celui ci. Toutes modification apporté à l&#039;inventaire ne sera appliqué sur les stock réel de dolibarr que lors de l&#039;action &amp;quot;appliquer&amp;quot;.  Cette fonctionnalité permet donc de travailler sur l&#039;inventaire, effectuer les corrections nécessaires, avant de finaliser celui ci et de l&#039;appliquer sur les stock de dolibarr. &lt;br /&gt;
&lt;br /&gt;
L&#039;inventaire vous permet lors de sa création de le fixer pour un ou plusieurs entrepôts, et cette approche est conservé lors de l&#039;application de l&#039;inventaire, qui peut être restreinte à certain entrepôts. &lt;br /&gt;
&lt;br /&gt;
la séparation des entrepôts a lieu a a travers un onglet par entrepôt, permettant à chaque utilisateur de travailler sur son propre inventaire sans risque d&#039;erreur. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Action &amp;quot;Initialiser ===&lt;br /&gt;
&lt;br /&gt;
Cette action créer un instantané du stock des produits, accompagné du pmp de chaque produit. Cet instantané conserve donc à l&#039;instant t, le stock et la valorisation du stock. Il est possible d&#039;automatiser avec le module cron la génération d&#039;un inventaire au dernier jour de votre exercice. &lt;br /&gt;
&lt;br /&gt;
=== Action &amp;quot;Fixer&amp;quot; ===&lt;br /&gt;
&lt;br /&gt;
Cette action fige l&#039;inventaire, et bloque toute modification ultérieur. Cette approche permet, une fois l&#039;inventaire modifié et recompter, de ne plus être modifié. C&#039;est lors de cette action qu&#039;une référence d&#039;inventaire lui est attribué. &lt;br /&gt;
&lt;br /&gt;
=== Action &amp;quot;Appliquer&amp;quot; ===&lt;br /&gt;
&lt;br /&gt;
Cette opération consiste a appliquer au stock réel de dolibarr l&#039;ensemble de vos modifications. Lors de cette action vous aurez la possibilité de choisir l’entrepôt, et la manière dont vous souhaitez appliqué vos modifications : &lt;br /&gt;
 - absolue; les valeurs de votre inventaire doivent être appliqué stricto-sinsu&lt;br /&gt;
 - relative; les valeurs de votre inventaire doivent être appliqué en tenant compte des mouvement effectué entre votre instantané de stock et le moment ou vous appliqué celui ci. Dans ce cas seul l&#039;ecart entre ces valeurs sera appliqué&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
=== Export ===&lt;br /&gt;
&lt;br /&gt;
Depuis la version 1.3, l&#039;export des inventaires à travers &amp;quot;les outils&amp;quot; de dolibarr est possible, et vous permet de générer vos fichier d&#039;export en csv, excel,... . Cette fonction lors de l&#039;export vous permet de preciser la référence de l&#039;inventaire afin de n&#039;extraire que l&#039;inventaire voulu.&lt;/div&gt;</summary>
		<author><name>Oscim</name></author>
	</entry>
	<entry>
		<id>https://wiki.dolibarr.org/index.php?title=List_of_modules_id&amp;diff=34762</id>
		<title>List of modules id</title>
		<link rel="alternate" type="text/html" href="https://wiki.dolibarr.org/index.php?title=List_of_modules_id&amp;diff=34762"/>
		<updated>2015-12-30T12:01:52Z</updated>

		<summary type="html">&lt;p&gt;Oscim: /* ID 100000 - 499999 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Core]]&lt;br /&gt;
{{TemplateDocDevEn}}&lt;br /&gt;
{{TemplateDocDevEs}}&lt;br /&gt;
{{TemplateDocDevFr}}&lt;br /&gt;
&lt;br /&gt;
{{Flag en}} This page list all reserved modules numbers / ID. If you build or want to build your own modules (like this [[:Category:Complementary_modules|complementary module]]), you should take an ID range here. &lt;br /&gt;
&lt;br /&gt;
{{Flag fr}} Cette page recense tous les numéros / ID réservés de modules. Si vous avez réalisé ou voulez réaliser vos propres modules (comme les [[:Category:Modules complémentaires|modules complémentaires suivant]]), vous devriez prendre une plage d&#039;ID ici.&lt;br /&gt;
&lt;br /&gt;
{{Flag sp}} Esta página contiene un listado de todos los id reservados para los módulos. Si ha creado o quiere realizar sus propios módulos, (como estos [[:Category:Módulos_complementarios|módulos complementarios]]), deberá reservarse un rango de ID aquí.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= ID 0 - 99999 =&lt;br /&gt;
{{Flag en}} Reserved for Dolibarr&#039;s internal modules.&lt;br /&gt;
&lt;br /&gt;
{{Flag fr}} Réservé aux modules internes de Dolibarr.&lt;br /&gt;
&lt;br /&gt;
{{Flag sp}} Reservado a los módulos internos de Dolibarr.&lt;br /&gt;
&lt;br /&gt;
= ID 100000 - 499999 =&lt;br /&gt;
{{Flag en}} Reserved area for editors in need for an ID range. You can edit this page to add your own range (limited to 1000 values per editor)&lt;br /&gt;
&lt;br /&gt;
{{Flag fr}} Zone réservé aux éditeurs qui ont besoin d&#039;une plage d&#039;ID spécifiques. Vous pouvez modifier cette page pour réserver votre plage (limité à 1000 valeurs par éditeur)&lt;br /&gt;
&lt;br /&gt;
{{Flag sp}} Área reservada para los partners que necesiten un rango de ID. Puede modificar esta página para reservar su rango (limitado a 1000 valores por editor)&lt;br /&gt;
&lt;br /&gt;
* ID 100000 - 100999: OpenThink (http://www.openthink.be)&lt;br /&gt;
* ID 101000 - 101999: NLTechno (http://www.nltechno.com)&lt;br /&gt;
* ID 102000 - 102999: Tiaris (http://www.tiaris.fr)&lt;br /&gt;
* ID 103000 - 103999: Open-concept.pro (http://www.open-concept.pro)&lt;br /&gt;
* ID 104000 - 104999: ATM Consulting (http://www.atm-consulting.fr)&lt;br /&gt;
* ID 105000 - 105999: GPC.solutions&lt;br /&gt;
* ID 106000 - 106999: PHPASSO&lt;br /&gt;
* ID 107000 - 107999: TecLib (http://www.teclib.com) / Auguria (http://www.auguria.net)&lt;br /&gt;
* ID 108000 - 108999: ETHICWEB&lt;br /&gt;
* ID 109000 - 109999: Aplose&lt;br /&gt;
* ID 110000 - 110999: Aternatik&lt;br /&gt;
* ID 111000 - 111999: Asset IT (www.assetit.ch)&lt;br /&gt;
* ID 112000 - 112999: Aarboard AG (www.aarboard.ch)&lt;br /&gt;
* ID 113000 - 113999: Asilib - Alexandre Spangaro&lt;br /&gt;
* ID 114000 - 114999: Iceleaf OÜ&lt;br /&gt;
* ID 115000 - 115999: 2A2C Conseil - Cyril ZEKSER&lt;br /&gt;
* ID 116000 - 116999: Wolftec GmbH&lt;br /&gt;
* ID 117000 - 117999: Oscim (http://www.oscim.fr)&lt;br /&gt;
* ID 118000 - 118999: *********** Free, put your name to reserve&lt;br /&gt;
* ID 119000 - 119999: Manuel Berrocal - Absolacom&lt;br /&gt;
* ID 120000 - 120999: Régis Houssin (http://www.inodbox.com)&lt;br /&gt;
* ID 130000 - 130999: Technicks ICT (http://www.technicks.eu)&lt;br /&gt;
* ID 140000 - 140999: Altairis&lt;br /&gt;
* ID 150000 - 150999: Jeffinfo &lt;br /&gt;
* ID 160000 - 160999: Charles-François BENKE (http://www.patas-monkey.com)&lt;br /&gt;
* ID 190000 - 190999: Diciannove (http://19.coop)&lt;br /&gt;
* ID 199000 - 199999: RFMS&lt;br /&gt;
* ID 200000 - 200999: Noxiome&lt;br /&gt;
* ID 201000 - 201999: Sasa Ostrouska (saxa)&lt;br /&gt;
* ID 202000 - 202999: Z-Application&lt;br /&gt;
* ID 203000 - 203999: *********** Free, put your name to reserve&lt;br /&gt;
* ID 204000 - 204999: Ari Elbaz elarifr - accedinfo.com&lt;br /&gt;
* ID 205000 - 205999: Kreiz IT&lt;br /&gt;
* ID 300000 - 300999: AtooNet (http://www.atoo-net.com)&lt;br /&gt;
* ID 400000 - 400999: 2byte.es (http://www.2byte.es)&lt;br /&gt;
* ID 401000 - 401999: B&amp;amp;D Informática&lt;br /&gt;
* ID 402000 - 402999: Marcos García de La Fuente (marcosgdf)&lt;br /&gt;
* ID 403000 - 403999: Sergibyte (http://www.sergibyte.com)&lt;br /&gt;
* ID 404000 - 404999: Aikhan&lt;br /&gt;
* ID 405000 - 405999: AIME (http://www.aime.mx)&lt;br /&gt;
* ID 420000 - 420099: BBS Concept&lt;br /&gt;
* ID 420100 - 420199: LeMousticProduction (www.lemousticproduction.info) -&amp;lt; module DoliRH&lt;br /&gt;
* ID 420200 - 421199: VatCheck (www.abnc.be)&lt;br /&gt;
* ID 422200 - 422999: Artaban (http://artaban.fr)&lt;br /&gt;
* ID 423000 - 423050: cyberesprit&lt;br /&gt;
&lt;br /&gt;
= ID &amp;gt; 500000 =&lt;br /&gt;
{{Flag en}} If you don&#039;t already have reserved ids and need some, please don&#039;t use hazardous number and use a number higher than 500000, but it is better to ask a wiki account, and reserve your own range by editing the  100000 - 499999 range (1000 ids maximum per partner).&lt;br /&gt;
&lt;br /&gt;
{{Flag fr}} Si vous n&#039;avez pas de numéros réservés et en avez besoin, n&#039;utilisez pas de chiffres au hasard et utilisez une valeur supérieure à 500000, toutefois, il est préférable d&#039;obtenir un compte wiki, et  réserver vous-même votre plage en ajoutant votre entrée dans la zone 100000 - 499999 (pas plus de 1000 numéros par partenaire).&lt;br /&gt;
&lt;br /&gt;
{{Flag sp}} Si no dispone de número reservado y necesita, no use cifras redondeadas y usa un valor superior a 500000. Si tiene una cuenta wiki, puede reservarse usted mismo sus id añadiendo su entrada en la zona 100000 - 499999 (no más de 1000 id por partner).&lt;/div&gt;</summary>
		<author><name>Oscim</name></author>
	</entry>
	<entry>
		<id>https://wiki.dolibarr.org/index.php?title=Module_Inventaire_(by_OSCSS)&amp;diff=34758</id>
		<title>Module Inventaire (by OSCSS)</title>
		<link rel="alternate" type="text/html" href="https://wiki.dolibarr.org/index.php?title=Module_Inventaire_(by_OSCSS)&amp;diff=34758"/>
		<updated>2015-12-29T07:27:21Z</updated>

		<summary type="html">&lt;p&gt;Oscim: /* Vocation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Informations =&lt;br /&gt;
{{TemplateModuleInfo&lt;br /&gt;
|modulename=Inventaire&lt;br /&gt;
|editor=Oscim &lt;br /&gt;
|web= http://oscim.fr&lt;br /&gt;
|webbuy = http://www.dolistore.com/&lt;br /&gt;
|status=stable&lt;br /&gt;
|prerequisites=module_stock&lt;br /&gt;
|minversion=3.2.x&lt;br /&gt;
|note=&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
= Vocation =&lt;br /&gt;
Prise en charge des inventaires, du comptage, de la conservation d&#039;instantané de stock avec leur valorisation, de l&#039;export des inventaires dans les outils de dolibarr.&lt;br /&gt;
&lt;br /&gt;
= Installation =&lt;br /&gt;
{{InstallModuleFr}}&lt;br /&gt;
&lt;br /&gt;
= Configuration =&lt;br /&gt;
{{ActivationModuleFr}}&lt;br /&gt;
&lt;br /&gt;
== Généralités ==&lt;br /&gt;
&lt;br /&gt;
la création d&#039;un inventaire passe par la création d&#039;un instantanée du stock, puis de la modification de celui ci. Toutes modification apporté à l&#039;inventaire ne sera appliqué sur les stock réel de dolibarr que lors de l&#039;action &amp;quot;appliquer&amp;quot;.  Cette fonctionnalité permet donc de travailler sur l&#039;inventaire, effectuer les corrections nécessaires, avant de finaliser celui ci et de l&#039;appliquer sur les stock de dolibarr. &lt;br /&gt;
&lt;br /&gt;
L&#039;inventaire vous permet lors de sa création de le fixer pour un ou plusieurs entrepôts, et cette approche est conservé lors de l&#039;application de l&#039;inventaire, qui peut être restreinte à certain entrepôts. &lt;br /&gt;
&lt;br /&gt;
la séparation des entrepôts a lieu a a travers un onglet par entrepôt, permettant à chaque utilisateur de travailler sur son propre inventaire sans risque d&#039;erreur. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Action &amp;quot;Initialiser ===&lt;br /&gt;
&lt;br /&gt;
Cette action créer un instantané du stock des produits, accompagné du pmp de chaque produit. Cet instantané conserve donc à l&#039;instant t, le stock et la valorisation du stock. Il est possible d&#039;automatiser avec le module cron la génération d&#039;un inventaire au dernier jour de votre exercice. &lt;br /&gt;
&lt;br /&gt;
=== Action &amp;quot;Fixer&amp;quot; ===&lt;br /&gt;
&lt;br /&gt;
Cette action fige l&#039;inventaire, et bloque toute modification ultérieur. Cette approche permet, une fois l&#039;inventaire modifié et recompter, de ne plus être modifié. C&#039;est lors de cette action qu&#039;une référence d&#039;inventaire lui est attribué. &lt;br /&gt;
&lt;br /&gt;
=== Action &amp;quot;Appliquer&amp;quot; ===&lt;br /&gt;
&lt;br /&gt;
Cette opération consiste a appliquer au stock réel de dolibarr l&#039;ensemble de vos modifications. Lors de cette action vous aurez la possibilité de choisir l’entrepôt, et la manière dont vous souhaitez appliqué vos modifications : &lt;br /&gt;
 - absolue; les valeurs de votre inventaire doivent être appliqué stricto-sinsu&lt;br /&gt;
 - relative; les valeurs de votre inventaire doivent être appliqué en tenant compte des mouvement effectué entre votre instantané de stock et le moment ou vous appliqué celui ci. Dans ce cas seul l&#039;ecart entre ces valeurs sera appliqué&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
=== Export ===&lt;br /&gt;
&lt;br /&gt;
Depuis la version 1.3, l&#039;export des inventaires à travers &amp;quot;les outils&amp;quot; de dolibarr est possible, et vous permet de générer vos fichier d&#039;export en csv, excel,... . Cette fonction lors de l&#039;export vous permet de preciser la référence de l&#039;inventaire afin de n&#039;extraire que l&#039;inventaire voulu.&lt;/div&gt;</summary>
		<author><name>Oscim</name></author>
	</entry>
	<entry>
		<id>https://wiki.dolibarr.org/index.php?title=Module_Inventaire_(by_OSCSS)&amp;diff=34757</id>
		<title>Module Inventaire (by OSCSS)</title>
		<link rel="alternate" type="text/html" href="https://wiki.dolibarr.org/index.php?title=Module_Inventaire_(by_OSCSS)&amp;diff=34757"/>
		<updated>2015-12-29T07:23:21Z</updated>

		<summary type="html">&lt;p&gt;Oscim: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Informations =&lt;br /&gt;
{{TemplateModuleInfo&lt;br /&gt;
|modulename=Inventaire&lt;br /&gt;
|editor=Oscim &lt;br /&gt;
|web= http://oscim.fr&lt;br /&gt;
|webbuy = http://www.dolistore.com/&lt;br /&gt;
|status=stable&lt;br /&gt;
|prerequisites=module_stock&lt;br /&gt;
|minversion=3.2.x&lt;br /&gt;
|note=&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
= Vocation =&lt;br /&gt;
Prise en charge des inventaires, du comptage, de la conservation d&#039;instantané de stock avec leur valorisation, de l&#039;export des inventaire dans les outils de dolibarr. &lt;br /&gt;
&lt;br /&gt;
= Installation =&lt;br /&gt;
{{InstallModuleFr}}&lt;br /&gt;
&lt;br /&gt;
= Configuration =&lt;br /&gt;
{{ActivationModuleFr}}&lt;br /&gt;
&lt;br /&gt;
== Généralités ==&lt;br /&gt;
&lt;br /&gt;
la création d&#039;un inventaire passe par la création d&#039;un instantanée du stock, puis de la modification de celui ci. Toutes modification apporté à l&#039;inventaire ne sera appliqué sur les stock réel de dolibarr que lors de l&#039;action &amp;quot;appliquer&amp;quot;.  Cette fonctionnalité permet donc de travailler sur l&#039;inventaire, effectuer les corrections nécessaires, avant de finaliser celui ci et de l&#039;appliquer sur les stock de dolibarr. &lt;br /&gt;
&lt;br /&gt;
L&#039;inventaire vous permet lors de sa création de le fixer pour un ou plusieurs entrepôts, et cette approche est conservé lors de l&#039;application de l&#039;inventaire, qui peut être restreinte à certain entrepôts. &lt;br /&gt;
&lt;br /&gt;
la séparation des entrepôts a lieu a a travers un onglet par entrepôt, permettant à chaque utilisateur de travailler sur son propre inventaire sans risque d&#039;erreur. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Action &amp;quot;Initialiser ===&lt;br /&gt;
&lt;br /&gt;
Cette action créer un instantané du stock des produits, accompagné du pmp de chaque produit. Cet instantané conserve donc à l&#039;instant t, le stock et la valorisation du stock. Il est possible d&#039;automatiser avec le module cron la génération d&#039;un inventaire au dernier jour de votre exercice. &lt;br /&gt;
&lt;br /&gt;
=== Action &amp;quot;Fixer&amp;quot; ===&lt;br /&gt;
&lt;br /&gt;
Cette action fige l&#039;inventaire, et bloque toute modification ultérieur. Cette approche permet, une fois l&#039;inventaire modifié et recompter, de ne plus être modifié. C&#039;est lors de cette action qu&#039;une référence d&#039;inventaire lui est attribué. &lt;br /&gt;
&lt;br /&gt;
=== Action &amp;quot;Appliquer&amp;quot; ===&lt;br /&gt;
&lt;br /&gt;
Cette opération consiste a appliquer au stock réel de dolibarr l&#039;ensemble de vos modifications. Lors de cette action vous aurez la possibilité de choisir l’entrepôt, et la manière dont vous souhaitez appliqué vos modifications : &lt;br /&gt;
 - absolue; les valeurs de votre inventaire doivent être appliqué stricto-sinsu&lt;br /&gt;
 - relative; les valeurs de votre inventaire doivent être appliqué en tenant compte des mouvement effectué entre votre instantané de stock et le moment ou vous appliqué celui ci. Dans ce cas seul l&#039;ecart entre ces valeurs sera appliqué&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
=== Export ===&lt;br /&gt;
&lt;br /&gt;
Depuis la version 1.3, l&#039;export des inventaires à travers &amp;quot;les outils&amp;quot; de dolibarr est possible, et vous permet de générer vos fichier d&#039;export en csv, excel,... . Cette fonction lors de l&#039;export vous permet de preciser la référence de l&#039;inventaire afin de n&#039;extraire que l&#039;inventaire voulu.&lt;/div&gt;</summary>
		<author><name>Oscim</name></author>
	</entry>
	<entry>
		<id>https://wiki.dolibarr.org/index.php?title=Module_Inventaire_(by_OSCSS)&amp;diff=34756</id>
		<title>Module Inventaire (by OSCSS)</title>
		<link rel="alternate" type="text/html" href="https://wiki.dolibarr.org/index.php?title=Module_Inventaire_(by_OSCSS)&amp;diff=34756"/>
		<updated>2015-12-29T07:05:26Z</updated>

		<summary type="html">&lt;p&gt;Oscim: /* Informations */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Informations =&lt;br /&gt;
{{TemplateModuleInfo&lt;br /&gt;
|modulename=Inventaire&lt;br /&gt;
|editor=Oscim &lt;br /&gt;
|web= http://oscim.fr&lt;br /&gt;
|webbuy = http://www.dolistore.com/&lt;br /&gt;
|status=stable&lt;br /&gt;
|prerequisites=module_stock&lt;br /&gt;
|minversion=3.2.x&lt;br /&gt;
|note=&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
= Vocation =&lt;br /&gt;
Prise en charge des inventaires, du comptage, de la conservation d&#039;instantané de stock avec leur valorisation, de l&#039;export des inventaire dans les outils de dolibarr. &lt;br /&gt;
&lt;br /&gt;
Une alerte lors d&#039;appel entrant contenant les liens vers les informations clients et/ou les informations du collaborateur appelé.&lt;br /&gt;
Historisation des appels dans les fiches de tiers et dans l&#039;agenda&lt;br /&gt;
&lt;br /&gt;
= Installation =&lt;br /&gt;
{{InstallModuleFr}}&lt;br /&gt;
&lt;br /&gt;
= Configuration =&lt;br /&gt;
{{ActivationModuleFr}}&lt;/div&gt;</summary>
		<author><name>Oscim</name></author>
	</entry>
	<entry>
		<id>https://wiki.dolibarr.org/index.php?title=Module_Inventaire_(by_OSCSS)&amp;diff=34755</id>
		<title>Module Inventaire (by OSCSS)</title>
		<link rel="alternate" type="text/html" href="https://wiki.dolibarr.org/index.php?title=Module_Inventaire_(by_OSCSS)&amp;diff=34755"/>
		<updated>2015-12-29T07:02:53Z</updated>

		<summary type="html">&lt;p&gt;Oscim: Created page with &amp;quot;= Informations = {{TemplateModuleInfo |modulename=Inventaire |editor=Oscim  |web= http://oscim.fr |webbuy = http://www.dolistore.com/ |status=stable |prerequisites=module_stock |...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Informations =&lt;br /&gt;
{{TemplateModuleInfo&lt;br /&gt;
|modulename=Inventaire&lt;br /&gt;
|editor=Oscim &lt;br /&gt;
|web= http://oscim.fr&lt;br /&gt;
|webbuy = http://www.dolistore.com/&lt;br /&gt;
|status=stable&lt;br /&gt;
|prerequisites=module_stock&lt;br /&gt;
|minversion=3.2.x&lt;br /&gt;
|note=&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Oscim</name></author>
	</entry>
	<entry>
		<id>https://wiki.dolibarr.org/index.php?title=Module_CardDav&amp;diff=32539</id>
		<title>Module CardDav</title>
		<link rel="alternate" type="text/html" href="https://wiki.dolibarr.org/index.php?title=Module_CardDav&amp;diff=32539"/>
		<updated>2014-07-30T11:06:10Z</updated>

		<summary type="html">&lt;p&gt;Oscim: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Informations =&lt;br /&gt;
{{TemplateModuleInfo&lt;br /&gt;
|modulename=CardDAV&lt;br /&gt;
|editor=Oscim &lt;br /&gt;
|web= http://oscim.fr&lt;br /&gt;
|webbuy = http://www.dolistore.com/&lt;br /&gt;
|status=stable&lt;br /&gt;
|minversion=3.3.x&lt;br /&gt;
|note=&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Vocation =&lt;br /&gt;
Prise en charge de synchronisationd e vos contact/tiers avec un serveur CardDAV externe; Import / export possible; Sycnhro avec plusieurs serveur par utilisateur&lt;br /&gt;
&lt;br /&gt;
= Installation =&lt;br /&gt;
{{InstallModuleFr}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Configuration =&lt;br /&gt;
{{ActivationModuleFr}}&lt;/div&gt;</summary>
		<author><name>Oscim</name></author>
	</entry>
	<entry>
		<id>https://wiki.dolibarr.org/index.php?title=Module_CardDav&amp;diff=32538</id>
		<title>Module CardDav</title>
		<link rel="alternate" type="text/html" href="https://wiki.dolibarr.org/index.php?title=Module_CardDav&amp;diff=32538"/>
		<updated>2014-07-30T11:04:28Z</updated>

		<summary type="html">&lt;p&gt;Oscim: Created page with &amp;quot;= Informations = {{TemplateModuleInfo |modulename=CardDAV |editor=Oscim  |web= http://oscim.fr |webbuy = http://www.dolistore.com/ |status=stable |minversion=3.3.x |note= }}&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Informations =&lt;br /&gt;
{{TemplateModuleInfo&lt;br /&gt;
|modulename=CardDAV&lt;br /&gt;
|editor=Oscim &lt;br /&gt;
|web= http://oscim.fr&lt;br /&gt;
|webbuy = http://www.dolistore.com/&lt;br /&gt;
|status=stable&lt;br /&gt;
|minversion=3.3.x&lt;br /&gt;
|note=&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Oscim</name></author>
	</entry>
	<entry>
		<id>https://wiki.dolibarr.org/index.php?title=Module_Calling&amp;diff=32371</id>
		<title>Module Calling</title>
		<link rel="alternate" type="text/html" href="https://wiki.dolibarr.org/index.php?title=Module_Calling&amp;diff=32371"/>
		<updated>2014-06-14T14:33:37Z</updated>

		<summary type="html">&lt;p&gt;Oscim: /* 1.2.5 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Modules complémentaires]]&lt;br /&gt;
{{TemplateDocDev}}&lt;br /&gt;
{{TemplateDocUtil}}&lt;br /&gt;
= Informations =&lt;br /&gt;
{{TemplateModuleInfo&lt;br /&gt;
|editor=Oscim &lt;br /&gt;
|web= http://oscim.fr&lt;br /&gt;
|status=stable&lt;br /&gt;
|prerequisites= module_clicktodial&lt;br /&gt;
|minversion=3.2.x&lt;br /&gt;
|note=&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
= Vocation =&lt;br /&gt;
Assure la prise en charge du suivi des appels téléphonique( appels entrant et sortant).&lt;br /&gt;
&lt;br /&gt;
Une alerte lors d&#039;appel entrant contenant les liens vers les informations clients et/ou les informations du collaborateur appelé.&lt;br /&gt;
Historisation des appels dans les fiches de tiers et dans l&#039;agenda&lt;br /&gt;
&lt;br /&gt;
= Installation =&lt;br /&gt;
{{InstallModuleFr}}&lt;br /&gt;
&lt;br /&gt;
= Configuration =&lt;br /&gt;
{{ActivationModuleFr}}&lt;br /&gt;
&lt;br /&gt;
Ce module active et configure le module clicktodial de dolibarr déjà présent lors de l&#039;installation.&lt;br /&gt;
Une fois installé et configuré le module, il vous sera nécessaire de coupler dolibarr à votre fournisseur de service de téléphonie en voip.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Configuration du clicktocall ==&lt;br /&gt;
Ce module st natif dans dolibarr, sur la fiche de chaque utilisateur interne de dolibarr vous avez un onglet clicktocall.Il est nécessaire de renseigner les informations de connexion (login/pass/tel), et le numéro de téléphone utilisé.  &lt;br /&gt;
l&#039;url de déclenchement du click to call est défini pas le module calling, aussi il ne faut pas modifié les éléments de configuration du clicktocall &lt;br /&gt;
&lt;br /&gt;
== Configuration de la liaison avec votre provider de SIP ==&lt;br /&gt;
Le choix de votre fournisseur peut limiter l&#039;usage du module en fonction de l&#039;api de ce dernier. Ce module est fourni avec des sous module permettant d&#039;ajuster celui-ci à votre fournisseur.&lt;br /&gt;
Liste des fournisseur supporté à ce jour:&lt;br /&gt;
&lt;br /&gt;
 - Keyyo : Voir keyyo.fr - L&#039;api supporte les appels entrant et sortant&lt;br /&gt;
 - OVH : Voir Ovh.fr  - L&#039;api supporte les [[appels sortant]]&lt;br /&gt;
 - OVH + @Asterisk : extension du module ovh, ajoute la prise en charge des appels sortant par l’intermédiaire d&#039;un pbx privé. Nécessite d&#039;installer et configurer un serveur asterisk - L&#039;api supporte les appels entrant et sortant&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Liaison Agenda et action ==&lt;br /&gt;
&lt;br /&gt;
Ajouter une action dans le dictionnaire &amp;quot;liste des action&amp;quot; de la table 	llx_c_actioncomm, afin de lister les actions spécifique à la téléphonie; &lt;br /&gt;
&lt;br /&gt;
 - code : AC_TEL&lt;br /&gt;
 - Libellé : Phone call&lt;br /&gt;
 - type : system&lt;br /&gt;
&lt;br /&gt;
Cet ajout vous permet d&#039;exploiter le bouton du menu principal téléphonie, qui devrait limiter l&#039;affichage aux seuls événements de téléphonie.&lt;br /&gt;
&lt;br /&gt;
== Les options du modules ==&lt;br /&gt;
&lt;br /&gt;
===le mode d&#039;alerte ===&lt;br /&gt;
&lt;br /&gt;
Cette option vous permet de gérer le comportement lors des appels entrant; &lt;br /&gt;
&lt;br /&gt;
 - Pas de notification en popup;  aucune notification , vous pouvez dans ce cas choisir le module norun des sous module de notification&lt;br /&gt;
 - Seul les utilisateurs du poste appelé sont notifiés; n&#039;informe que l&#039;utilisateur dont le numéro est appelé. cette sélection prend en compte le numéro de poste configuré sur la fiche utilisateur, et le numéro de ligne défini  dans l&#039;onglet clicktocall&lt;br /&gt;
 - Tous les utilisateur configuré pour le clicktodial sont notifiés&lt;br /&gt;
 - Tous les utilisateurs sont notifiés&lt;br /&gt;
&lt;br /&gt;
=== comportement sur les numéro des collaborateurs et de l&#039;entreprise ===&lt;br /&gt;
Cette option règle le comportement lors de l&#039;appel entrant d&#039;un collaborateur (y compris avec sont numéro de mobile), appel interne, appel d&#039;un site externe.&lt;br /&gt;
&lt;br /&gt;
 - Ignorer les appels entrant des numéros utilisateurs de l&#039;entreprise (pro/perso/mobile); aucune notification ni trace dans les actions&lt;br /&gt;
 - Accepter et notifier sauf l&#039;utilisateur correspondant&lt;br /&gt;
&lt;br /&gt;
=== Information du collaborateur appelé ===&lt;br /&gt;
Affichage d&#039;information complémentaire sur le collaborateur réellement appelé par un tiers (basé sur le numero de téléphone contacté).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Création de fiche ===&lt;br /&gt;
Dans le cas d&#039;appel entrant, dont le numéro n&#039;est pas trouvé dans la base de donnée, une fiche peut être créer, avec comme nom le numéro de téléphone. &lt;br /&gt;
&lt;br /&gt;
 - Pas de création de fiche&lt;br /&gt;
 - Créer un tiers avec le numéro de l&#039;appelant&lt;br /&gt;
 - Créer un contact avec le numéro de l&#039;appelant&lt;br /&gt;
&lt;br /&gt;
=== Appel Anonyme ===&lt;br /&gt;
Peut créer une fiche pour les appels anonyme. &lt;br /&gt;
&lt;br /&gt;
=== Trace les appels ===&lt;br /&gt;
Tracer les appels dans les actions/agenda de dolibarr; Vous pouvez désactiver cette option.&lt;br /&gt;
&lt;br /&gt;
=== Utilisateur appel entrant ===&lt;br /&gt;
Pour gérer correctement la liaison dans les événement, il est nécessaire d&#039;ajuster le choix de l&#039;utilisateur à qui sera affecté l&#039;action . Il est souhaitable d&#039;ajouter un utilisateur a cette fin.&lt;br /&gt;
&lt;br /&gt;
= Utilisation =&lt;br /&gt;
&lt;br /&gt;
La manipulation et l&#039;utilisation de ce module reste simple, compte tenu qu&#039;il ne généré pas d&#039;action particulières. le clicktocall sur les numéro de téléphone vous assure la possibilité de lancer des appels en 1 clic. &#039;&#039;Attention toutefois les numéro de fax ce retrouvent aussi avec un liens de click to call&#039;&#039;. &lt;br /&gt;
&lt;br /&gt;
Lors d&#039;un appel entrant, en fonction de la configuration du mode d&#039;alerte, vous aurez une boite affichant le liens vers la fiche du contact et/ou de la société qui cherche à vous joindre. De plus les appels sont tracés dans l&#039;agenda.&lt;br /&gt;
&lt;br /&gt;
= Information Développement  =&lt;br /&gt;
&lt;br /&gt;
== Généralités ==&lt;br /&gt;
&lt;br /&gt;
Le fonctionnement du module s’appuie sur un fichier &amp;quot;calling.php&amp;quot; à la racine  public de dolibarr. Celui ci est donc accessible via http. Tous les appels de ce module transite par ce fichier, tant les appels entrant que les sortant.&lt;br /&gt;
Le module utilise une table de donnée supplémentaire (llx_calling ) afin de tracer les appels entrant, et l&#039;utilisateur  appelé. Un dossier calling est crée dans la dossier Documents afin de stocker des fichier javascript spécifique par utilisateur.&lt;br /&gt;
&lt;br /&gt;
== Sous Module de liaison vers api de voip ==&lt;br /&gt;
&lt;br /&gt;
Il est possible d&#039;ajouter et modifier les modules d&#039;interaction avec les api de VOIP.  les modules fournis assure une liaison vers des services precis, si vous utiliser une autre api, il sera necessaire de créer votre propre module de liaison.&lt;br /&gt;
&lt;br /&gt;
Le fichier d&#039;un module de gestion d&#039;api doit être nommé api_xxxx.php , ou xxxx représente le nom du fournisseur du service&lt;br /&gt;
&lt;br /&gt;
=== Émission d&#039;un appel  ===&lt;br /&gt;
Cette liaison exploite le module ClicktoCall. Il assure l’émission d&#039;un appel , qui une fois lancé fera sonner votre téléphone, et celui de l&#039;interlocuteur que vous appelez.&lt;br /&gt;
L&#039;utilisation du clicktodial complétera automatiquement la fiche action du tiers/contact.&lt;br /&gt;
&lt;br /&gt;
Pour la conservation des données, et l&#039;affichage du popup, un fichier est créer dans Documents/calling de dolibarr. Ce fichier assure le stockage des données temporaire. &lt;br /&gt;
&lt;br /&gt;
=== Réception d&#039;un appel  ===&lt;br /&gt;
Cette section un peu plus complexe sera très dépendante des service offert par l&#039;offre de VOIP à laquelle vous avez souscrit.&lt;br /&gt;
&lt;br /&gt;
L&#039;interception des appels, ne vous permettra pas de décrocher votre téléphone, mais vous proposera un popup de dialogue, vous fournissant le liens vers la fiche Tiers/contact correspondante, si celle ci existe dans la base de donnée.Dans le cas contraire, il sera possible de créer une fiche de tiers/contact basé sur le numéro de téléphone.&lt;br /&gt;
&lt;br /&gt;
Tous appel entrant viendra compléter la fiche action du tiers. En cas d&#039;appel non répondu, la tache restera ouverte. Dans le cas d&#039;un appel décroché, la tache sera clôturé.&lt;br /&gt;
&lt;br /&gt;
==== Configuration de l&#039;api tiers ====&lt;br /&gt;
&lt;br /&gt;
Il sera nécessaire pour rendre opérationnel la notification des appels entrant de préciser une URL de notification pour l&#039;api tiers, qui doit initier cette notification. Utiliser l&#039; URL entrant , afficher dans votre page de configuration . Celle ci étant générer par le module d&#039;une  api précise, les variables GET a remplacer, sont spécifique à ce fournisseur.&lt;br /&gt;
&lt;br /&gt;
PS: pour forcer la langue utiliser dans les éléments inséré du calendrier, ajouter le paramètre GET &amp;quot;lang=fr_FR&amp;quot;  à l&#039;url précisé chez votre fournisseur &lt;br /&gt;
===Note===&lt;br /&gt;
- Stockage des numéro de téléphone en base de donnée.&lt;br /&gt;
Pour pouvoir être extrait et reconnu, il est souhaitable d&#039;utiliser la nomenclature international / national des numéros.&lt;br /&gt;
02 35 98 63 65 ou 33 6 98 65 87 54 ou 002 65 98 32 78&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Élément de configuration d&#039;asterisk ===&lt;br /&gt;
&lt;br /&gt;
La configuration d&#039;&#039;&#039;&#039;asterisk&#039;&#039;&#039; reste un serveur &#039;&#039;&#039;complet et complexe&#039;&#039;&#039;, les possibilité sont énorme, aussi, je vous encourage à consulter les tuto spécialisés. N&#039;oubliez toutefois pas que les PBX sont très fortement attaqué, et que ceux si peuvent générer des coût important si votre serveur ce fait hacker ou est mal configuré, compte tenu qu&#039;il est une passerelle vers le réseau téléphonique, et ces tarifs variant (mobile, appel surtaxé, international, etc..). &lt;br /&gt;
Pour ma part, je n&#039;utilise asterisk que dans la prise en charge des appels entrants, les appels sortant exploitant l&#039;api d&#039;ovh via le click to call. Le module dolibarr calling d&#039;asterisk est conçut en ce sens. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Fichier extensions.conf ====&lt;br /&gt;
les éléments de configuration suivant parte du principe que vous avez installé un asterisk fonctionnel, et configuré votre liaison avec votre provider. Il ne font qu&#039;apporter les éléments de base pour l’interception des appel entrant et la notification vers dolibarr. &lt;br /&gt;
Il doivent renvoyer en même temps vers votre ligne sip.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Context appel entrant  =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
; appel entrant via numero provider&lt;br /&gt;
[process_entrant]&lt;br /&gt;
  exten =&amp;gt; _X.,1,NoOp()&lt;br /&gt;
  exten =&amp;gt;  _X.,n,Set(__DOLI_CALLER=${CUT(CUT(SIP_HEADER(From),@,1),:, 2)})&lt;br /&gt;
  exten =&amp;gt;  _X.,n,Set(__DOLI_CALLE=${CUT(CUT(SIP_HEADER(To),@,1),:, 2)})&lt;br /&gt;
&lt;br /&gt;
; REDIRECTION&lt;br /&gt;
exten =&amp;gt;  _X.,n,Goto(dolibarr_notification,s,1)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Context macro-notification  =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
; Doli&lt;br /&gt;
; macro pour event CONNECT&lt;br /&gt;
[macro-dolinotif]&lt;br /&gt;
exten =&amp;gt; s,1,SET(${CURL(http://votreserveur/calling/calling.php?account=${EXTEN}&amp;amp;caller=${DOLI_CALLER}&amp;amp;callee=${DOLI_CALLE}&amp;amp;type=CONNECT&amp;amp;callref=${DOLI_CALLER}&amp;amp;version=1)})&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Context notification  =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
; Doli&lt;br /&gt;
; Process&lt;br /&gt;
[dolibarr_notification]&lt;br /&gt;
; put notif SETUP&lt;br /&gt;
exten =&amp;gt; s,1,SET(CALLERID(name)=${CURL(http://votreserveur/calling/calling.php?account=${USERNAME}&amp;amp;caller=${DOLI_CALLER}&amp;amp;callee=${DOLI_CALLE}&amp;amp;type=SETUP&amp;amp;callref=${DOLI_CALLER}&amp;amp;version=1)})&lt;br /&gt;
exten =&amp;gt; s,n,Answer()&lt;br /&gt;
; option : r pour sonnerie d&#039;attente&lt;br /&gt;
; option : e Execute &amp;quot;h&amp;quot; as the peer when this call ends&lt;br /&gt;
; option : t T transphert appelant / appelé&lt;br /&gt;
; option : M() Macro&lt;br /&gt;
; option S() raccorche apres x seconde&lt;br /&gt;
exten =&amp;gt; s,n,Dial(SIP/votreposte, 60,etTrM(dolinotif))&lt;br /&gt;
; put notif RELEASE&lt;br /&gt;
exten =&amp;gt; h,1,SET(CALLERID(name)=${CURL(http://votreserveur/calling/calling.php?account=${USERNAME}&amp;amp;caller=${DOLI_CALLER}&amp;amp;callee=${DOLI_CALLE}&amp;amp;type=RELEASE&amp;amp;callref=${DOLI_CALLER}&amp;amp;version=1)})&lt;br /&gt;
exten =&amp;gt; h,2,Hangup(16)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Sous Module des notifications d&#039;appel entrant ==&lt;br /&gt;
&lt;br /&gt;
Les modules d&#039;alerte, sont les modules qui travaille en temps réel afin de vous informer des appels entrant. Il créer un affichage proposant les liens vers la fiche client/contact, et éventuellement celle du collaborateur initialement appelé. Plusieurs modules sont disponible en fonction des contextes d&#039;utilisation.&lt;br /&gt;
&lt;br /&gt;
 - Mod NoRun : Module d&#039;exemple, permettant de désactiver tout éléments JavaScript de notification des appels &lt;br /&gt;
 - Mod Simplejs : Module original de notification via un popup (modale box jquery) en pleine page. Destiné à l&#039;usage d&#039;un utilisateur unique de dolibarr. Basé sur un appel récurent en ajax.&lt;br /&gt;
 - Mod Advancedjs : Module de notification avancé, assurant un affichage non intrusif (lien menu haut droit, et détail appel entrant au click sur le lien).  Exploité en contexte mutli-utilisateurs. Basé sur un appel récurent en ajax.&lt;br /&gt;
 - Mode Nodejs : Module de notification avancé, il est identique en terme d&#039;affichage au module Advancedjs, mais exploite un serveur @nodejs complementaire afin de pousser les informations vers les client dolibarr.&lt;br /&gt;
 Il n&#039;y a aucun appel récurent en ajax. Il nécessite un serveur dedié, nodejs installé. le servelet et fourni dans le paquet. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Sous module Nodejs pre-requis===&lt;br /&gt;
&lt;br /&gt;
Ce sous module exploite la technologie node.js. Il est donc nécessaire que votre serveur qui héberge dolibarr, soit installé nodejs. Sans quoi, le sous module client de dolibarr ne fonctionnera pas. &lt;br /&gt;
&lt;br /&gt;
==== Servelet Nodejs ====&lt;br /&gt;
&lt;br /&gt;
les possibilité de configuration étant nombreuses, nous allons détailler rapidement une installation de base avec ces pre-requis pour ce servelet. &lt;br /&gt;
extraire le zip nodejsd dans votre dossier /var/nodejs&lt;br /&gt;
&lt;br /&gt;
le script d’exécution s&#039;appel index.js&lt;br /&gt;
&lt;br /&gt;
Il vous suffit de lancer&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 node /var/nodejs/index.js&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
pour que le script démarre. Si vous vous connecter à votre dolibarr (ayant activé le module client Nodejs), vous verrez alors le serveur vous informer le la connexion de l&#039;id de votre utilisateur. &lt;br /&gt;
&lt;br /&gt;
Pour lancer en production votre servelet, utilisé le fameux &amp;quot;&amp;amp;&amp;quot;, afin que votre servelet ne ce coupe pas lorsque vous vous déconnecterez du ssh.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt; node /var/nodejs/index.js &amp;amp; &amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Une fois installé et configuré votre servelet (voir fichier config.js), aller dans le panneau de configuration du module calling de dolibarr, activer le module nodejs, puis preciser l&#039;url et le port de votre servelet&lt;br /&gt;
&lt;br /&gt;
===Note===&lt;br /&gt;
Il est possible de moduler ce comportement avec  des module nommé alert_xxx.php&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Fix Version / Note version =&lt;br /&gt;
== 1.2.7 ==&lt;br /&gt;
 - Check process for Dolibarr 3.5.3&lt;br /&gt;
 - Fix link vs calendar in dolibarr &lt;br /&gt;
 - Fix translate for incoming calls&lt;br /&gt;
 - Fix advancedjs plugin for dispay popup , based on html dolibarr structure&lt;br /&gt;
 - Fix calulate duration call &lt;br /&gt;
 - Fix other bugs&lt;br /&gt;
 - Add translation for turck (tr), Neederalnd (ne), danmerak (da)&lt;br /&gt;
&lt;br /&gt;
== 1.2.4 ==&lt;br /&gt;
 - Check process for Dolibarr 3.4.1&lt;br /&gt;
 - Fix display popup for all incoming  calls&lt;br /&gt;
&lt;br /&gt;
== 1.2.3 ==&lt;br /&gt;
 - Check and Fix process for Dolibarr 3.4.0&lt;br /&gt;
 - Add user for manipulate calendar and  incoming/outgoing calls&lt;/div&gt;</summary>
		<author><name>Oscim</name></author>
	</entry>
	<entry>
		<id>https://wiki.dolibarr.org/index.php?title=Module_Calling&amp;diff=32370</id>
		<title>Module Calling</title>
		<link rel="alternate" type="text/html" href="https://wiki.dolibarr.org/index.php?title=Module_Calling&amp;diff=32370"/>
		<updated>2014-06-13T14:29:46Z</updated>

		<summary type="html">&lt;p&gt;Oscim: /* 1.2.5 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Modules complémentaires]]&lt;br /&gt;
{{TemplateDocDev}}&lt;br /&gt;
{{TemplateDocUtil}}&lt;br /&gt;
= Informations =&lt;br /&gt;
{{TemplateModuleInfo&lt;br /&gt;
|editor=Oscim &lt;br /&gt;
|web= http://oscim.fr&lt;br /&gt;
|status=stable&lt;br /&gt;
|prerequisites= module_clicktodial&lt;br /&gt;
|minversion=3.2.x&lt;br /&gt;
|note=&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
= Vocation =&lt;br /&gt;
Assure la prise en charge du suivi des appels téléphonique( appels entrant et sortant).&lt;br /&gt;
&lt;br /&gt;
Une alerte lors d&#039;appel entrant contenant les liens vers les informations clients et/ou les informations du collaborateur appelé.&lt;br /&gt;
Historisation des appels dans les fiches de tiers et dans l&#039;agenda&lt;br /&gt;
&lt;br /&gt;
= Installation =&lt;br /&gt;
{{InstallModuleFr}}&lt;br /&gt;
&lt;br /&gt;
= Configuration =&lt;br /&gt;
{{ActivationModuleFr}}&lt;br /&gt;
&lt;br /&gt;
Ce module active et configure le module clicktodial de dolibarr déjà présent lors de l&#039;installation.&lt;br /&gt;
Une fois installé et configuré le module, il vous sera nécessaire de coupler dolibarr à votre fournisseur de service de téléphonie en voip.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Configuration du clicktocall ==&lt;br /&gt;
Ce module st natif dans dolibarr, sur la fiche de chaque utilisateur interne de dolibarr vous avez un onglet clicktocall.Il est nécessaire de renseigner les informations de connexion (login/pass/tel), et le numéro de téléphone utilisé.  &lt;br /&gt;
l&#039;url de déclenchement du click to call est défini pas le module calling, aussi il ne faut pas modifié les éléments de configuration du clicktocall &lt;br /&gt;
&lt;br /&gt;
== Configuration de la liaison avec votre provider de SIP ==&lt;br /&gt;
Le choix de votre fournisseur peut limiter l&#039;usage du module en fonction de l&#039;api de ce dernier. Ce module est fourni avec des sous module permettant d&#039;ajuster celui-ci à votre fournisseur.&lt;br /&gt;
Liste des fournisseur supporté à ce jour:&lt;br /&gt;
&lt;br /&gt;
 - Keyyo : Voir keyyo.fr - L&#039;api supporte les appels entrant et sortant&lt;br /&gt;
 - OVH : Voir Ovh.fr  - L&#039;api supporte les [[appels sortant]]&lt;br /&gt;
 - OVH + @Asterisk : extension du module ovh, ajoute la prise en charge des appels sortant par l’intermédiaire d&#039;un pbx privé. Nécessite d&#039;installer et configurer un serveur asterisk - L&#039;api supporte les appels entrant et sortant&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Liaison Agenda et action ==&lt;br /&gt;
&lt;br /&gt;
Ajouter une action dans le dictionnaire &amp;quot;liste des action&amp;quot; de la table 	llx_c_actioncomm, afin de lister les actions spécifique à la téléphonie; &lt;br /&gt;
&lt;br /&gt;
 - code : AC_TEL&lt;br /&gt;
 - Libellé : Phone call&lt;br /&gt;
 - type : system&lt;br /&gt;
&lt;br /&gt;
Cet ajout vous permet d&#039;exploiter le bouton du menu principal téléphonie, qui devrait limiter l&#039;affichage aux seuls événements de téléphonie.&lt;br /&gt;
&lt;br /&gt;
== Les options du modules ==&lt;br /&gt;
&lt;br /&gt;
===le mode d&#039;alerte ===&lt;br /&gt;
&lt;br /&gt;
Cette option vous permet de gérer le comportement lors des appels entrant; &lt;br /&gt;
&lt;br /&gt;
 - Pas de notification en popup;  aucune notification , vous pouvez dans ce cas choisir le module norun des sous module de notification&lt;br /&gt;
 - Seul les utilisateurs du poste appelé sont notifiés; n&#039;informe que l&#039;utilisateur dont le numéro est appelé. cette sélection prend en compte le numéro de poste configuré sur la fiche utilisateur, et le numéro de ligne défini  dans l&#039;onglet clicktocall&lt;br /&gt;
 - Tous les utilisateur configuré pour le clicktodial sont notifiés&lt;br /&gt;
 - Tous les utilisateurs sont notifiés&lt;br /&gt;
&lt;br /&gt;
=== comportement sur les numéro des collaborateurs et de l&#039;entreprise ===&lt;br /&gt;
Cette option règle le comportement lors de l&#039;appel entrant d&#039;un collaborateur (y compris avec sont numéro de mobile), appel interne, appel d&#039;un site externe.&lt;br /&gt;
&lt;br /&gt;
 - Ignorer les appels entrant des numéros utilisateurs de l&#039;entreprise (pro/perso/mobile); aucune notification ni trace dans les actions&lt;br /&gt;
 - Accepter et notifier sauf l&#039;utilisateur correspondant&lt;br /&gt;
&lt;br /&gt;
=== Information du collaborateur appelé ===&lt;br /&gt;
Affichage d&#039;information complémentaire sur le collaborateur réellement appelé par un tiers (basé sur le numero de téléphone contacté).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Création de fiche ===&lt;br /&gt;
Dans le cas d&#039;appel entrant, dont le numéro n&#039;est pas trouvé dans la base de donnée, une fiche peut être créer, avec comme nom le numéro de téléphone. &lt;br /&gt;
&lt;br /&gt;
 - Pas de création de fiche&lt;br /&gt;
 - Créer un tiers avec le numéro de l&#039;appelant&lt;br /&gt;
 - Créer un contact avec le numéro de l&#039;appelant&lt;br /&gt;
&lt;br /&gt;
=== Appel Anonyme ===&lt;br /&gt;
Peut créer une fiche pour les appels anonyme. &lt;br /&gt;
&lt;br /&gt;
=== Trace les appels ===&lt;br /&gt;
Tracer les appels dans les actions/agenda de dolibarr; Vous pouvez désactiver cette option.&lt;br /&gt;
&lt;br /&gt;
=== Utilisateur appel entrant ===&lt;br /&gt;
Pour gérer correctement la liaison dans les événement, il est nécessaire d&#039;ajuster le choix de l&#039;utilisateur à qui sera affecté l&#039;action . Il est souhaitable d&#039;ajouter un utilisateur a cette fin.&lt;br /&gt;
&lt;br /&gt;
= Utilisation =&lt;br /&gt;
&lt;br /&gt;
La manipulation et l&#039;utilisation de ce module reste simple, compte tenu qu&#039;il ne généré pas d&#039;action particulières. le clicktocall sur les numéro de téléphone vous assure la possibilité de lancer des appels en 1 clic. &#039;&#039;Attention toutefois les numéro de fax ce retrouvent aussi avec un liens de click to call&#039;&#039;. &lt;br /&gt;
&lt;br /&gt;
Lors d&#039;un appel entrant, en fonction de la configuration du mode d&#039;alerte, vous aurez une boite affichant le liens vers la fiche du contact et/ou de la société qui cherche à vous joindre. De plus les appels sont tracés dans l&#039;agenda.&lt;br /&gt;
&lt;br /&gt;
= Information Développement  =&lt;br /&gt;
&lt;br /&gt;
== Généralités ==&lt;br /&gt;
&lt;br /&gt;
Le fonctionnement du module s’appuie sur un fichier &amp;quot;calling.php&amp;quot; à la racine  public de dolibarr. Celui ci est donc accessible via http. Tous les appels de ce module transite par ce fichier, tant les appels entrant que les sortant.&lt;br /&gt;
Le module utilise une table de donnée supplémentaire (llx_calling ) afin de tracer les appels entrant, et l&#039;utilisateur  appelé. Un dossier calling est crée dans la dossier Documents afin de stocker des fichier javascript spécifique par utilisateur.&lt;br /&gt;
&lt;br /&gt;
== Sous Module de liaison vers api de voip ==&lt;br /&gt;
&lt;br /&gt;
Il est possible d&#039;ajouter et modifier les modules d&#039;interaction avec les api de VOIP.  les modules fournis assure une liaison vers des services precis, si vous utiliser une autre api, il sera necessaire de créer votre propre module de liaison.&lt;br /&gt;
&lt;br /&gt;
Le fichier d&#039;un module de gestion d&#039;api doit être nommé api_xxxx.php , ou xxxx représente le nom du fournisseur du service&lt;br /&gt;
&lt;br /&gt;
=== Émission d&#039;un appel  ===&lt;br /&gt;
Cette liaison exploite le module ClicktoCall. Il assure l’émission d&#039;un appel , qui une fois lancé fera sonner votre téléphone, et celui de l&#039;interlocuteur que vous appelez.&lt;br /&gt;
L&#039;utilisation du clicktodial complétera automatiquement la fiche action du tiers/contact.&lt;br /&gt;
&lt;br /&gt;
Pour la conservation des données, et l&#039;affichage du popup, un fichier est créer dans Documents/calling de dolibarr. Ce fichier assure le stockage des données temporaire. &lt;br /&gt;
&lt;br /&gt;
=== Réception d&#039;un appel  ===&lt;br /&gt;
Cette section un peu plus complexe sera très dépendante des service offert par l&#039;offre de VOIP à laquelle vous avez souscrit.&lt;br /&gt;
&lt;br /&gt;
L&#039;interception des appels, ne vous permettra pas de décrocher votre téléphone, mais vous proposera un popup de dialogue, vous fournissant le liens vers la fiche Tiers/contact correspondante, si celle ci existe dans la base de donnée.Dans le cas contraire, il sera possible de créer une fiche de tiers/contact basé sur le numéro de téléphone.&lt;br /&gt;
&lt;br /&gt;
Tous appel entrant viendra compléter la fiche action du tiers. En cas d&#039;appel non répondu, la tache restera ouverte. Dans le cas d&#039;un appel décroché, la tache sera clôturé.&lt;br /&gt;
&lt;br /&gt;
==== Configuration de l&#039;api tiers ====&lt;br /&gt;
&lt;br /&gt;
Il sera nécessaire pour rendre opérationnel la notification des appels entrant de préciser une URL de notification pour l&#039;api tiers, qui doit initier cette notification. Utiliser l&#039; URL entrant , afficher dans votre page de configuration . Celle ci étant générer par le module d&#039;une  api précise, les variables GET a remplacer, sont spécifique à ce fournisseur.&lt;br /&gt;
&lt;br /&gt;
PS: pour forcer la langue utiliser dans les éléments inséré du calendrier, ajouter le paramètre GET &amp;quot;lang=fr_FR&amp;quot;  à l&#039;url précisé chez votre fournisseur &lt;br /&gt;
===Note===&lt;br /&gt;
- Stockage des numéro de téléphone en base de donnée.&lt;br /&gt;
Pour pouvoir être extrait et reconnu, il est souhaitable d&#039;utiliser la nomenclature international / national des numéros.&lt;br /&gt;
02 35 98 63 65 ou 33 6 98 65 87 54 ou 002 65 98 32 78&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Élément de configuration d&#039;asterisk ===&lt;br /&gt;
&lt;br /&gt;
La configuration d&#039;&#039;&#039;&#039;asterisk&#039;&#039;&#039; reste un serveur &#039;&#039;&#039;complet et complexe&#039;&#039;&#039;, les possibilité sont énorme, aussi, je vous encourage à consulter les tuto spécialisés. N&#039;oubliez toutefois pas que les PBX sont très fortement attaqué, et que ceux si peuvent générer des coût important si votre serveur ce fait hacker ou est mal configuré, compte tenu qu&#039;il est une passerelle vers le réseau téléphonique, et ces tarifs variant (mobile, appel surtaxé, international, etc..). &lt;br /&gt;
Pour ma part, je n&#039;utilise asterisk que dans la prise en charge des appels entrants, les appels sortant exploitant l&#039;api d&#039;ovh via le click to call. Le module dolibarr calling d&#039;asterisk est conçut en ce sens. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Fichier extensions.conf ====&lt;br /&gt;
les éléments de configuration suivant parte du principe que vous avez installé un asterisk fonctionnel, et configuré votre liaison avec votre provider. Il ne font qu&#039;apporter les éléments de base pour l’interception des appel entrant et la notification vers dolibarr. &lt;br /&gt;
Il doivent renvoyer en même temps vers votre ligne sip.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Context appel entrant  =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
; appel entrant via numero provider&lt;br /&gt;
[process_entrant]&lt;br /&gt;
  exten =&amp;gt; _X.,1,NoOp()&lt;br /&gt;
  exten =&amp;gt;  _X.,n,Set(__DOLI_CALLER=${CUT(CUT(SIP_HEADER(From),@,1),:, 2)})&lt;br /&gt;
  exten =&amp;gt;  _X.,n,Set(__DOLI_CALLE=${CUT(CUT(SIP_HEADER(To),@,1),:, 2)})&lt;br /&gt;
&lt;br /&gt;
; REDIRECTION&lt;br /&gt;
exten =&amp;gt;  _X.,n,Goto(dolibarr_notification,s,1)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Context macro-notification  =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
; Doli&lt;br /&gt;
; macro pour event CONNECT&lt;br /&gt;
[macro-dolinotif]&lt;br /&gt;
exten =&amp;gt; s,1,SET(${CURL(http://votreserveur/calling/calling.php?account=${EXTEN}&amp;amp;caller=${DOLI_CALLER}&amp;amp;callee=${DOLI_CALLE}&amp;amp;type=CONNECT&amp;amp;callref=${DOLI_CALLER}&amp;amp;version=1)})&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Context notification  =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
; Doli&lt;br /&gt;
; Process&lt;br /&gt;
[dolibarr_notification]&lt;br /&gt;
; put notif SETUP&lt;br /&gt;
exten =&amp;gt; s,1,SET(CALLERID(name)=${CURL(http://votreserveur/calling/calling.php?account=${USERNAME}&amp;amp;caller=${DOLI_CALLER}&amp;amp;callee=${DOLI_CALLE}&amp;amp;type=SETUP&amp;amp;callref=${DOLI_CALLER}&amp;amp;version=1)})&lt;br /&gt;
exten =&amp;gt; s,n,Answer()&lt;br /&gt;
; option : r pour sonnerie d&#039;attente&lt;br /&gt;
; option : e Execute &amp;quot;h&amp;quot; as the peer when this call ends&lt;br /&gt;
; option : t T transphert appelant / appelé&lt;br /&gt;
; option : M() Macro&lt;br /&gt;
; option S() raccorche apres x seconde&lt;br /&gt;
exten =&amp;gt; s,n,Dial(SIP/votreposte, 60,etTrM(dolinotif))&lt;br /&gt;
; put notif RELEASE&lt;br /&gt;
exten =&amp;gt; h,1,SET(CALLERID(name)=${CURL(http://votreserveur/calling/calling.php?account=${USERNAME}&amp;amp;caller=${DOLI_CALLER}&amp;amp;callee=${DOLI_CALLE}&amp;amp;type=RELEASE&amp;amp;callref=${DOLI_CALLER}&amp;amp;version=1)})&lt;br /&gt;
exten =&amp;gt; h,2,Hangup(16)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Sous Module des notifications d&#039;appel entrant ==&lt;br /&gt;
&lt;br /&gt;
Les modules d&#039;alerte, sont les modules qui travaille en temps réel afin de vous informer des appels entrant. Il créer un affichage proposant les liens vers la fiche client/contact, et éventuellement celle du collaborateur initialement appelé. Plusieurs modules sont disponible en fonction des contextes d&#039;utilisation.&lt;br /&gt;
&lt;br /&gt;
 - Mod NoRun : Module d&#039;exemple, permettant de désactiver tout éléments JavaScript de notification des appels &lt;br /&gt;
 - Mod Simplejs : Module original de notification via un popup (modale box jquery) en pleine page. Destiné à l&#039;usage d&#039;un utilisateur unique de dolibarr. Basé sur un appel récurent en ajax.&lt;br /&gt;
 - Mod Advancedjs : Module de notification avancé, assurant un affichage non intrusif (lien menu haut droit, et détail appel entrant au click sur le lien).  Exploité en contexte mutli-utilisateurs. Basé sur un appel récurent en ajax.&lt;br /&gt;
 - Mode Nodejs : Module de notification avancé, il est identique en terme d&#039;affichage au module Advancedjs, mais exploite un serveur @nodejs complementaire afin de pousser les informations vers les client dolibarr.&lt;br /&gt;
 Il n&#039;y a aucun appel récurent en ajax. Il nécessite un serveur dedié, nodejs installé. le servelet et fourni dans le paquet. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Sous module Nodejs pre-requis===&lt;br /&gt;
&lt;br /&gt;
Ce sous module exploite la technologie node.js. Il est donc nécessaire que votre serveur qui héberge dolibarr, soit installé nodejs. Sans quoi, le sous module client de dolibarr ne fonctionnera pas. &lt;br /&gt;
&lt;br /&gt;
==== Servelet Nodejs ====&lt;br /&gt;
&lt;br /&gt;
les possibilité de configuration étant nombreuses, nous allons détailler rapidement une installation de base avec ces pre-requis pour ce servelet. &lt;br /&gt;
extraire le zip nodejsd dans votre dossier /var/nodejs&lt;br /&gt;
&lt;br /&gt;
le script d’exécution s&#039;appel index.js&lt;br /&gt;
&lt;br /&gt;
Il vous suffit de lancer&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 node /var/nodejs/index.js&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
pour que le script démarre. Si vous vous connecter à votre dolibarr (ayant activé le module client Nodejs), vous verrez alors le serveur vous informer le la connexion de l&#039;id de votre utilisateur. &lt;br /&gt;
&lt;br /&gt;
Pour lancer en production votre servelet, utilisé le fameux &amp;quot;&amp;amp;&amp;quot;, afin que votre servelet ne ce coupe pas lorsque vous vous déconnecterez du ssh.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt; node /var/nodejs/index.js &amp;amp; &amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Une fois installé et configuré votre servelet (voir fichier config.js), aller dans le panneau de configuration du module calling de dolibarr, activer le module nodejs, puis preciser l&#039;url et le port de votre servelet&lt;br /&gt;
&lt;br /&gt;
===Note===&lt;br /&gt;
Il est possible de moduler ce comportement avec  des module nommé alert_xxx.php&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Fix Version / Note version =&lt;br /&gt;
== 1.2.5 ==&lt;br /&gt;
 - Check process for Dolibarr 3.5.3&lt;br /&gt;
 - Fix link vs calendar in dolibarr &lt;br /&gt;
 - Fix translate for incoming calls&lt;br /&gt;
 - Fix advancedjs plugin for dispay popup , based on html dolibarr structure&lt;br /&gt;
&lt;br /&gt;
== 1.2.4 ==&lt;br /&gt;
 - Check process for Dolibarr 3.4.1&lt;br /&gt;
 - Fix display popup for all incoming  calls&lt;br /&gt;
&lt;br /&gt;
== 1.2.3 ==&lt;br /&gt;
 - Check and Fix process for Dolibarr 3.4.0&lt;br /&gt;
 - Add user for manipulate calendar and  incoming/outgoing calls&lt;/div&gt;</summary>
		<author><name>Oscim</name></author>
	</entry>
	<entry>
		<id>https://wiki.dolibarr.org/index.php?title=Module_Calling&amp;diff=32369</id>
		<title>Module Calling</title>
		<link rel="alternate" type="text/html" href="https://wiki.dolibarr.org/index.php?title=Module_Calling&amp;diff=32369"/>
		<updated>2014-06-13T14:28:54Z</updated>

		<summary type="html">&lt;p&gt;Oscim: /* Sous Module de liaison vers api de voip */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Modules complémentaires]]&lt;br /&gt;
{{TemplateDocDev}}&lt;br /&gt;
{{TemplateDocUtil}}&lt;br /&gt;
= Informations =&lt;br /&gt;
{{TemplateModuleInfo&lt;br /&gt;
|editor=Oscim &lt;br /&gt;
|web= http://oscim.fr&lt;br /&gt;
|status=stable&lt;br /&gt;
|prerequisites= module_clicktodial&lt;br /&gt;
|minversion=3.2.x&lt;br /&gt;
|note=&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
= Vocation =&lt;br /&gt;
Assure la prise en charge du suivi des appels téléphonique( appels entrant et sortant).&lt;br /&gt;
&lt;br /&gt;
Une alerte lors d&#039;appel entrant contenant les liens vers les informations clients et/ou les informations du collaborateur appelé.&lt;br /&gt;
Historisation des appels dans les fiches de tiers et dans l&#039;agenda&lt;br /&gt;
&lt;br /&gt;
= Installation =&lt;br /&gt;
{{InstallModuleFr}}&lt;br /&gt;
&lt;br /&gt;
= Configuration =&lt;br /&gt;
{{ActivationModuleFr}}&lt;br /&gt;
&lt;br /&gt;
Ce module active et configure le module clicktodial de dolibarr déjà présent lors de l&#039;installation.&lt;br /&gt;
Une fois installé et configuré le module, il vous sera nécessaire de coupler dolibarr à votre fournisseur de service de téléphonie en voip.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Configuration du clicktocall ==&lt;br /&gt;
Ce module st natif dans dolibarr, sur la fiche de chaque utilisateur interne de dolibarr vous avez un onglet clicktocall.Il est nécessaire de renseigner les informations de connexion (login/pass/tel), et le numéro de téléphone utilisé.  &lt;br /&gt;
l&#039;url de déclenchement du click to call est défini pas le module calling, aussi il ne faut pas modifié les éléments de configuration du clicktocall &lt;br /&gt;
&lt;br /&gt;
== Configuration de la liaison avec votre provider de SIP ==&lt;br /&gt;
Le choix de votre fournisseur peut limiter l&#039;usage du module en fonction de l&#039;api de ce dernier. Ce module est fourni avec des sous module permettant d&#039;ajuster celui-ci à votre fournisseur.&lt;br /&gt;
Liste des fournisseur supporté à ce jour:&lt;br /&gt;
&lt;br /&gt;
 - Keyyo : Voir keyyo.fr - L&#039;api supporte les appels entrant et sortant&lt;br /&gt;
 - OVH : Voir Ovh.fr  - L&#039;api supporte les [[appels sortant]]&lt;br /&gt;
 - OVH + @Asterisk : extension du module ovh, ajoute la prise en charge des appels sortant par l’intermédiaire d&#039;un pbx privé. Nécessite d&#039;installer et configurer un serveur asterisk - L&#039;api supporte les appels entrant et sortant&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Liaison Agenda et action ==&lt;br /&gt;
&lt;br /&gt;
Ajouter une action dans le dictionnaire &amp;quot;liste des action&amp;quot; de la table 	llx_c_actioncomm, afin de lister les actions spécifique à la téléphonie; &lt;br /&gt;
&lt;br /&gt;
 - code : AC_TEL&lt;br /&gt;
 - Libellé : Phone call&lt;br /&gt;
 - type : system&lt;br /&gt;
&lt;br /&gt;
Cet ajout vous permet d&#039;exploiter le bouton du menu principal téléphonie, qui devrait limiter l&#039;affichage aux seuls événements de téléphonie.&lt;br /&gt;
&lt;br /&gt;
== Les options du modules ==&lt;br /&gt;
&lt;br /&gt;
===le mode d&#039;alerte ===&lt;br /&gt;
&lt;br /&gt;
Cette option vous permet de gérer le comportement lors des appels entrant; &lt;br /&gt;
&lt;br /&gt;
 - Pas de notification en popup;  aucune notification , vous pouvez dans ce cas choisir le module norun des sous module de notification&lt;br /&gt;
 - Seul les utilisateurs du poste appelé sont notifiés; n&#039;informe que l&#039;utilisateur dont le numéro est appelé. cette sélection prend en compte le numéro de poste configuré sur la fiche utilisateur, et le numéro de ligne défini  dans l&#039;onglet clicktocall&lt;br /&gt;
 - Tous les utilisateur configuré pour le clicktodial sont notifiés&lt;br /&gt;
 - Tous les utilisateurs sont notifiés&lt;br /&gt;
&lt;br /&gt;
=== comportement sur les numéro des collaborateurs et de l&#039;entreprise ===&lt;br /&gt;
Cette option règle le comportement lors de l&#039;appel entrant d&#039;un collaborateur (y compris avec sont numéro de mobile), appel interne, appel d&#039;un site externe.&lt;br /&gt;
&lt;br /&gt;
 - Ignorer les appels entrant des numéros utilisateurs de l&#039;entreprise (pro/perso/mobile); aucune notification ni trace dans les actions&lt;br /&gt;
 - Accepter et notifier sauf l&#039;utilisateur correspondant&lt;br /&gt;
&lt;br /&gt;
=== Information du collaborateur appelé ===&lt;br /&gt;
Affichage d&#039;information complémentaire sur le collaborateur réellement appelé par un tiers (basé sur le numero de téléphone contacté).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Création de fiche ===&lt;br /&gt;
Dans le cas d&#039;appel entrant, dont le numéro n&#039;est pas trouvé dans la base de donnée, une fiche peut être créer, avec comme nom le numéro de téléphone. &lt;br /&gt;
&lt;br /&gt;
 - Pas de création de fiche&lt;br /&gt;
 - Créer un tiers avec le numéro de l&#039;appelant&lt;br /&gt;
 - Créer un contact avec le numéro de l&#039;appelant&lt;br /&gt;
&lt;br /&gt;
=== Appel Anonyme ===&lt;br /&gt;
Peut créer une fiche pour les appels anonyme. &lt;br /&gt;
&lt;br /&gt;
=== Trace les appels ===&lt;br /&gt;
Tracer les appels dans les actions/agenda de dolibarr; Vous pouvez désactiver cette option.&lt;br /&gt;
&lt;br /&gt;
=== Utilisateur appel entrant ===&lt;br /&gt;
Pour gérer correctement la liaison dans les événement, il est nécessaire d&#039;ajuster le choix de l&#039;utilisateur à qui sera affecté l&#039;action . Il est souhaitable d&#039;ajouter un utilisateur a cette fin.&lt;br /&gt;
&lt;br /&gt;
= Utilisation =&lt;br /&gt;
&lt;br /&gt;
La manipulation et l&#039;utilisation de ce module reste simple, compte tenu qu&#039;il ne généré pas d&#039;action particulières. le clicktocall sur les numéro de téléphone vous assure la possibilité de lancer des appels en 1 clic. &#039;&#039;Attention toutefois les numéro de fax ce retrouvent aussi avec un liens de click to call&#039;&#039;. &lt;br /&gt;
&lt;br /&gt;
Lors d&#039;un appel entrant, en fonction de la configuration du mode d&#039;alerte, vous aurez une boite affichant le liens vers la fiche du contact et/ou de la société qui cherche à vous joindre. De plus les appels sont tracés dans l&#039;agenda.&lt;br /&gt;
&lt;br /&gt;
= Information Développement  =&lt;br /&gt;
&lt;br /&gt;
== Généralités ==&lt;br /&gt;
&lt;br /&gt;
Le fonctionnement du module s’appuie sur un fichier &amp;quot;calling.php&amp;quot; à la racine  public de dolibarr. Celui ci est donc accessible via http. Tous les appels de ce module transite par ce fichier, tant les appels entrant que les sortant.&lt;br /&gt;
Le module utilise une table de donnée supplémentaire (llx_calling ) afin de tracer les appels entrant, et l&#039;utilisateur  appelé. Un dossier calling est crée dans la dossier Documents afin de stocker des fichier javascript spécifique par utilisateur.&lt;br /&gt;
&lt;br /&gt;
== Sous Module de liaison vers api de voip ==&lt;br /&gt;
&lt;br /&gt;
Il est possible d&#039;ajouter et modifier les modules d&#039;interaction avec les api de VOIP.  les modules fournis assure une liaison vers des services precis, si vous utiliser une autre api, il sera necessaire de créer votre propre module de liaison.&lt;br /&gt;
&lt;br /&gt;
Le fichier d&#039;un module de gestion d&#039;api doit être nommé api_xxxx.php , ou xxxx représente le nom du fournisseur du service&lt;br /&gt;
&lt;br /&gt;
=== Émission d&#039;un appel  ===&lt;br /&gt;
Cette liaison exploite le module ClicktoCall. Il assure l’émission d&#039;un appel , qui une fois lancé fera sonner votre téléphone, et celui de l&#039;interlocuteur que vous appelez.&lt;br /&gt;
L&#039;utilisation du clicktodial complétera automatiquement la fiche action du tiers/contact.&lt;br /&gt;
&lt;br /&gt;
Pour la conservation des données, et l&#039;affichage du popup, un fichier est créer dans Documents/calling de dolibarr. Ce fichier assure le stockage des données temporaire. &lt;br /&gt;
&lt;br /&gt;
=== Réception d&#039;un appel  ===&lt;br /&gt;
Cette section un peu plus complexe sera très dépendante des service offert par l&#039;offre de VOIP à laquelle vous avez souscrit.&lt;br /&gt;
&lt;br /&gt;
L&#039;interception des appels, ne vous permettra pas de décrocher votre téléphone, mais vous proposera un popup de dialogue, vous fournissant le liens vers la fiche Tiers/contact correspondante, si celle ci existe dans la base de donnée.Dans le cas contraire, il sera possible de créer une fiche de tiers/contact basé sur le numéro de téléphone.&lt;br /&gt;
&lt;br /&gt;
Tous appel entrant viendra compléter la fiche action du tiers. En cas d&#039;appel non répondu, la tache restera ouverte. Dans le cas d&#039;un appel décroché, la tache sera clôturé.&lt;br /&gt;
&lt;br /&gt;
==== Configuration de l&#039;api tiers ====&lt;br /&gt;
&lt;br /&gt;
Il sera nécessaire pour rendre opérationnel la notification des appels entrant de préciser une URL de notification pour l&#039;api tiers, qui doit initier cette notification. Utiliser l&#039; URL entrant , afficher dans votre page de configuration . Celle ci étant générer par le module d&#039;une  api précise, les variables GET a remplacer, sont spécifique à ce fournisseur.&lt;br /&gt;
&lt;br /&gt;
PS: pour forcer la langue utiliser dans les éléments inséré du calendrier, ajouter le paramètre GET &amp;quot;lang=fr_FR&amp;quot;  à l&#039;url précisé chez votre fournisseur &lt;br /&gt;
===Note===&lt;br /&gt;
- Stockage des numéro de téléphone en base de donnée.&lt;br /&gt;
Pour pouvoir être extrait et reconnu, il est souhaitable d&#039;utiliser la nomenclature international / national des numéros.&lt;br /&gt;
02 35 98 63 65 ou 33 6 98 65 87 54 ou 002 65 98 32 78&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Élément de configuration d&#039;asterisk ===&lt;br /&gt;
&lt;br /&gt;
La configuration d&#039;&#039;&#039;&#039;asterisk&#039;&#039;&#039; reste un serveur &#039;&#039;&#039;complet et complexe&#039;&#039;&#039;, les possibilité sont énorme, aussi, je vous encourage à consulter les tuto spécialisés. N&#039;oubliez toutefois pas que les PBX sont très fortement attaqué, et que ceux si peuvent générer des coût important si votre serveur ce fait hacker ou est mal configuré, compte tenu qu&#039;il est une passerelle vers le réseau téléphonique, et ces tarifs variant (mobile, appel surtaxé, international, etc..). &lt;br /&gt;
Pour ma part, je n&#039;utilise asterisk que dans la prise en charge des appels entrants, les appels sortant exploitant l&#039;api d&#039;ovh via le click to call. Le module dolibarr calling d&#039;asterisk est conçut en ce sens. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Fichier extensions.conf ====&lt;br /&gt;
les éléments de configuration suivant parte du principe que vous avez installé un asterisk fonctionnel, et configuré votre liaison avec votre provider. Il ne font qu&#039;apporter les éléments de base pour l’interception des appel entrant et la notification vers dolibarr. &lt;br /&gt;
Il doivent renvoyer en même temps vers votre ligne sip.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Context appel entrant  =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
; appel entrant via numero provider&lt;br /&gt;
[process_entrant]&lt;br /&gt;
  exten =&amp;gt; _X.,1,NoOp()&lt;br /&gt;
  exten =&amp;gt;  _X.,n,Set(__DOLI_CALLER=${CUT(CUT(SIP_HEADER(From),@,1),:, 2)})&lt;br /&gt;
  exten =&amp;gt;  _X.,n,Set(__DOLI_CALLE=${CUT(CUT(SIP_HEADER(To),@,1),:, 2)})&lt;br /&gt;
&lt;br /&gt;
; REDIRECTION&lt;br /&gt;
exten =&amp;gt;  _X.,n,Goto(dolibarr_notification,s,1)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Context macro-notification  =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
; Doli&lt;br /&gt;
; macro pour event CONNECT&lt;br /&gt;
[macro-dolinotif]&lt;br /&gt;
exten =&amp;gt; s,1,SET(${CURL(http://votreserveur/calling/calling.php?account=${EXTEN}&amp;amp;caller=${DOLI_CALLER}&amp;amp;callee=${DOLI_CALLE}&amp;amp;type=CONNECT&amp;amp;callref=${DOLI_CALLER}&amp;amp;version=1)})&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Context notification  =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
; Doli&lt;br /&gt;
; Process&lt;br /&gt;
[dolibarr_notification]&lt;br /&gt;
; put notif SETUP&lt;br /&gt;
exten =&amp;gt; s,1,SET(CALLERID(name)=${CURL(http://votreserveur/calling/calling.php?account=${USERNAME}&amp;amp;caller=${DOLI_CALLER}&amp;amp;callee=${DOLI_CALLE}&amp;amp;type=SETUP&amp;amp;callref=${DOLI_CALLER}&amp;amp;version=1)})&lt;br /&gt;
exten =&amp;gt; s,n,Answer()&lt;br /&gt;
; option : r pour sonnerie d&#039;attente&lt;br /&gt;
; option : e Execute &amp;quot;h&amp;quot; as the peer when this call ends&lt;br /&gt;
; option : t T transphert appelant / appelé&lt;br /&gt;
; option : M() Macro&lt;br /&gt;
; option S() raccorche apres x seconde&lt;br /&gt;
exten =&amp;gt; s,n,Dial(SIP/votreposte, 60,etTrM(dolinotif))&lt;br /&gt;
; put notif RELEASE&lt;br /&gt;
exten =&amp;gt; h,1,SET(CALLERID(name)=${CURL(http://votreserveur/calling/calling.php?account=${USERNAME}&amp;amp;caller=${DOLI_CALLER}&amp;amp;callee=${DOLI_CALLE}&amp;amp;type=RELEASE&amp;amp;callref=${DOLI_CALLER}&amp;amp;version=1)})&lt;br /&gt;
exten =&amp;gt; h,2,Hangup(16)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Sous Module des notifications d&#039;appel entrant ==&lt;br /&gt;
&lt;br /&gt;
Les modules d&#039;alerte, sont les modules qui travaille en temps réel afin de vous informer des appels entrant. Il créer un affichage proposant les liens vers la fiche client/contact, et éventuellement celle du collaborateur initialement appelé. Plusieurs modules sont disponible en fonction des contextes d&#039;utilisation.&lt;br /&gt;
&lt;br /&gt;
 - Mod NoRun : Module d&#039;exemple, permettant de désactiver tout éléments JavaScript de notification des appels &lt;br /&gt;
 - Mod Simplejs : Module original de notification via un popup (modale box jquery) en pleine page. Destiné à l&#039;usage d&#039;un utilisateur unique de dolibarr. Basé sur un appel récurent en ajax.&lt;br /&gt;
 - Mod Advancedjs : Module de notification avancé, assurant un affichage non intrusif (lien menu haut droit, et détail appel entrant au click sur le lien).  Exploité en contexte mutli-utilisateurs. Basé sur un appel récurent en ajax.&lt;br /&gt;
 - Mode Nodejs : Module de notification avancé, il est identique en terme d&#039;affichage au module Advancedjs, mais exploite un serveur @nodejs complementaire afin de pousser les informations vers les client dolibarr.&lt;br /&gt;
 Il n&#039;y a aucun appel récurent en ajax. Il nécessite un serveur dedié, nodejs installé. le servelet et fourni dans le paquet. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Sous module Nodejs pre-requis===&lt;br /&gt;
&lt;br /&gt;
Ce sous module exploite la technologie node.js. Il est donc nécessaire que votre serveur qui héberge dolibarr, soit installé nodejs. Sans quoi, le sous module client de dolibarr ne fonctionnera pas. &lt;br /&gt;
&lt;br /&gt;
==== Servelet Nodejs ====&lt;br /&gt;
&lt;br /&gt;
les possibilité de configuration étant nombreuses, nous allons détailler rapidement une installation de base avec ces pre-requis pour ce servelet. &lt;br /&gt;
extraire le zip nodejsd dans votre dossier /var/nodejs&lt;br /&gt;
&lt;br /&gt;
le script d’exécution s&#039;appel index.js&lt;br /&gt;
&lt;br /&gt;
Il vous suffit de lancer&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 node /var/nodejs/index.js&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
pour que le script démarre. Si vous vous connecter à votre dolibarr (ayant activé le module client Nodejs), vous verrez alors le serveur vous informer le la connexion de l&#039;id de votre utilisateur. &lt;br /&gt;
&lt;br /&gt;
Pour lancer en production votre servelet, utilisé le fameux &amp;quot;&amp;amp;&amp;quot;, afin que votre servelet ne ce coupe pas lorsque vous vous déconnecterez du ssh.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt; node /var/nodejs/index.js &amp;amp; &amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Une fois installé et configuré votre servelet (voir fichier config.js), aller dans le panneau de configuration du module calling de dolibarr, activer le module nodejs, puis preciser l&#039;url et le port de votre servelet&lt;br /&gt;
&lt;br /&gt;
===Note===&lt;br /&gt;
Il est possible de moduler ce comportement avec  des module nommé alert_xxx.php&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Fix Version / Note version =&lt;br /&gt;
== 1.2.5 ==&lt;br /&gt;
 - Check process for Dolibarr 3.5.3&lt;br /&gt;
 - Fix link vs calendar in dolibarr &lt;br /&gt;
 - Fix translate for incoming calls&lt;br /&gt;
&lt;br /&gt;
== 1.2.4 ==&lt;br /&gt;
 - Check process for Dolibarr 3.4.1&lt;br /&gt;
 - Fix display popup for all incoming  calls&lt;br /&gt;
&lt;br /&gt;
== 1.2.3 ==&lt;br /&gt;
 - Check and Fix process for Dolibarr 3.4.0&lt;br /&gt;
 - Add user for manipulate calendar and  incoming/outgoing calls&lt;/div&gt;</summary>
		<author><name>Oscim</name></author>
	</entry>
	<entry>
		<id>https://wiki.dolibarr.org/index.php?title=Module_Calling&amp;diff=32368</id>
		<title>Module Calling</title>
		<link rel="alternate" type="text/html" href="https://wiki.dolibarr.org/index.php?title=Module_Calling&amp;diff=32368"/>
		<updated>2014-06-13T14:27:13Z</updated>

		<summary type="html">&lt;p&gt;Oscim: /* Fix Version / Note version */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Modules complémentaires]]&lt;br /&gt;
{{TemplateDocDev}}&lt;br /&gt;
{{TemplateDocUtil}}&lt;br /&gt;
= Informations =&lt;br /&gt;
{{TemplateModuleInfo&lt;br /&gt;
|editor=Oscim &lt;br /&gt;
|web= http://oscim.fr&lt;br /&gt;
|status=stable&lt;br /&gt;
|prerequisites= module_clicktodial&lt;br /&gt;
|minversion=3.2.x&lt;br /&gt;
|note=&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
= Vocation =&lt;br /&gt;
Assure la prise en charge du suivi des appels téléphonique( appels entrant et sortant).&lt;br /&gt;
&lt;br /&gt;
Une alerte lors d&#039;appel entrant contenant les liens vers les informations clients et/ou les informations du collaborateur appelé.&lt;br /&gt;
Historisation des appels dans les fiches de tiers et dans l&#039;agenda&lt;br /&gt;
&lt;br /&gt;
= Installation =&lt;br /&gt;
{{InstallModuleFr}}&lt;br /&gt;
&lt;br /&gt;
= Configuration =&lt;br /&gt;
{{ActivationModuleFr}}&lt;br /&gt;
&lt;br /&gt;
Ce module active et configure le module clicktodial de dolibarr déjà présent lors de l&#039;installation.&lt;br /&gt;
Une fois installé et configuré le module, il vous sera nécessaire de coupler dolibarr à votre fournisseur de service de téléphonie en voip.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Configuration du clicktocall ==&lt;br /&gt;
Ce module st natif dans dolibarr, sur la fiche de chaque utilisateur interne de dolibarr vous avez un onglet clicktocall.Il est nécessaire de renseigner les informations de connexion (login/pass/tel), et le numéro de téléphone utilisé.  &lt;br /&gt;
l&#039;url de déclenchement du click to call est défini pas le module calling, aussi il ne faut pas modifié les éléments de configuration du clicktocall &lt;br /&gt;
&lt;br /&gt;
== Configuration de la liaison avec votre provider de SIP ==&lt;br /&gt;
Le choix de votre fournisseur peut limiter l&#039;usage du module en fonction de l&#039;api de ce dernier. Ce module est fourni avec des sous module permettant d&#039;ajuster celui-ci à votre fournisseur.&lt;br /&gt;
Liste des fournisseur supporté à ce jour:&lt;br /&gt;
&lt;br /&gt;
 - Keyyo : Voir keyyo.fr - L&#039;api supporte les appels entrant et sortant&lt;br /&gt;
 - OVH : Voir Ovh.fr  - L&#039;api supporte les [[appels sortant]]&lt;br /&gt;
 - OVH + @Asterisk : extension du module ovh, ajoute la prise en charge des appels sortant par l’intermédiaire d&#039;un pbx privé. Nécessite d&#039;installer et configurer un serveur asterisk - L&#039;api supporte les appels entrant et sortant&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Liaison Agenda et action ==&lt;br /&gt;
&lt;br /&gt;
Ajouter une action dans le dictionnaire &amp;quot;liste des action&amp;quot; de la table 	llx_c_actioncomm, afin de lister les actions spécifique à la téléphonie; &lt;br /&gt;
&lt;br /&gt;
 - code : AC_TEL&lt;br /&gt;
 - Libellé : Phone call&lt;br /&gt;
 - type : system&lt;br /&gt;
&lt;br /&gt;
Cet ajout vous permet d&#039;exploiter le bouton du menu principal téléphonie, qui devrait limiter l&#039;affichage aux seuls événements de téléphonie.&lt;br /&gt;
&lt;br /&gt;
== Les options du modules ==&lt;br /&gt;
&lt;br /&gt;
===le mode d&#039;alerte ===&lt;br /&gt;
&lt;br /&gt;
Cette option vous permet de gérer le comportement lors des appels entrant; &lt;br /&gt;
&lt;br /&gt;
 - Pas de notification en popup;  aucune notification , vous pouvez dans ce cas choisir le module norun des sous module de notification&lt;br /&gt;
 - Seul les utilisateurs du poste appelé sont notifiés; n&#039;informe que l&#039;utilisateur dont le numéro est appelé. cette sélection prend en compte le numéro de poste configuré sur la fiche utilisateur, et le numéro de ligne défini  dans l&#039;onglet clicktocall&lt;br /&gt;
 - Tous les utilisateur configuré pour le clicktodial sont notifiés&lt;br /&gt;
 - Tous les utilisateurs sont notifiés&lt;br /&gt;
&lt;br /&gt;
=== comportement sur les numéro des collaborateurs et de l&#039;entreprise ===&lt;br /&gt;
Cette option règle le comportement lors de l&#039;appel entrant d&#039;un collaborateur (y compris avec sont numéro de mobile), appel interne, appel d&#039;un site externe.&lt;br /&gt;
&lt;br /&gt;
 - Ignorer les appels entrant des numéros utilisateurs de l&#039;entreprise (pro/perso/mobile); aucune notification ni trace dans les actions&lt;br /&gt;
 - Accepter et notifier sauf l&#039;utilisateur correspondant&lt;br /&gt;
&lt;br /&gt;
=== Information du collaborateur appelé ===&lt;br /&gt;
Affichage d&#039;information complémentaire sur le collaborateur réellement appelé par un tiers (basé sur le numero de téléphone contacté).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Création de fiche ===&lt;br /&gt;
Dans le cas d&#039;appel entrant, dont le numéro n&#039;est pas trouvé dans la base de donnée, une fiche peut être créer, avec comme nom le numéro de téléphone. &lt;br /&gt;
&lt;br /&gt;
 - Pas de création de fiche&lt;br /&gt;
 - Créer un tiers avec le numéro de l&#039;appelant&lt;br /&gt;
 - Créer un contact avec le numéro de l&#039;appelant&lt;br /&gt;
&lt;br /&gt;
=== Appel Anonyme ===&lt;br /&gt;
Peut créer une fiche pour les appels anonyme. &lt;br /&gt;
&lt;br /&gt;
=== Trace les appels ===&lt;br /&gt;
Tracer les appels dans les actions/agenda de dolibarr; Vous pouvez désactiver cette option.&lt;br /&gt;
&lt;br /&gt;
=== Utilisateur appel entrant ===&lt;br /&gt;
Pour gérer correctement la liaison dans les événement, il est nécessaire d&#039;ajuster le choix de l&#039;utilisateur à qui sera affecté l&#039;action . Il est souhaitable d&#039;ajouter un utilisateur a cette fin.&lt;br /&gt;
&lt;br /&gt;
= Utilisation =&lt;br /&gt;
&lt;br /&gt;
La manipulation et l&#039;utilisation de ce module reste simple, compte tenu qu&#039;il ne généré pas d&#039;action particulières. le clicktocall sur les numéro de téléphone vous assure la possibilité de lancer des appels en 1 clic. &#039;&#039;Attention toutefois les numéro de fax ce retrouvent aussi avec un liens de click to call&#039;&#039;. &lt;br /&gt;
&lt;br /&gt;
Lors d&#039;un appel entrant, en fonction de la configuration du mode d&#039;alerte, vous aurez une boite affichant le liens vers la fiche du contact et/ou de la société qui cherche à vous joindre. De plus les appels sont tracés dans l&#039;agenda.&lt;br /&gt;
&lt;br /&gt;
= Information Développement  =&lt;br /&gt;
&lt;br /&gt;
== Généralités ==&lt;br /&gt;
&lt;br /&gt;
Le fonctionnement du module s’appuie sur un fichier &amp;quot;calling.php&amp;quot; à la racine  public de dolibarr. Celui ci est donc accessible via http. Tous les appels de ce module transite par ce fichier, tant les appels entrant que les sortant.&lt;br /&gt;
Le module utilise une table de donnée supplémentaire (llx_calling ) afin de tracer les appels entrant, et l&#039;utilisateur  appelé. Un dossier calling est crée dans la dossier Documents afin de stocker des fichier javascript spécifique par utilisateur.&lt;br /&gt;
&lt;br /&gt;
== Sous Module de liaison vers api de voip ==&lt;br /&gt;
&lt;br /&gt;
Il est possible d&#039;ajouter et modifier les modules d&#039;interaction avec les api de VOIP.  les modules fournis assure une liaison vers des services precis, si vous utiliser une autre api, il sera necessaire de créer votre propre module de liaison.&lt;br /&gt;
&lt;br /&gt;
Le fichier d&#039;un module de gestion d&#039;api doit être nommé api_xxxx.php , ou xxxx représente le nom du fournisseur du service&lt;br /&gt;
&lt;br /&gt;
=== Émission d&#039;un appel  ===&lt;br /&gt;
Cette liaison exploite le module ClicktoCall. Il assure l’émission d&#039;un appel , qui une fois lancé fera sonner votre téléphone, et celui de l&#039;interlocuteur que vous appelez.&lt;br /&gt;
L&#039;utilisation du clicktodial complétera automatiquement la fiche action du tiers/contact.&lt;br /&gt;
&lt;br /&gt;
Pour la conservation des données, et l&#039;affichage du popup, un fichier est créer dans Documents/calling de dolibarr. Ce fichier assure le stockage des données temporaire. &lt;br /&gt;
&lt;br /&gt;
=== Réception d&#039;un appel  ===&lt;br /&gt;
Cette section un peu plus complexe sera très dépendante des service offert par l&#039;offre de VOIP à laquelle vous avez souscrit.&lt;br /&gt;
&lt;br /&gt;
L&#039;interception des appels, ne vous permettra pas de décrocher votre téléphone, mais vous proposera un popup de dialogue, vous fournissant le liens vers la fiche Tiers/contact correspondante, si celle ci existe dans la base de donnée.Dans le cas contraire, il sera possible de créer une fiche de tiers/contact basé sur le numéro de téléphone.&lt;br /&gt;
&lt;br /&gt;
Tous appel entrant viendra compléter la fiche action du tiers. En cas d&#039;appel non répondu, la tache restera ouverte. Dans le cas d&#039;un appel décroché, la tache sera clôturé.&lt;br /&gt;
&lt;br /&gt;
==== Configuration de l&#039;api tiers ====&lt;br /&gt;
&lt;br /&gt;
Il sera nécessaire pour rendre opérationnel la notification des appels entrant de préciser une URL de notification pour l&#039;api tiers, qui doit initier cette notification. Utiliser l&#039; URL entrant , afficher dans votre page de configuration . Celle ci étant générer par le module d&#039;une  api précise, les variables GET a remplacer, sont spécifique à ce fournisseur.&lt;br /&gt;
&lt;br /&gt;
===Note===&lt;br /&gt;
- Stockage des numéro de téléphone en base de donnée.&lt;br /&gt;
Pour pouvoir être extrait et reconnu, il est souhaitable d&#039;utiliser la nomenclature international / national des numéros.&lt;br /&gt;
02 35 98 63 65 ou 33 6 98 65 87 54 ou 002 65 98 32 78&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Élément de configuration d&#039;asterisk ===&lt;br /&gt;
&lt;br /&gt;
La configuration d&#039;&#039;&#039;&#039;asterisk&#039;&#039;&#039; reste un serveur &#039;&#039;&#039;complet et complexe&#039;&#039;&#039;, les possibilité sont énorme, aussi, je vous encourage à consulter les tuto spécialisés. N&#039;oubliez toutefois pas que les PBX sont très fortement attaqué, et que ceux si peuvent générer des coût important si votre serveur ce fait hacker ou est mal configuré, compte tenu qu&#039;il est une passerelle vers le réseau téléphonique, et ces tarifs variant (mobile, appel surtaxé, international, etc..). &lt;br /&gt;
Pour ma part, je n&#039;utilise asterisk que dans la prise en charge des appels entrants, les appels sortant exploitant l&#039;api d&#039;ovh via le click to call. Le module dolibarr calling d&#039;asterisk est conçut en ce sens. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Fichier extensions.conf ====&lt;br /&gt;
les éléments de configuration suivant parte du principe que vous avez installé un asterisk fonctionnel, et configuré votre liaison avec votre provider. Il ne font qu&#039;apporter les éléments de base pour l’interception des appel entrant et la notification vers dolibarr. &lt;br /&gt;
Il doivent renvoyer en même temps vers votre ligne sip.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Context appel entrant  =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
; appel entrant via numero provider&lt;br /&gt;
[process_entrant]&lt;br /&gt;
  exten =&amp;gt; _X.,1,NoOp()&lt;br /&gt;
  exten =&amp;gt;  _X.,n,Set(__DOLI_CALLER=${CUT(CUT(SIP_HEADER(From),@,1),:, 2)})&lt;br /&gt;
  exten =&amp;gt;  _X.,n,Set(__DOLI_CALLE=${CUT(CUT(SIP_HEADER(To),@,1),:, 2)})&lt;br /&gt;
&lt;br /&gt;
; REDIRECTION&lt;br /&gt;
exten =&amp;gt;  _X.,n,Goto(dolibarr_notification,s,1)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Context macro-notification  =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
; Doli&lt;br /&gt;
; macro pour event CONNECT&lt;br /&gt;
[macro-dolinotif]&lt;br /&gt;
exten =&amp;gt; s,1,SET(${CURL(http://votreserveur/calling/calling.php?account=${EXTEN}&amp;amp;caller=${DOLI_CALLER}&amp;amp;callee=${DOLI_CALLE}&amp;amp;type=CONNECT&amp;amp;callref=${DOLI_CALLER}&amp;amp;version=1)})&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Context notification  =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
; Doli&lt;br /&gt;
; Process&lt;br /&gt;
[dolibarr_notification]&lt;br /&gt;
; put notif SETUP&lt;br /&gt;
exten =&amp;gt; s,1,SET(CALLERID(name)=${CURL(http://votreserveur/calling/calling.php?account=${USERNAME}&amp;amp;caller=${DOLI_CALLER}&amp;amp;callee=${DOLI_CALLE}&amp;amp;type=SETUP&amp;amp;callref=${DOLI_CALLER}&amp;amp;version=1)})&lt;br /&gt;
exten =&amp;gt; s,n,Answer()&lt;br /&gt;
; option : r pour sonnerie d&#039;attente&lt;br /&gt;
; option : e Execute &amp;quot;h&amp;quot; as the peer when this call ends&lt;br /&gt;
; option : t T transphert appelant / appelé&lt;br /&gt;
; option : M() Macro&lt;br /&gt;
; option S() raccorche apres x seconde&lt;br /&gt;
exten =&amp;gt; s,n,Dial(SIP/votreposte, 60,etTrM(dolinotif))&lt;br /&gt;
; put notif RELEASE&lt;br /&gt;
exten =&amp;gt; h,1,SET(CALLERID(name)=${CURL(http://votreserveur/calling/calling.php?account=${USERNAME}&amp;amp;caller=${DOLI_CALLER}&amp;amp;callee=${DOLI_CALLE}&amp;amp;type=RELEASE&amp;amp;callref=${DOLI_CALLER}&amp;amp;version=1)})&lt;br /&gt;
exten =&amp;gt; h,2,Hangup(16)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Sous Module des notifications d&#039;appel entrant ==&lt;br /&gt;
&lt;br /&gt;
Les modules d&#039;alerte, sont les modules qui travaille en temps réel afin de vous informer des appels entrant. Il créer un affichage proposant les liens vers la fiche client/contact, et éventuellement celle du collaborateur initialement appelé. Plusieurs modules sont disponible en fonction des contextes d&#039;utilisation.&lt;br /&gt;
&lt;br /&gt;
 - Mod NoRun : Module d&#039;exemple, permettant de désactiver tout éléments JavaScript de notification des appels &lt;br /&gt;
 - Mod Simplejs : Module original de notification via un popup (modale box jquery) en pleine page. Destiné à l&#039;usage d&#039;un utilisateur unique de dolibarr. Basé sur un appel récurent en ajax.&lt;br /&gt;
 - Mod Advancedjs : Module de notification avancé, assurant un affichage non intrusif (lien menu haut droit, et détail appel entrant au click sur le lien).  Exploité en contexte mutli-utilisateurs. Basé sur un appel récurent en ajax.&lt;br /&gt;
 - Mode Nodejs : Module de notification avancé, il est identique en terme d&#039;affichage au module Advancedjs, mais exploite un serveur @nodejs complementaire afin de pousser les informations vers les client dolibarr.&lt;br /&gt;
 Il n&#039;y a aucun appel récurent en ajax. Il nécessite un serveur dedié, nodejs installé. le servelet et fourni dans le paquet. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Sous module Nodejs pre-requis===&lt;br /&gt;
&lt;br /&gt;
Ce sous module exploite la technologie node.js. Il est donc nécessaire que votre serveur qui héberge dolibarr, soit installé nodejs. Sans quoi, le sous module client de dolibarr ne fonctionnera pas. &lt;br /&gt;
&lt;br /&gt;
==== Servelet Nodejs ====&lt;br /&gt;
&lt;br /&gt;
les possibilité de configuration étant nombreuses, nous allons détailler rapidement une installation de base avec ces pre-requis pour ce servelet. &lt;br /&gt;
extraire le zip nodejsd dans votre dossier /var/nodejs&lt;br /&gt;
&lt;br /&gt;
le script d’exécution s&#039;appel index.js&lt;br /&gt;
&lt;br /&gt;
Il vous suffit de lancer&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 node /var/nodejs/index.js&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
pour que le script démarre. Si vous vous connecter à votre dolibarr (ayant activé le module client Nodejs), vous verrez alors le serveur vous informer le la connexion de l&#039;id de votre utilisateur. &lt;br /&gt;
&lt;br /&gt;
Pour lancer en production votre servelet, utilisé le fameux &amp;quot;&amp;amp;&amp;quot;, afin que votre servelet ne ce coupe pas lorsque vous vous déconnecterez du ssh.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt; node /var/nodejs/index.js &amp;amp; &amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Une fois installé et configuré votre servelet (voir fichier config.js), aller dans le panneau de configuration du module calling de dolibarr, activer le module nodejs, puis preciser l&#039;url et le port de votre servelet&lt;br /&gt;
&lt;br /&gt;
===Note===&lt;br /&gt;
Il est possible de moduler ce comportement avec  des module nommé alert_xxx.php&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Fix Version / Note version =&lt;br /&gt;
== 1.2.5 ==&lt;br /&gt;
 - Check process for Dolibarr 3.5.3&lt;br /&gt;
 - Fix link vs calendar in dolibarr &lt;br /&gt;
 - Fix translate for incoming calls&lt;br /&gt;
&lt;br /&gt;
== 1.2.4 ==&lt;br /&gt;
 - Check process for Dolibarr 3.4.1&lt;br /&gt;
 - Fix display popup for all incoming  calls&lt;br /&gt;
&lt;br /&gt;
== 1.2.3 ==&lt;br /&gt;
 - Check and Fix process for Dolibarr 3.4.0&lt;br /&gt;
 - Add user for manipulate calendar and  incoming/outgoing calls&lt;/div&gt;</summary>
		<author><name>Oscim</name></author>
	</entry>
	<entry>
		<id>https://wiki.dolibarr.org/index.php?title=Module_Calling&amp;diff=30811</id>
		<title>Module Calling</title>
		<link rel="alternate" type="text/html" href="https://wiki.dolibarr.org/index.php?title=Module_Calling&amp;diff=30811"/>
		<updated>2013-11-13T09:00:55Z</updated>

		<summary type="html">&lt;p&gt;Oscim: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Modules complémentaires]]&lt;br /&gt;
{{TemplateDocDev}}&lt;br /&gt;
{{TemplateDocUtil}}&lt;br /&gt;
= Informations =&lt;br /&gt;
{{TemplateModuleInfo&lt;br /&gt;
|editor=Oscim &lt;br /&gt;
|web= http://oscim.fr&lt;br /&gt;
|status=stable&lt;br /&gt;
|prerequisites= module_clicktodial&lt;br /&gt;
|minversion=3.2.x&lt;br /&gt;
|note=&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
= Vocation =&lt;br /&gt;
Assure la prise en charge du suivi des appels téléphonique( appels entrant et sortant).&lt;br /&gt;
&lt;br /&gt;
Une alerte lors d&#039;appel entrant contenant les liens vers les informations clients et/ou les informations du collaborateur appelé.&lt;br /&gt;
Historisation des appels dans les fiches de tiers et dans l&#039;agenda&lt;br /&gt;
&lt;br /&gt;
= Installation =&lt;br /&gt;
{{InstallModuleFr}}&lt;br /&gt;
&lt;br /&gt;
= Configuration =&lt;br /&gt;
{{ActivationModuleFr}}&lt;br /&gt;
&lt;br /&gt;
Ce module active et configure le module clicktodial de dolibarr déjà présent lors de l&#039;installation.&lt;br /&gt;
Une fois installé et configuré le module, il vous sera nécessaire de coupler dolibarr à votre fournisseur de service de téléphonie en voip.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Configuration du clicktocall ==&lt;br /&gt;
Ce module st natif dans dolibarr, sur la fiche de chaque utilisateur interne de dolibarr vous avez un onglet clicktocall.Il est nécessaire de renseigner les informations de connexion (login/pass/tel), et le numéro de téléphone utilisé.  &lt;br /&gt;
l&#039;url de déclenchement du click to call est défini pas le module calling, aussi il ne faut pas modifié les éléments de configuration du clicktocall &lt;br /&gt;
&lt;br /&gt;
== Configuration de la liaison avec votre provider de SIP ==&lt;br /&gt;
Le choix de votre fournisseur peut limiter l&#039;usage du module en fonction de l&#039;api de ce dernier. Ce module est fourni avec des sous module permettant d&#039;ajuster celui-ci à votre fournisseur.&lt;br /&gt;
Liste des fournisseur supporté à ce jour:&lt;br /&gt;
&lt;br /&gt;
 - Keyyo : Voir keyyo.fr - L&#039;api supporte les appels entrant et sortant&lt;br /&gt;
 - OVH : Voir Ovh.fr  - L&#039;api supporte les [[appels sortant]]&lt;br /&gt;
 - OVH + @Asterisk : extension du module ovh, ajoute la prise en charge des appels sortant par l’intermédiaire d&#039;un pbx privé. Nécessite d&#039;installer et configurer un serveur asterisk - L&#039;api supporte les appels entrant et sortant&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Liaison Agenda et action ==&lt;br /&gt;
&lt;br /&gt;
Ajouter une action dans le dictionnaire &amp;quot;liste des action&amp;quot; de la table 	llx_c_actioncomm, afin de lister les actions spécifique à la téléphonie; &lt;br /&gt;
&lt;br /&gt;
 - code : AC_TEL&lt;br /&gt;
 - Libellé : Phone call&lt;br /&gt;
 - type : system&lt;br /&gt;
&lt;br /&gt;
Cet ajout vous permet d&#039;exploiter le bouton du menu principal téléphonie, qui devrait limiter l&#039;affichage aux seuls événements de téléphonie.&lt;br /&gt;
&lt;br /&gt;
== Les options du modules ==&lt;br /&gt;
&lt;br /&gt;
===le mode d&#039;alerte ===&lt;br /&gt;
&lt;br /&gt;
Cette option vous permet de gérer le comportement lors des appels entrant; &lt;br /&gt;
&lt;br /&gt;
 - Pas de notification en popup;  aucune notification , vous pouvez dans ce cas choisir le module norun des sous module de notification&lt;br /&gt;
 - Seul les utilisateurs du poste appelé sont notifiés; n&#039;informe que l&#039;utilisateur dont le numéro est appelé. cette sélection prend en compte le numéro de poste configuré sur la fiche utilisateur, et le numéro de ligne défini  dans l&#039;onglet clicktocall&lt;br /&gt;
 - Tous les utilisateur configuré pour le clicktodial sont notifiés&lt;br /&gt;
 - Tous les utilisateurs sont notifiés&lt;br /&gt;
&lt;br /&gt;
=== comportement sur les numéro des collaborateurs et de l&#039;entreprise ===&lt;br /&gt;
Cette option règle le comportement lors de l&#039;appel entrant d&#039;un collaborateur (y compris avec sont numéro de mobile), appel interne, appel d&#039;un site externe.&lt;br /&gt;
&lt;br /&gt;
 - Ignorer les appels entrant des numéros utilisateurs de l&#039;entreprise (pro/perso/mobile); aucune notification ni trace dans les actions&lt;br /&gt;
 - Accepter et notifier sauf l&#039;utilisateur correspondant&lt;br /&gt;
&lt;br /&gt;
=== Information du collaborateur appelé ===&lt;br /&gt;
Affichage d&#039;information complémentaire sur le collaborateur réellement appelé par un tiers (basé sur le numero de téléphone contacté).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Création de fiche ===&lt;br /&gt;
Dans le cas d&#039;appel entrant, dont le numéro n&#039;est pas trouvé dans la base de donnée, une fiche peut être créer, avec comme nom le numéro de téléphone. &lt;br /&gt;
&lt;br /&gt;
 - Pas de création de fiche&lt;br /&gt;
 - Créer un tiers avec le numéro de l&#039;appelant&lt;br /&gt;
 - Créer un contact avec le numéro de l&#039;appelant&lt;br /&gt;
&lt;br /&gt;
=== Appel Anonyme ===&lt;br /&gt;
Peut créer une fiche pour les appels anonyme. &lt;br /&gt;
&lt;br /&gt;
=== Trace les appels ===&lt;br /&gt;
Tracer les appels dans les actions/agenda de dolibarr; Vous pouvez désactiver cette option.&lt;br /&gt;
&lt;br /&gt;
=== Utilisateur appel entrant ===&lt;br /&gt;
Pour gérer correctement la liaison dans les événement, il est nécessaire d&#039;ajuster le choix de l&#039;utilisateur à qui sera affecté l&#039;action . Il est souhaitable d&#039;ajouter un utilisateur a cette fin.&lt;br /&gt;
&lt;br /&gt;
= Utilisation =&lt;br /&gt;
&lt;br /&gt;
La manipulation et l&#039;utilisation de ce module reste simple, compte tenu qu&#039;il ne généré pas d&#039;action particulières. le clicktocall sur les numéro de téléphone vous assure la possibilité de lancer des appels en 1 clic. &#039;&#039;Attention toutefois les numéro de fax ce retrouvent aussi avec un liens de click to call&#039;&#039;. &lt;br /&gt;
&lt;br /&gt;
Lors d&#039;un appel entrant, en fonction de la configuration du mode d&#039;alerte, vous aurez une boite affichant le liens vers la fiche du contact et/ou de la société qui cherche à vous joindre. De plus les appels sont tracés dans l&#039;agenda.&lt;br /&gt;
&lt;br /&gt;
= Information Développement  =&lt;br /&gt;
&lt;br /&gt;
== Généralités ==&lt;br /&gt;
&lt;br /&gt;
Le fonctionnement du module s’appuie sur un fichier &amp;quot;calling.php&amp;quot; à la racine  public de dolibarr. Celui ci est donc accessible via http. Tous les appels de ce module transite par ce fichier, tant les appels entrant que les sortant.&lt;br /&gt;
Le module utilise une table de donnée supplémentaire (llx_calling ) afin de tracer les appels entrant, et l&#039;utilisateur  appelé. Un dossier calling est crée dans la dossier Documents afin de stocker des fichier javascript spécifique par utilisateur.&lt;br /&gt;
&lt;br /&gt;
== Sous Module de liaison vers api de voip ==&lt;br /&gt;
&lt;br /&gt;
Il est possible d&#039;ajouter et modifier les modules d&#039;interaction avec les api de VOIP.  les modules fournis assure une liaison vers des services precis, si vous utiliser une autre api, il sera necessaire de créer votre propre module de liaison.&lt;br /&gt;
&lt;br /&gt;
Le fichier d&#039;un module de gestion d&#039;api doit être nommé api_xxxx.php , ou xxxx représente le nom du fournisseur du service&lt;br /&gt;
&lt;br /&gt;
=== Émission d&#039;un appel  ===&lt;br /&gt;
Cette liaison exploite le module ClicktoCall. Il assure l’émission d&#039;un appel , qui une fois lancé fera sonner votre téléphone, et celui de l&#039;interlocuteur que vous appelez.&lt;br /&gt;
L&#039;utilisation du clicktodial complétera automatiquement la fiche action du tiers/contact.&lt;br /&gt;
&lt;br /&gt;
Pour la conservation des données, et l&#039;affichage du popup, un fichier est créer dans Documents/calling de dolibarr. Ce fichier assure le stockage des données temporaire. &lt;br /&gt;
&lt;br /&gt;
=== Réception d&#039;un appel  ===&lt;br /&gt;
Cette section un peu plus complexe sera très dépendante des service offert par l&#039;offre de VOIP à laquelle vous avez souscrit.&lt;br /&gt;
&lt;br /&gt;
L&#039;interception des appels, ne vous permettra pas de décrocher votre téléphone, mais vous proposera un popup de dialogue, vous fournissant le liens vers la fiche Tiers/contact correspondante, si celle ci existe dans la base de donnée.Dans le cas contraire, il sera possible de créer une fiche de tiers/contact basé sur le numéro de téléphone.&lt;br /&gt;
&lt;br /&gt;
Tous appel entrant viendra compléter la fiche action du tiers. En cas d&#039;appel non répondu, la tache restera ouverte. Dans le cas d&#039;un appel décroché, la tache sera clôturé.&lt;br /&gt;
&lt;br /&gt;
==== Configuration de l&#039;api tiers ====&lt;br /&gt;
&lt;br /&gt;
Il sera nécessaire pour rendre opérationnel la notification des appels entrant de préciser une URL de notification pour l&#039;api tiers, qui doit initier cette notification. Utiliser l&#039; URL entrant , afficher dans votre page de configuration . Celle ci étant générer par le module d&#039;une  api précise, les variables GET a remplacer, sont spécifique à ce fournisseur.&lt;br /&gt;
&lt;br /&gt;
===Note===&lt;br /&gt;
- Stockage des numéro de téléphone en base de donnée.&lt;br /&gt;
Pour pouvoir être extrait et reconnu, il est souhaitable d&#039;utiliser la nomenclature international / national des numéros.&lt;br /&gt;
02 35 98 63 65 ou 33 6 98 65 87 54 ou 002 65 98 32 78&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Élément de configuration d&#039;asterisk ===&lt;br /&gt;
&lt;br /&gt;
La configuration d&#039;&#039;&#039;&#039;asterisk&#039;&#039;&#039; reste un serveur &#039;&#039;&#039;complet et complexe&#039;&#039;&#039;, les possibilité sont énorme, aussi, je vous encourage à consulter les tuto spécialisés. N&#039;oubliez toutefois pas que les PBX sont très fortement attaqué, et que ceux si peuvent générer des coût important si votre serveur ce fait hacker ou est mal configuré, compte tenu qu&#039;il est une passerelle vers le réseau téléphonique, et ces tarifs variant (mobile, appel surtaxé, international, etc..). &lt;br /&gt;
Pour ma part, je n&#039;utilise asterisk que dans la prise en charge des appels entrants, les appels sortant exploitant l&#039;api d&#039;ovh via le click to call. Le module dolibarr calling d&#039;asterisk est conçut en ce sens. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Fichier extensions.conf ====&lt;br /&gt;
les éléments de configuration suivant parte du principe que vous avez installé un asterisk fonctionnel, et configuré votre liaison avec votre provider. Il ne font qu&#039;apporter les éléments de base pour l’interception des appel entrant et la notification vers dolibarr. &lt;br /&gt;
Il doivent renvoyer en même temps vers votre ligne sip.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Context appel entrant  =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
; appel entrant via numero provider&lt;br /&gt;
[process_entrant]&lt;br /&gt;
  exten =&amp;gt; _X.,1,NoOp()&lt;br /&gt;
  exten =&amp;gt;  _X.,n,Set(__DOLI_CALLER=${CUT(CUT(SIP_HEADER(From),@,1),:, 2)})&lt;br /&gt;
  exten =&amp;gt;  _X.,n,Set(__DOLI_CALLE=${CUT(CUT(SIP_HEADER(To),@,1),:, 2)})&lt;br /&gt;
&lt;br /&gt;
; REDIRECTION&lt;br /&gt;
exten =&amp;gt;  _X.,n,Goto(dolibarr_notification,s,1)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Context macro-notification  =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
; Doli&lt;br /&gt;
; macro pour event CONNECT&lt;br /&gt;
[macro-dolinotif]&lt;br /&gt;
exten =&amp;gt; s,1,SET(${CURL(http://votreserveur/calling/calling.php?account=${EXTEN}&amp;amp;caller=${DOLI_CALLER}&amp;amp;callee=${DOLI_CALLE}&amp;amp;type=CONNECT&amp;amp;callref=${DOLI_CALLER}&amp;amp;version=1)})&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Context notification  =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
; Doli&lt;br /&gt;
; Process&lt;br /&gt;
[dolibarr_notification]&lt;br /&gt;
; put notif SETUP&lt;br /&gt;
exten =&amp;gt; s,1,SET(CALLERID(name)=${CURL(http://votreserveur/calling/calling.php?account=${USERNAME}&amp;amp;caller=${DOLI_CALLER}&amp;amp;callee=${DOLI_CALLE}&amp;amp;type=SETUP&amp;amp;callref=${DOLI_CALLER}&amp;amp;version=1)})&lt;br /&gt;
exten =&amp;gt; s,n,Answer()&lt;br /&gt;
; option : r pour sonnerie d&#039;attente&lt;br /&gt;
; option : e Execute &amp;quot;h&amp;quot; as the peer when this call ends&lt;br /&gt;
; option : t T transphert appelant / appelé&lt;br /&gt;
; option : M() Macro&lt;br /&gt;
; option S() raccorche apres x seconde&lt;br /&gt;
exten =&amp;gt; s,n,Dial(SIP/votreposte, 60,etTrM(dolinotif))&lt;br /&gt;
; put notif RELEASE&lt;br /&gt;
exten =&amp;gt; h,1,SET(CALLERID(name)=${CURL(http://votreserveur/calling/calling.php?account=${USERNAME}&amp;amp;caller=${DOLI_CALLER}&amp;amp;callee=${DOLI_CALLE}&amp;amp;type=RELEASE&amp;amp;callref=${DOLI_CALLER}&amp;amp;version=1)})&lt;br /&gt;
exten =&amp;gt; h,2,Hangup(16)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Sous Module des notifications d&#039;appel entrant ==&lt;br /&gt;
&lt;br /&gt;
Les modules d&#039;alerte, sont les modules qui travaille en temps réel afin de vous informer des appels entrant. Il créer un affichage proposant les liens vers la fiche client/contact, et éventuellement celle du collaborateur initialement appelé. Plusieurs modules sont disponible en fonction des contextes d&#039;utilisation.&lt;br /&gt;
&lt;br /&gt;
 - Mod NoRun : Module d&#039;exemple, permettant de désactiver tout éléments JavaScript de notification des appels &lt;br /&gt;
 - Mod Simplejs : Module original de notification via un popup (modale box jquery) en pleine page. Destiné à l&#039;usage d&#039;un utilisateur unique de dolibarr. Basé sur un appel récurent en ajax.&lt;br /&gt;
 - Mod Advancedjs : Module de notification avancé, assurant un affichage non intrusif (lien menu haut droit, et détail appel entrant au click sur le lien).  Exploité en contexte mutli-utilisateurs. Basé sur un appel récurent en ajax.&lt;br /&gt;
 - Mode Nodejs : Module de notification avancé, il est identique en terme d&#039;affichage au module Advancedjs, mais exploite un serveur @nodejs complementaire afin de pousser les informations vers les client dolibarr.&lt;br /&gt;
 Il n&#039;y a aucun appel récurent en ajax. Il nécessite un serveur dedié, nodejs installé. le servelet et fourni dans le paquet. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Sous module Nodejs pre-requis===&lt;br /&gt;
&lt;br /&gt;
Ce sous module exploite la technologie node.js. Il est donc nécessaire que votre serveur qui héberge dolibarr, soit installé nodejs. Sans quoi, le sous module client de dolibarr ne fonctionnera pas. &lt;br /&gt;
&lt;br /&gt;
==== Servelet Nodejs ====&lt;br /&gt;
&lt;br /&gt;
les possibilité de configuration étant nombreuses, nous allons détailler rapidement une installation de base avec ces pre-requis pour ce servelet. &lt;br /&gt;
extraire le zip nodejsd dans votre dossier /var/nodejs&lt;br /&gt;
&lt;br /&gt;
le script d’exécution s&#039;appel index.js&lt;br /&gt;
&lt;br /&gt;
Il vous suffit de lancer&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 node /var/nodejs/index.js&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
pour que le script démarre. Si vous vous connecter à votre dolibarr (ayant activé le module client Nodejs), vous verrez alors le serveur vous informer le la connexion de l&#039;id de votre utilisateur. &lt;br /&gt;
&lt;br /&gt;
Pour lancer en production votre servelet, utilisé le fameux &amp;quot;&amp;amp;&amp;quot;, afin que votre servelet ne ce coupe pas lorsque vous vous déconnecterez du ssh.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt; node /var/nodejs/index.js &amp;amp; &amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Une fois installé et configuré votre servelet (voir fichier config.js), aller dans le panneau de configuration du module calling de dolibarr, activer le module nodejs, puis preciser l&#039;url et le port de votre servelet&lt;br /&gt;
&lt;br /&gt;
===Note===&lt;br /&gt;
Il est possible de moduler ce comportement avec  des module nommé alert_xxx.php&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Fix Version / Note version =&lt;br /&gt;
== 1.2.4 ==&lt;br /&gt;
 - Check process for Dolibarr 3.4.1&lt;br /&gt;
 - Fix display popup for all incoming  calls&lt;br /&gt;
&lt;br /&gt;
== 1.2.3 ==&lt;br /&gt;
 - Check and Fix process for Dolibarr 3.4.0&lt;br /&gt;
 - Add user for manipulate calendar and  incoming/outgoing calls&lt;/div&gt;</summary>
		<author><name>Oscim</name></author>
	</entry>
	<entry>
		<id>https://wiki.dolibarr.org/index.php?title=Module_Calling&amp;diff=30278</id>
		<title>Module Calling</title>
		<link rel="alternate" type="text/html" href="https://wiki.dolibarr.org/index.php?title=Module_Calling&amp;diff=30278"/>
		<updated>2013-09-02T06:11:14Z</updated>

		<summary type="html">&lt;p&gt;Oscim: /* Les options du modules */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Modules complémentaires]]&lt;br /&gt;
[[Category:Prélèvements bancaires]]&lt;br /&gt;
{{TemplateDocDev}}&lt;br /&gt;
{{TemplateDocUtil}}&lt;br /&gt;
= Informations =&lt;br /&gt;
{{TemplateModuleInfo&lt;br /&gt;
|editor=Oscim &lt;br /&gt;
|web= oscim.fr&lt;br /&gt;
|status=stable&lt;br /&gt;
|prerequisites= module_clicktodial&lt;br /&gt;
|minversion=3.3.x&lt;br /&gt;
|note=&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
= Vocation =&lt;br /&gt;
Assure la prise en charge du suivi des appels téléphonique( appels entrant et sortant).&lt;br /&gt;
&lt;br /&gt;
Une alerte lors d&#039;appel entrant contenant les liens vers les informations clients et/ou les informations du collaborateur appelé.&lt;br /&gt;
Historisation des appels dans les fiches de tiers et dans l&#039;agenda&lt;br /&gt;
&lt;br /&gt;
= Installation =&lt;br /&gt;
{{InstallModuleFr}}&lt;br /&gt;
&lt;br /&gt;
= Configuration =&lt;br /&gt;
{{ActivationModuleFr}}&lt;br /&gt;
&lt;br /&gt;
Ce module active et configure le module clicktodial de dolibarr déjà présent lors de l&#039;installation.&lt;br /&gt;
Une fois installé et configuré le module, il vous sera nécessaire de coupler dolibarr à votre fournisseur de service de téléphonie en voip.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Configuration du clicktocall ==&lt;br /&gt;
Ce module st natif dans dolibarr, sur la fiche de chaque utilisateur interne de dolibarr vous avez un onglet clicktocall.Il est nécessaire de renseigner les informations de connexion (login/pass/tel), et le numéro de téléphone utilisé.  &lt;br /&gt;
l&#039;url de déclenchement du click to call est défini pas le module calling, aussi il ne faut pas modifié les éléments de configuration du clicktocall &lt;br /&gt;
&lt;br /&gt;
== Configuration de la liaison avec votre provider de SIP ==&lt;br /&gt;
Le choix de votre fournisseur peut limiter l&#039;usage du module en fonction de l&#039;api de ce dernier. Ce module est fourni avec des sous module permettant d&#039;ajuster celui-ci à votre fournisseur.&lt;br /&gt;
Liste des fournisseur supporté à ce jour:&lt;br /&gt;
&lt;br /&gt;
 - Keyyo : Voir keyyo.fr - L&#039;api supporte les appels entrant et sortant&lt;br /&gt;
 - OVH : Voir Ovh.fr  - L&#039;api supporte les [[appels sortant]]&lt;br /&gt;
 - OVH + @Asterisk : extension du module ovh, ajoute la prise en charge des appels sortant par l’intermédiaire d&#039;un pbx privé. Nécessite d&#039;installer et configurer un serveur asterisk - L&#039;api supporte les appels entrant et sortant&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Liaison Agenda et action ==&lt;br /&gt;
&lt;br /&gt;
Ajouter une action dans le dictionnaire &amp;quot;liste des action&amp;quot; de la table 	llx_c_actioncomm, afin de lister les actions spécifique à la téléphonie; &lt;br /&gt;
&lt;br /&gt;
 - code : AC_TEL&lt;br /&gt;
 - Libellé : Phone call&lt;br /&gt;
 - type : system&lt;br /&gt;
&lt;br /&gt;
Cet ajout vous permet d&#039;exploiter le bouton du menu principal téléphonie, qui devrait limiter l&#039;affichage aux seuls événements de téléphonie.&lt;br /&gt;
&lt;br /&gt;
== Les options du modules ==&lt;br /&gt;
&lt;br /&gt;
===le mode d&#039;alerte ===&lt;br /&gt;
&lt;br /&gt;
Cette option vous permet de gérer le comportement lors des appels entrant; &lt;br /&gt;
&lt;br /&gt;
 - Pas de notification en popup;  aucune notification , vous pouvez dans ce cas choisir le module norun des sous module de notification&lt;br /&gt;
 - Seul les utilisateurs du poste appelé sont notifiés; n&#039;informe que l&#039;utilisateur dont le numéro est appelé. cette sélection prend en compte le numéro de poste configuré sur la fiche utilisateur, et le numéro de ligne défini  dans l&#039;onglet clicktocall&lt;br /&gt;
 - Tous les utilisateur configuré pour le clicktodial sont notifiés&lt;br /&gt;
 - Tous les utilisateurs sont notifiés&lt;br /&gt;
&lt;br /&gt;
=== comportement sur les numéro des collaborateurs et de l&#039;entreprise ===&lt;br /&gt;
Cette option règle le comportement lors de l&#039;appel entrant d&#039;un collaborateur (y compris avec sont numéro de mobile), appel interne, appel d&#039;un site externe.&lt;br /&gt;
&lt;br /&gt;
 - Ignorer les appels entrant des numéros utilisateurs de l&#039;entreprise (pro/perso/mobile); aucune notification ni trace dans les actions&lt;br /&gt;
 - Accepter et notifier sauf l&#039;utilisateur correspondant&lt;br /&gt;
&lt;br /&gt;
=== Information du collaborateur appelé ===&lt;br /&gt;
Affichage d&#039;information complémentaire sur le collaborateur réellement appelé par un tiers (basé sur le numero de téléphone contacté).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Création de fiche ===&lt;br /&gt;
Dans le cas d&#039;appel entrant, dont le numéro n&#039;est pas trouvé dans la base de donnée, une fiche peut être créer, avec comme nom le numéro de téléphone. &lt;br /&gt;
&lt;br /&gt;
 - Pas de création de fiche&lt;br /&gt;
 - Créer un tiers avec le numéro de l&#039;appelant&lt;br /&gt;
 - Créer un contact avec le numéro de l&#039;appelant&lt;br /&gt;
&lt;br /&gt;
=== Appel Anonyme ===&lt;br /&gt;
Peut créer une fiche pour les appels anonyme. &lt;br /&gt;
&lt;br /&gt;
=== Trace les appels ===&lt;br /&gt;
Tracer les appels dans les actions/agenda de dolibarr; Vous pouvez désactiver cette option.&lt;br /&gt;
&lt;br /&gt;
=== Utilisateur appel entrant ===&lt;br /&gt;
Pour gérer correctement la liaison dans les événement, il est nécessaire d&#039;ajuster le choix de l&#039;utilisateur à qui sera affecté l&#039;action . Il est souhaitable d&#039;ajouter un utilisateur a cette fin.&lt;br /&gt;
&lt;br /&gt;
= Utilisation =&lt;br /&gt;
&lt;br /&gt;
La manipulation et l&#039;utilisation de ce module reste simple, compte tenu qu&#039;il ne généré pas d&#039;action particulières. le clicktocall sur les numéro de téléphone vous assure la possibilité de lancer des appels en 1 clic. &#039;&#039;Attention toutefois les numéro de fax ce retrouvent aussi avec un liens de click to call&#039;&#039;. &lt;br /&gt;
&lt;br /&gt;
Lors d&#039;un appel entrant, en fonction de la configuration du mode d&#039;alerte, vous aurez une boite affichant le liens vers la fiche du contact et/ou de la société qui cherche à vous joindre. De plus les appels sont tracés dans l&#039;agenda.&lt;br /&gt;
&lt;br /&gt;
= Information Développement  =&lt;br /&gt;
&lt;br /&gt;
== Généralités ==&lt;br /&gt;
&lt;br /&gt;
Le fonctionnement du module s’appuie sur un fichier &amp;quot;calling.php&amp;quot; à la racine  public de dolibarr. Celui ci est donc accessible via http. Tous les appels de ce module transite par ce fichier, tant les appels entrant que les sortant.&lt;br /&gt;
Le module utilise une table de donnée supplémentaire (llx_calling ) afin de tracer les appels entrant, et l&#039;utilisateur  appelé. Un dossier calling est crée dans la dossier Documents afin de stocker des fichier javascript spécifique par utilisateur.&lt;br /&gt;
&lt;br /&gt;
== Sous Module de liaison vers api de voip ==&lt;br /&gt;
&lt;br /&gt;
Il est possible d&#039;ajouter et modifier les modules d&#039;interaction avec les api de VOIP.  les modules fournis assure une liaison vers des services precis, si vous utiliser une autre api, il sera necessaire de créer votre propre module de liaison.&lt;br /&gt;
&lt;br /&gt;
Le fichier d&#039;un module de gestion d&#039;api doit être nommé api_xxxx.php , ou xxxx représente le nom du fournisseur du service&lt;br /&gt;
&lt;br /&gt;
=== Émission d&#039;un appel  ===&lt;br /&gt;
Cette liaison exploite le module ClicktoCall. Il assure l’émission d&#039;un appel , qui une fois lancé fera sonner votre téléphone, et celui de l&#039;interlocuteur que vous appelez.&lt;br /&gt;
L&#039;utilisation du clicktodial complétera automatiquement la fiche action du tiers/contact.&lt;br /&gt;
&lt;br /&gt;
Pour la conservation des données, et l&#039;affichage du popup, un fichier est créer dans Documents/calling de dolibarr. Ce fichier assure le stockage des données temporaire. &lt;br /&gt;
&lt;br /&gt;
=== Réception d&#039;un appel  ===&lt;br /&gt;
Cette section un peu plus complexe sera très dépendante des service offert par l&#039;offre de VOIP à laquelle vous avez souscrit.&lt;br /&gt;
&lt;br /&gt;
L&#039;interception des appels, ne vous permettra pas de décrocher votre téléphone, mais vous proposera un popup de dialogue, vous fournissant le liens vers la fiche Tiers/contact correspondante, si celle ci existe dans la base de donnée.Dans le cas contraire, il sera possible de créer une fiche de tiers/contact basé sur le numéro de téléphone.&lt;br /&gt;
&lt;br /&gt;
Tous appel entrant viendra compléter la fiche action du tiers. En cas d&#039;appel non répondu, la tache restera ouverte. Dans le cas d&#039;un appel décroché, la tache sera clôturé.&lt;br /&gt;
&lt;br /&gt;
==== Configuration de l&#039;api tiers ====&lt;br /&gt;
&lt;br /&gt;
Il sera nécessaire pour rendre opérationnel la notification des appels entrant de préciser une URL de notification pour l&#039;api tiers, qui doit initier cette notification. Utiliser l&#039; URL entrant , afficher dans votre page de configuration . Celle ci étant générer par le module d&#039;une  api précise, les variables GET a remplacer, sont spécifique à ce fournisseur.&lt;br /&gt;
&lt;br /&gt;
===Note===&lt;br /&gt;
- Stockage des numéro de téléphone en base de donnée.&lt;br /&gt;
Pour pouvoir être extrait et reconnu, il est souhaitable d&#039;utiliser la nomenclature international / national des numéros.&lt;br /&gt;
02 35 98 63 65 ou 33 6 98 65 87 54 ou 002 65 98 32 78&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Élément de configuration d&#039;asterisk ===&lt;br /&gt;
&lt;br /&gt;
La configuration d&#039;&#039;&#039;&#039;asterisk&#039;&#039;&#039; reste un serveur &#039;&#039;&#039;complet et complexe&#039;&#039;&#039;, les possibilité sont énorme, aussi, je vous encourage à consulter les tuto spécialisés. N&#039;oubliez toutefois pas que les PBX sont très fortement attaqué, et que ceux si peuvent générer des coût important si votre serveur ce fait hacker ou est mal configuré, compte tenu qu&#039;il est une passerelle vers le réseau téléphonique, et ces tarifs variant (mobile, appel surtaxé, international, etc..). &lt;br /&gt;
Pour ma part, je n&#039;utilise asterisk que dans la prise en charge des appels entrants, les appels sortant exploitant l&#039;api d&#039;ovh via le click to call. Le module dolibarr calling d&#039;asterisk est conçut en ce sens. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Fichier extensions.conf ====&lt;br /&gt;
les éléments de configuration suivant parte du principe que vous avez installé un asterisk fonctionnel, et configuré votre liaison avec votre provider. Il ne font qu&#039;apporter les éléments de base pour l’interception des appel entrant et la notification vers dolibarr. &lt;br /&gt;
Il doivent renvoyer en même temps vers votre ligne sip.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Context appel entrant  =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
; appel entrant via numero provider&lt;br /&gt;
[process_entrant]&lt;br /&gt;
  exten =&amp;gt; _X.,1,NoOp()&lt;br /&gt;
  exten =&amp;gt;  _X.,n,Set(__DOLI_CALLER=${CUT(CUT(SIP_HEADER(From),@,1),:, 2)})&lt;br /&gt;
  exten =&amp;gt;  _X.,n,Set(__DOLI_CALLE=${CUT(CUT(SIP_HEADER(To),@,1),:, 2)})&lt;br /&gt;
&lt;br /&gt;
; REDIRECTION&lt;br /&gt;
exten =&amp;gt;  _X.,n,Goto(dolibarr_notification,s,1)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Context macro-notification  =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
; Doli&lt;br /&gt;
; macro pour event CONNECT&lt;br /&gt;
[macro-dolinotif]&lt;br /&gt;
exten =&amp;gt; s,1,SET(${CURL(http://votreserveur/calling/calling.php?account=${EXTEN}&amp;amp;caller=${DOLI_CALLER}&amp;amp;callee=${DOLI_CALLE}&amp;amp;type=CONNECT&amp;amp;callref=${DOLI_CALLER}&amp;amp;version=1)})&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Context notification  =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
; Doli&lt;br /&gt;
; Process&lt;br /&gt;
[dolibarr_notification]&lt;br /&gt;
; put notif SETUP&lt;br /&gt;
exten =&amp;gt; s,1,SET(CALLERID(name)=${CURL(http://votreserveur/calling/calling.php?account=${USERNAME}&amp;amp;caller=${DOLI_CALLER}&amp;amp;callee=${DOLI_CALLE}&amp;amp;type=SETUP&amp;amp;callref=${DOLI_CALLER}&amp;amp;version=1)})&lt;br /&gt;
exten =&amp;gt; s,n,Answer()&lt;br /&gt;
; option : r pour sonnerie d&#039;attente&lt;br /&gt;
; option : e Execute &amp;quot;h&amp;quot; as the peer when this call ends&lt;br /&gt;
; option : t T transphert appelant / appelé&lt;br /&gt;
; option : M() Macro&lt;br /&gt;
; option S() raccorche apres x seconde&lt;br /&gt;
exten =&amp;gt; s,n,Dial(SIP/votreposte, 60,etTrM(dolinotif))&lt;br /&gt;
; put notif RELEASE&lt;br /&gt;
exten =&amp;gt; h,1,SET(CALLERID(name)=${CURL(http://votreserveur/calling/calling.php?account=${USERNAME}&amp;amp;caller=${DOLI_CALLER}&amp;amp;callee=${DOLI_CALLE}&amp;amp;type=RELEASE&amp;amp;callref=${DOLI_CALLER}&amp;amp;version=1)})&lt;br /&gt;
exten =&amp;gt; h,2,Hangup(16)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Sous Module des notifications d&#039;appel entrant ==&lt;br /&gt;
&lt;br /&gt;
Les modules d&#039;alerte, sont les modules qui travaille en temps réel afin de vous informer des appels entrant. Il créer un affichage proposant les liens vers la fiche client/contact, et éventuellement celle du collaborateur initialement appelé. Plusieurs modules sont disponible en fonction des contextes d&#039;utilisation.&lt;br /&gt;
&lt;br /&gt;
 - Mod NoRun : Module d&#039;exemple, permettant de désactiver tout éléments JavaScript de notification des appels &lt;br /&gt;
 - Mod Simplejs : Module original de notification via un popup (modale box jquery) en pleine page. Destiné à l&#039;usage d&#039;un utilisateur unique de dolibarr. Basé sur un appel récurent en ajax.&lt;br /&gt;
 - Mod Advancedjs : Module de notification avancé, assurant un affichage non intrusif (lien menu haut droit, et détail appel entrant au click sur le lien).  Exploité en contexte mutli-utilisateurs. Basé sur un appel récurent en ajax.&lt;br /&gt;
 - Mode Nodejs : Module de notification avancé, il est identique en terme d&#039;affichage au module Advancedjs, mais exploite un serveur @nodejs complementaire afin de pousser les informations vers les client dolibarr.&lt;br /&gt;
 Il n&#039;y a aucun appel récurent en ajax. Il nécessite un serveur dedié, nodejs installé. le servelet et fourni dans le paquet. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Sous module Nodejs pre-requis===&lt;br /&gt;
&lt;br /&gt;
Ce sous module exploite la technologie node.js. Il est donc nécessaire que votre serveur qui héberge dolibarr, soit installé nodejs. Sans quoi, le sous module client de dolibarr ne fonctionnera pas. &lt;br /&gt;
&lt;br /&gt;
==== Servelet Nodejs ====&lt;br /&gt;
&lt;br /&gt;
les possibilité de configuration étant nombreuses, nous allons détailler rapidement une installation de base avec ces pre-requis pour ce servelet. &lt;br /&gt;
extraire le zip nodejsd dans votre dossier /var/nodejs&lt;br /&gt;
&lt;br /&gt;
le script d’exécution s&#039;appel index.js&lt;br /&gt;
&lt;br /&gt;
Il vous suffit de lancer&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 node /var/nodejs/index.js&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
pour que le script démarre. Si vous vous connecter à votre dolibarr (ayant activé le module client Nodejs), vous verrez alors le serveur vous informer le la connexion de l&#039;id de votre utilisateur. &lt;br /&gt;
&lt;br /&gt;
Pour lancer en production votre servelet, utilisé le fameux &amp;quot;&amp;amp;&amp;quot;, afin que votre servelet ne ce coupe pas lorsque vous vous déconnecterez du ssh.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt; node /var/nodejs/index.js &amp;amp; &amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Une fois installé et configuré votre servelet (voir fichier config.js), aller dans le panneau de configuration du module calling de dolibarr, activer le module nodejs, puis preciser l&#039;url et le port de votre servelet&lt;br /&gt;
&lt;br /&gt;
===Note===&lt;br /&gt;
Il est possible de moduler ce comportement avec  des module nommé alert_xxx.php&lt;/div&gt;</summary>
		<author><name>Oscim</name></author>
	</entry>
	<entry>
		<id>https://wiki.dolibarr.org/index.php?title=Canvas_development&amp;diff=29284</id>
		<title>Canvas development</title>
		<link rel="alternate" type="text/html" href="https://wiki.dolibarr.org/index.php?title=Canvas_development&amp;diff=29284"/>
		<updated>2013-04-18T16:46:47Z</updated>

		<summary type="html">&lt;p&gt;Oscim: /* Replace a creation form with your own template */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{TemplateDocDevEn}}&lt;br /&gt;
&lt;br /&gt;
Canvas is a developer feature to replace screens to create, update or view a card (products, thirdparties, contacts, ...). &lt;br /&gt;
&lt;br /&gt;
For example, you can replace the input form to create a new third party, or to edit it, or replace the card used to view it.&lt;br /&gt;
&lt;br /&gt;
= Conditions =&lt;br /&gt;
Canvas feature is available with Dolibarr 3.2 or higher.&lt;br /&gt;
&lt;br /&gt;
It is for the moment available only for :&lt;br /&gt;
* &#039;&#039;&#039;create&#039;&#039;&#039; form of &#039;&#039;&#039;products&#039;&#039;&#039;, &#039;&#039;&#039;contacts&#039;&#039;&#039; and &#039;&#039;&#039;third parties&#039;&#039;&#039;&lt;br /&gt;
* &#039;&#039;&#039;edit&#039;&#039;&#039; form of &#039;&#039;&#039;products&#039;&#039;&#039;, &#039;&#039;&#039;contacts&#039;&#039;&#039; and &#039;&#039;&#039;third parties&#039;&#039;&#039;&lt;br /&gt;
* &#039;&#039;&#039;view&#039;&#039;&#039; tab of &#039;&#039;&#039;products&#039;&#039;&#039;, &#039;&#039;&#039;contacts&#039;&#039;&#039; and &#039;&#039;&#039;third parties&#039;&#039;&#039;. In most cases, it&#039;s only the first tab when you open the card of an object. But you can have a look at new module creation documentation [[Module_development#The_tab_management]] to know how to disable other tabs or add yours if you really want to change other tabs too.&lt;br /&gt;
&lt;br /&gt;
= Replace a creation form with your own template =&lt;br /&gt;
First thing to do is to find the URL of standard creation form you want to replace and add the parameter &#039;&#039;&#039;canvas=mycanvas@mymodule&#039;&#039;&#039;. To find url, you can go on page and get URL found at top of your browser.&lt;br /&gt;
&lt;br /&gt;
For example, imagine you want to replace the creation form of third parties with your own form. The url is something like&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;http://mydomain/societe/soc.php?action=create&amp;amp;leftmenu=customers&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
After adding the canvas parameter, URL will look like&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;http://mydomain/societe/soc.php?action=create&amp;amp;leftmenu=customers&amp;amp;canvas=mycanvas@mymodule&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
When you add a parameter canvas=mycanvas@mymodule on a create page, Dolibarr will use the template file into htdocs called&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;/&#039;&#039;mymodule&#039;&#039;/canvas/&#039;&#039;mycanvas&#039;&#039;/tpl/&#039;&#039;tabname&#039;&#039;_create.tpl&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
where&lt;br /&gt;
* &#039;&#039;&#039;mymodule&#039;&#039;&#039; directory is value mymodule found into canvas parameter (you choose this value and create directory with same value. use lower case values).&lt;br /&gt;
* &#039;&#039;&#039;mycanvas&#039;&#039;&#039; is value mycanvas found into canvas parameter (you choose this value and create directory with same value. use lower case value).&lt;br /&gt;
* &#039;&#039;&#039;tabname&#039;&#039;&#039; is name of tab or page where initial form was stored. In most cases it is value &amp;quot;card&amp;quot;.  &lt;br /&gt;
&lt;br /&gt;
For example, we will use value &amp;quot;&#039;&#039;&#039;company@societe&#039;&#039;&#039;&amp;quot; for canvas parameter. This is a value of an already coded demo canvas template for third parties, not used in a standard usage of Dolibarr but provided as &amp;quot;demo&amp;quot;. So URL to create a third party using this alternative template is now:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;http://mydomain/societe/soc.php?action=create&amp;amp;leftmenu=customers&amp;amp;canvas=societe@company&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
This means the form to create the third party will be found into template file:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;/societe/canvas/company/tpl/card_create.tpl&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
So to use you own template, just choose a value for &#039;&#039;&#039;mymodule&#039;&#039;&#039;, &#039;&#039;&#039;mycanvas&#039;&#039;&#039;, copy and paste a demo template found into Dolibarr directories with new directory and new file name and then edit the template like you want. Template contains all the part under the top menu and at right of left menu. You can change look, field order, add your javascript controls, remove or add your own fields. The only requirement is to keep mandatory fields with same name to avoid errors when you will submit the page. Fields removed will be filled with null or 0 into database. New fields for the moment are ignored. We will see later how we can add code to save them.&lt;br /&gt;
&lt;br /&gt;
Once this is done, you must now add the new create URL into Dolibarr menus or replace the existing one with new one. For this take a look at page [[Menus_system]].&lt;br /&gt;
&lt;br /&gt;
Note that when a record is saved using a canvas, the canvas name &#039;&#039;&#039;mycanvas@mymodule&#039;&#039;&#039; is also stored into database. This is important because this means, Dolibarr will be able to know that this record is a canvas and not the other so it will be able to them suggest a view or edit form dedicated for this record only and keep using standard forms for other records. See next chapters.&lt;br /&gt;
&lt;br /&gt;
= Replace an edit form with your own template =&lt;br /&gt;
Using your own edit form for a record saved using your own create form is as simple as adding a file called&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;/mymodule/canvas/mycanvas/tpl/tabname_edit.tpl&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
where&lt;br /&gt;
* &#039;&#039;&#039;mymodule&#039;&#039;&#039; directory is value mymodule you used as canvas parameter to create record (see previous chapter).&lt;br /&gt;
* &#039;&#039;&#039;mycanvas&#039;&#039;&#039; is value mycanvas you used as canvas parameter to create record (see previous chapter).&lt;br /&gt;
* &#039;&#039;&#039;tabname&#039;&#039;&#039; is name of tab or page to edit record. In most cases it is value &amp;quot;card&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
With our canvas demo societe@company, edit template will be into file&lt;br /&gt;
  &lt;br /&gt;
&#039;&#039;&#039;/societe/canvas/company/tpl/card_edit.tpl&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note that for edit, changing URL is not necessarly required. Dolibarr can detect your record is a personalized canvas record and automatically scan for this template file to show it if found. If not, standard form will be used. So all you have to do to use your own edit template is copy and paste an existing demo edit template file and rename it with correct value of mymodule and mycanvas and edit it to match your need.&lt;br /&gt;
Like for creation, all mandatory fields must be kept to avoid errors when submitting the form to save change.&lt;br /&gt;
&lt;br /&gt;
= Replace a view form with your own template =&lt;br /&gt;
Using your own view form for a record saved using your own create form is as simple as adding a file called&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;/mymodule/canvas/mycanvas/tpl/tabname_view.tpl&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
where&lt;br /&gt;
* &#039;&#039;&#039;mymodule&#039;&#039;&#039; directory is value mymodule you used as canvas parameter to create record (see previous chapter).&lt;br /&gt;
* &#039;&#039;&#039;mycanvas&#039;&#039;&#039; is value mycanvas you used as canvas parameter to create record (see previous chapter).&lt;br /&gt;
* &#039;&#039;&#039;tabname&#039;&#039;&#039; is name of tab or page to edit record. In most cases it is value &amp;quot;card&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
With our canvas demo societe@company, view template will be into file&lt;br /&gt;
  &lt;br /&gt;
&#039;&#039;&#039;/societe/canvas/company/tpl/card_view.tpl&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note that for view, changing URL is not necessarly required. Dolibarr can detect your record is a personalized canvas record and automatically scan for this template file to show it if found. If not, standard form will be used. So all you have to do to use your own view template is copy and paste an existing demo view template file and rename it with correct value of mymodule and mycanvas and edit it to match your need.&lt;br /&gt;
&lt;br /&gt;
= Add code to manage new fields =&lt;br /&gt;
{{ToComplete}}&lt;br /&gt;
Example into external module cabinetmed.&lt;/div&gt;</summary>
		<author><name>Oscim</name></author>
	</entry>
	<entry>
		<id>https://wiki.dolibarr.org/index.php?title=Canvas_development&amp;diff=29283</id>
		<title>Canvas development</title>
		<link rel="alternate" type="text/html" href="https://wiki.dolibarr.org/index.php?title=Canvas_development&amp;diff=29283"/>
		<updated>2013-04-18T16:46:18Z</updated>

		<summary type="html">&lt;p&gt;Oscim: /* Replace a creation form with your own template */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{TemplateDocDevEn}}&lt;br /&gt;
&lt;br /&gt;
Canvas is a developer feature to replace screens to create, update or view a card (products, thirdparties, contacts, ...). &lt;br /&gt;
&lt;br /&gt;
For example, you can replace the input form to create a new third party, or to edit it, or replace the card used to view it.&lt;br /&gt;
&lt;br /&gt;
= Conditions =&lt;br /&gt;
Canvas feature is available with Dolibarr 3.2 or higher.&lt;br /&gt;
&lt;br /&gt;
It is for the moment available only for :&lt;br /&gt;
* &#039;&#039;&#039;create&#039;&#039;&#039; form of &#039;&#039;&#039;products&#039;&#039;&#039;, &#039;&#039;&#039;contacts&#039;&#039;&#039; and &#039;&#039;&#039;third parties&#039;&#039;&#039;&lt;br /&gt;
* &#039;&#039;&#039;edit&#039;&#039;&#039; form of &#039;&#039;&#039;products&#039;&#039;&#039;, &#039;&#039;&#039;contacts&#039;&#039;&#039; and &#039;&#039;&#039;third parties&#039;&#039;&#039;&lt;br /&gt;
* &#039;&#039;&#039;view&#039;&#039;&#039; tab of &#039;&#039;&#039;products&#039;&#039;&#039;, &#039;&#039;&#039;contacts&#039;&#039;&#039; and &#039;&#039;&#039;third parties&#039;&#039;&#039;. In most cases, it&#039;s only the first tab when you open the card of an object. But you can have a look at new module creation documentation [[Module_development#The_tab_management]] to know how to disable other tabs or add yours if you really want to change other tabs too.&lt;br /&gt;
&lt;br /&gt;
= Replace a creation form with your own template =&lt;br /&gt;
First thing to do is to find the URL of standard creation form you want to replace and add the parameter &#039;&#039;&#039;canvas=mycanvas@mymodule&#039;&#039;&#039;. To find url, you can go on page and get URL found at top of your browser.&lt;br /&gt;
&lt;br /&gt;
For example, imagine you want to replace the creation form of third parties with your own form. The url is something like&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;http://mydomain/societe/soc.php?action=create&amp;amp;leftmenu=customers&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
After adding the canvas parameter, URL will look like&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;http://mydomain/societe/soc.php?action=create&amp;amp;leftmenu=customers&amp;amp;canvas=mycanvas@mymodule&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
When you add a parameter canvas=mycanvas@mymodule on a create page, Dolibarr will use the template file into htdocs called&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;/&#039;&#039;mymodule&#039;&#039;/canvas/&#039;&#039;mycanvas&#039;&#039;/tpl/&#039;&#039;tabname&#039;&#039;_create.tpl&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
where&lt;br /&gt;
* &#039;&#039;&#039;mymodule&#039;&#039;&#039; directory is value mymodule found into canvas parameter (you choose this value and create directory with same value. use lower case values).&lt;br /&gt;
* &#039;&#039;&#039;mycanvas&#039;&#039;&#039; is value mycanvas found into canvas parameter (you choose this value and create directory with same value. use lower case value).&lt;br /&gt;
* &#039;&#039;&#039;tabname&#039;&#039;&#039; is name of tab or page where initial form was stored. In most cases it is value &amp;quot;card&amp;quot;.  &lt;br /&gt;
&lt;br /&gt;
For example, we will use value &amp;quot;&#039;&#039;&#039;company@societe&#039;&#039;&#039;&amp;quot; for canvas parameter. This is a value of an already coded demo canvas template for third parties, not used in a standard usage of Dolibarr but provided as &amp;quot;demo&amp;quot;. So URL to create a third party using this alternative template is now:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;http://mydomain/societe/soc.php?action=create&amp;amp;leftmenu=customers&amp;amp;canvas=societe@company&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
This means the form to create the third party will be found into template file:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;/societe/canvas/company/tpl/card_create.tpl&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
So to use you own template, just choose a value for &#039;&#039;&#039;mymodule&#039;&#039;&#039;, &#039;&#039;&#039;mycanvas&#039;&#039;&#039;, copy and paste a demo template found into Dolibarr directories with new directory and new file name and then edit the template like you want. Template contains all the part under the top menu and at right of left menu. You can change look, field order, add your javascript controls, remove or add your own fields. The only requirement is to keep mandatory fields with same name to avoid errors when you will submit the page. Fields removed will be filled with null or 0 into database. New fields for the moment are ignored. We will see later how we can add code to save them.&lt;br /&gt;
&lt;br /&gt;
Once this is done, you must now add the new create URL into Dolibarr menus or replace the existing one with new one. For this take a look at page [[Menus_system]].&lt;br /&gt;
&lt;br /&gt;
Note that when a record is saved using a canvas, the canvas name &#039;&#039;&#039;mymodule@mycanvas&#039;&#039;&#039; is also stored into database. This is important because this means, Dolibarr will be able to know that this record is a canvas and not the other so it will be able to them suggest a view or edit form dedicated for this record only and keep using standard forms for other records. See next chapters.&lt;br /&gt;
&lt;br /&gt;
= Replace an edit form with your own template =&lt;br /&gt;
Using your own edit form for a record saved using your own create form is as simple as adding a file called&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;/mymodule/canvas/mycanvas/tpl/tabname_edit.tpl&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
where&lt;br /&gt;
* &#039;&#039;&#039;mymodule&#039;&#039;&#039; directory is value mymodule you used as canvas parameter to create record (see previous chapter).&lt;br /&gt;
* &#039;&#039;&#039;mycanvas&#039;&#039;&#039; is value mycanvas you used as canvas parameter to create record (see previous chapter).&lt;br /&gt;
* &#039;&#039;&#039;tabname&#039;&#039;&#039; is name of tab or page to edit record. In most cases it is value &amp;quot;card&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
With our canvas demo societe@company, edit template will be into file&lt;br /&gt;
  &lt;br /&gt;
&#039;&#039;&#039;/societe/canvas/company/tpl/card_edit.tpl&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note that for edit, changing URL is not necessarly required. Dolibarr can detect your record is a personalized canvas record and automatically scan for this template file to show it if found. If not, standard form will be used. So all you have to do to use your own edit template is copy and paste an existing demo edit template file and rename it with correct value of mymodule and mycanvas and edit it to match your need.&lt;br /&gt;
Like for creation, all mandatory fields must be kept to avoid errors when submitting the form to save change.&lt;br /&gt;
&lt;br /&gt;
= Replace a view form with your own template =&lt;br /&gt;
Using your own view form for a record saved using your own create form is as simple as adding a file called&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;/mymodule/canvas/mycanvas/tpl/tabname_view.tpl&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
where&lt;br /&gt;
* &#039;&#039;&#039;mymodule&#039;&#039;&#039; directory is value mymodule you used as canvas parameter to create record (see previous chapter).&lt;br /&gt;
* &#039;&#039;&#039;mycanvas&#039;&#039;&#039; is value mycanvas you used as canvas parameter to create record (see previous chapter).&lt;br /&gt;
* &#039;&#039;&#039;tabname&#039;&#039;&#039; is name of tab or page to edit record. In most cases it is value &amp;quot;card&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
With our canvas demo societe@company, view template will be into file&lt;br /&gt;
  &lt;br /&gt;
&#039;&#039;&#039;/societe/canvas/company/tpl/card_view.tpl&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note that for view, changing URL is not necessarly required. Dolibarr can detect your record is a personalized canvas record and automatically scan for this template file to show it if found. If not, standard form will be used. So all you have to do to use your own view template is copy and paste an existing demo view template file and rename it with correct value of mymodule and mycanvas and edit it to match your need.&lt;br /&gt;
&lt;br /&gt;
= Add code to manage new fields =&lt;br /&gt;
{{ToComplete}}&lt;br /&gt;
Example into external module cabinetmed.&lt;/div&gt;</summary>
		<author><name>Oscim</name></author>
	</entry>
	<entry>
		<id>https://wiki.dolibarr.org/index.php?title=Module_Assortiment&amp;diff=29262</id>
		<title>Module Assortiment</title>
		<link rel="alternate" type="text/html" href="https://wiki.dolibarr.org/index.php?title=Module_Assortiment&amp;diff=29262"/>
		<updated>2013-04-14T15:31:19Z</updated>

		<summary type="html">&lt;p&gt;Oscim: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Modules complémentaires]]&lt;br /&gt;
[[Category:Assortiment]]&lt;br /&gt;
{{TemplateDocDev}}&lt;br /&gt;
{{TemplateDocUtil}}&lt;br /&gt;
= Informations =&lt;br /&gt;
{{TemplateModuleInfo&lt;br /&gt;
|editor=Florian HENRY&lt;br /&gt;
|status=stable&lt;br /&gt;
|minversion=3.0.0&lt;br /&gt;
|maxversion=3.1.0&lt;br /&gt;
|note=&lt;br /&gt;
|web=&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
= Fonctionnalités =&lt;br /&gt;
Ce module est utilisé pour définir un assortiments de produits pour les client/fournisseur. &lt;br /&gt;
Autrement dit filtrée a la commande  ou a la facturation les produit disponible pour un client/fournisseur.&lt;br /&gt;
En options : utilisation des catégories, limitation des produits proposés lors de la commandes/facturation à ces assortiments.&lt;br /&gt;
&lt;br /&gt;
= Installation =&lt;br /&gt;
{{InstallModuleFr}}&lt;br /&gt;
&lt;br /&gt;
Compatible avec la 3.0: Télécharger sur sourceforge [http://www.dolistore.com/lang-fr/modules/72-Assortiments.html]&lt;br /&gt;
&lt;br /&gt;
= Configuration =&lt;br /&gt;
{{ActivationModuleFr}}&lt;br /&gt;
&lt;br /&gt;
= Usage =&lt;br /&gt;
Un nouvel onglet Assortiment est disponible dans les fiches Client/Fournisseur et les fiches Produits.&lt;br /&gt;
Vous pouvez associer un produit (ou optionnellement une catégorie de produit) a l’assortiment du client/fournisseur, via ces onglet.&lt;br /&gt;
Cela permet si l&#039;option est activé, de filtré les produit a la commande pour ne proposé que les produits présent dans l&#039;assortiment.&lt;br /&gt;
&lt;br /&gt;
= Exemple =&lt;br /&gt;
Typiquement vous avez une gamme de produit pour les distributeur et une autre pour les détaillants.&lt;br /&gt;
&lt;br /&gt;
Configuré le module Assortiment comme suit :&lt;br /&gt;
Gestion des assortiments par catégories : OUI&lt;br /&gt;
Limité la sélection des produits aux assortiments définies pour les commandes clients : OUI&lt;br /&gt;
&lt;br /&gt;
Activé le module Categories dans Module complémentaire&lt;br /&gt;
&lt;br /&gt;
Allez sur la fiche Client et crée 2 catégories, distributeurs et détaillants&lt;br /&gt;
Affecter a vos client les bonne catégorie&lt;br /&gt;
&lt;br /&gt;
Allez dans la fiche d&#039;un produit que vous ne destiner a être vendue qu&#039;aux détaillants, allez dans l&#039;onglet assortiment, puis ajouter ce produit dans les assortiments des clients de la catégorie détaillants.&lt;br /&gt;
&lt;br /&gt;
Lors de la création d&#039;une nouvelle commande, seul ce produit sera disponible a la sélection.&lt;br /&gt;
&lt;br /&gt;
= Développement =&lt;br /&gt;
N&#039;hesitez pas me contacter florian.henry@open-concept.pro&lt;/div&gt;</summary>
		<author><name>Oscim</name></author>
	</entry>
	<entry>
		<id>https://wiki.dolibarr.org/index.php?title=Module_Calling_en&amp;diff=29131</id>
		<title>Module Calling en</title>
		<link rel="alternate" type="text/html" href="https://wiki.dolibarr.org/index.php?title=Module_Calling_en&amp;diff=29131"/>
		<updated>2013-04-02T13:01:51Z</updated>

		<summary type="html">&lt;p&gt;Oscim: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Complementary modules]]&lt;br /&gt;
{{TemplateDocDev}}&lt;br /&gt;
{{TemplateDocUtil}}&lt;br /&gt;
= Informations =&lt;br /&gt;
{{TemplateModuleInfo&lt;br /&gt;
|editor=Oscim &lt;br /&gt;
|web= oscim.fr&lt;br /&gt;
|status=stable&lt;br /&gt;
|prerequisites= module_clicktodial&lt;br /&gt;
|minversion=3.3.x&lt;br /&gt;
|note=&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
= Vocation =&lt;br /&gt;
Provides support for monitoring phone calls (incoming and outgoing).&lt;br /&gt;
An alert when an incoming call contains links to customer information and / or information known collaborator. Logging calls in sheets and in the third calendar&lt;br /&gt;
&lt;br /&gt;
= Install =&lt;br /&gt;
{{InstallModuleEn}}&lt;br /&gt;
&lt;br /&gt;
= Config =&lt;br /&gt;
{{ActivationModuleEn}}&lt;br /&gt;
&lt;br /&gt;
This module enables and configures the module clicktodial dolibarr already present during the installation. Once installed and configured the module, you will need to combine dolibarr your service provider voip telephony.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Config clicktocall ==&lt;br /&gt;
This module natively in st dolibarr on the record of each user&#039;s internal dolibarr you have a tab clicktocall.Il is necessary to fill the login information (login / pass / tel), and the phone number used. url trigger click to call is not defined module calling, so do not change the configuration items clicktocall&lt;br /&gt;
&lt;br /&gt;
== Config link by SIP provider  ==&lt;br /&gt;
Your choice of provider may limit the use of the module according to the API of the latter. This module comes with submodule to adjust it to your supplier. List of supplier supported to date:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 - Keyyo : View keyyo.fr -The API supports incoming and outgoing calls&lt;br /&gt;
 - OVH : View Ovh.fr  - The API supports [[ outgoing calls]]&lt;br /&gt;
 - OVH + @Asterisk : ovh extension module adds support outgoing calls through a PBX private.  Requires to install and configure a server asterisk - The API supports incoming and outgoing calls&lt;br /&gt;
&lt;br /&gt;
== Link in Agenda and action ==&lt;br /&gt;
&lt;br /&gt;
Add an action in the dictionary &amp;quot;Action List&amp;quot; table llx_c_actioncomm to list the specific action to telephony;&lt;br /&gt;
 - code : AC_TEL&lt;br /&gt;
 - Libellé : Phone call&lt;br /&gt;
 - type : system&lt;br /&gt;
&lt;br /&gt;
This addition allows you to use the phone main menu button, which should limit the display to only telephony events.&lt;br /&gt;
&lt;br /&gt;
== Options module ==&lt;br /&gt;
&lt;br /&gt;
===Alert mode ===&lt;br /&gt;
&lt;br /&gt;
This option allows you to manage the behavior when incoming calls;&lt;br /&gt;
&lt;br /&gt;
 - No popup notification and no notification, you can choose in this case the module sub NoRun notification module&lt;br /&gt;
 - Only users are notified of the called station, only informs the user whose number is called.  This selection takes into account the extension configured on the user profile, and the line number specified in the tab clicktocall&lt;br /&gt;
 - All user configured for clicktodial are notified&lt;br /&gt;
 - All users are notified&lt;br /&gt;
&lt;br /&gt;
=== behavior on the number of employees and the company ===&lt;br /&gt;
This option sets the behavior when an incoming call to an employee (including mobile number with are), internal call, call an external site.&lt;br /&gt;
&lt;br /&gt;
 - Ignore incoming calls numbers business users (pro / personal / mobile), no notification or record in shares&lt;br /&gt;
 - Accept and notify unless the corresponding user&lt;br /&gt;
&lt;br /&gt;
=== Information collaborator called ===&lt;br /&gt;
Display additional information about the employee actually called by a third party (based on the number of phone contact).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Creating card ===&lt;br /&gt;
In the case of incoming call, the number is not found in the database, a listing can be created, with the name of the phone number.&lt;br /&gt;
&lt;br /&gt;
 - No creation of card&lt;br /&gt;
 - Create the third number of the caller&lt;br /&gt;
 - Create a contact number of the caller&lt;br /&gt;
&lt;br /&gt;
=== Anonymous Calls  ===&lt;br /&gt;
Can create a form for anonymous calls.&lt;br /&gt;
&lt;br /&gt;
=== Trace calls ===&lt;br /&gt;
Trace calls in actions / agenda dolibarr; You can disable this option.&lt;br /&gt;
&lt;br /&gt;
= Use =&lt;br /&gt;
&lt;br /&gt;
Handling and use of this module is simple, given that it generated no specific action. clicktocall on the phone number you provide the ability to make calls in 1 click. Warning fax number, however, also found that with a click to call links.&lt;br /&gt;
During an incoming call, depending on the configuration of the alert mode, you&#039;ll have a box showing the links to the contact card and / or the company trying to reach you. More calls are traced in the agenda.&lt;br /&gt;
&lt;br /&gt;
= Information Développement  =&lt;br /&gt;
&lt;br /&gt;
== General ==&lt;br /&gt;
&lt;br /&gt;
Operation of the module is based on file &amp;quot;calling.php&amp;quot; at the root of public Dolibarr. That it is accessible via http. All calls to this module passes through the file, so that incoming calls outgoing. The module uses a table of additional data (llx_calling) to trace incoming calls, and the called user. Calling a folder is created in the Documents folder to store user specified javascript file.&lt;br /&gt;
&lt;br /&gt;
== Module in connection to api voip ==&lt;br /&gt;
&lt;br /&gt;
It is possible to add and change modules to interact with APIs VOIP. modules provides a link provided to specific services if you use a different API, it will be necessary to create your own link module.&lt;br /&gt;
File management module API must be called api_xxxx.php, where xxxx is the name of the service provider&lt;br /&gt;
&lt;br /&gt;
===Making a call  ===&lt;br /&gt;
This connection uses the module ClicktoCall. It ensures the issuance of a call, which once launched will ring your phone, and that of the party you are calling. The use of clicktodial automatically complete the third action sheet / contact.&lt;br /&gt;
For data storage, and display of the popup, a file is created in Documents / calling of Dolibarr. This file provides storage for temporary data.&lt;br /&gt;
&lt;br /&gt;
=== Receiving a call  ===&lt;br /&gt;
This section is a little more complex highly dependent on service by offering VOIP to which you have subscribed.&lt;br /&gt;
The interception of calls, will not allow you to pick up your phone, but you will propose a popup dialog, providing you with the links to the third sheet / corresponding contact, if it exists in the database donnée.Dans otherwise it will be possible to create a third sheet / contact based on phone number.&lt;br /&gt;
All incoming calls will complete the third action sheet. If unanswered call, the task will remain open. In the case of a call off hook, the stain will be closed.&lt;br /&gt;
&lt;br /&gt;
====Configuration api third ====&lt;br /&gt;
&lt;br /&gt;
It will be necessary to operationalize the notification of incoming calls to specify a URL for api third notification, which must initiate this notification. Use the incoming URL, in your view configuration page. The latter being generated by a module API accurate to replace GET variables are specific to that provider.&lt;br /&gt;
&lt;br /&gt;
===Note===&lt;br /&gt;
Storing phone number database. To be extracted and recognized, it is desirable to use the nomenclature international / national numbers. 02 35 98 63 65 or 33 6 98 65 87 54 65 98 or 002 32 78&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Configuration element asterisk ===&lt;br /&gt;
&lt;br /&gt;
Configuring Asterisk server is full and complex, the possibilities are huge, so I encourage you to read the tutorial specialist. Remember however that the PBX are highly contested and those that can generate significant cost if your server does this hack or is misconfigured, given that it is a gateway to the telephone network, and these rates vary (mobile, call overtaxed, international, etc. ..). For my own part, I use asterisk in the management of incoming calls, outgoing calls exploiting API ovh via click to call. Dolibarr calling module is designed to asterisk in this direction.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Fichier extensions.conf ====&lt;br /&gt;
following configuration elements start from the premise that you have installed an asterisk functional and configured your connection with your provider. It merely bring the basics to intercept incoming call and notification to Dolibarr. He must return at the same time to sip your line.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Context incoming call  =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
; appel entrant via numero provider&lt;br /&gt;
[process_entrant]&lt;br /&gt;
  exten =&amp;gt; _X.,1,NoOp()&lt;br /&gt;
  exten =&amp;gt;  _X.,n,Set(__DOLI_CALLER=${CUT(CUT(SIP_HEADER(From),@,1),:, 2)})&lt;br /&gt;
  exten =&amp;gt;  _X.,n,Set(__DOLI_CALLE=${CUT(CUT(SIP_HEADER(To),@,1),:, 2)})&lt;br /&gt;
&lt;br /&gt;
; REDIRECTION&lt;br /&gt;
exten =&amp;gt;  _X.,n,Goto(dolibarr_notification,s,1)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Context macro-notification  =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
; Doli&lt;br /&gt;
; macro pour event CONNECT&lt;br /&gt;
[macro-dolinotif]&lt;br /&gt;
exten =&amp;gt; s,1,SET(${CURL(http://votreserveur/calling/calling.php?account=${EXTEN}&amp;amp;caller=${DOLI_CALLER}&amp;amp;callee=${DOLI_CALLE}&amp;amp;type=CONNECT&amp;amp;callref=${DOLI_CALLER}&amp;amp;version=1)})&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Context notification  =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
; Doli&lt;br /&gt;
; Process&lt;br /&gt;
[dolibarr_notification]&lt;br /&gt;
; put notif SETUP&lt;br /&gt;
exten =&amp;gt; s,1,SET(CALLERID(name)=${CURL(http://votreserveur/calling/calling.php?account=${USERNAME}&amp;amp;caller=${DOLI_CALLER}&amp;amp;callee=${DOLI_CALLE}&amp;amp;type=SETUP&amp;amp;callref=${DOLI_CALLER}&amp;amp;version=1)})&lt;br /&gt;
exten =&amp;gt; s,n,Answer()&lt;br /&gt;
; option : r pour sonnerie d&#039;attente&lt;br /&gt;
; option : e Execute &amp;quot;h&amp;quot; as the peer when this call ends&lt;br /&gt;
; option : t T transphert appelant / appelé&lt;br /&gt;
; option : M() Macro&lt;br /&gt;
; option S() raccorche apres x seconde&lt;br /&gt;
exten =&amp;gt; s,n,Dial(SIP/votreposte, 60,etTrM(dolinotif))&lt;br /&gt;
; put notif RELEASE&lt;br /&gt;
exten =&amp;gt; h,1,SET(CALLERID(name)=${CURL(http://votreserveur/calling/calling.php?account=${USERNAME}&amp;amp;caller=${DOLI_CALLER}&amp;amp;callee=${DOLI_CALLE}&amp;amp;type=RELEASE&amp;amp;callref=${DOLI_CALLER}&amp;amp;version=1)})&lt;br /&gt;
exten =&amp;gt; h,2,Hangup(16)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Under Module incoming call notifications ==&lt;br /&gt;
&lt;br /&gt;
The alert modules are modules that works in real time to inform you of incoming calls. He created a display featuring links to the customer record / contact, and possibly the employee initially called. Several modules are available in different contexts of use.&lt;br /&gt;
&lt;br /&gt;
 - Mod NoRun : Module example, to disable all JavaScript elements call notification&lt;br /&gt;
 - Mod Simplejs : Module original notification via a popup (modal box jquery) in full screen.  Intended for use by a single user of Dolibarr.  Based on a recurring ajax call&lt;br /&gt;
 - Mod Advancedjs : Module advanced reporting, providing a non-intrusive display (top right menu link, and incoming call details click on the link).  Operated mutli-user context.  Based on a recurring ajax call.&lt;br /&gt;
 - Mode Nodejs :  Module advanced notification, it is identical in terms of display module Advancedjs, but operates a complementary nodejs @ server to push information to the customer Dolibarr.  There is no recurring ajax call.  It requires a dedicated server, nodejs installed.  and the servelet provided in the package&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Submodule nodejs pre-requisite===&lt;br /&gt;
&lt;br /&gt;
This module exploits in technology node.js. It is therefore necessary that the server that hosts dolibarr, nodejs be installed. Otherwise, the client submodule dolibarr not work.&lt;br /&gt;
&lt;br /&gt;
==== Servelet Nodejs ====&lt;br /&gt;
&lt;br /&gt;
the configuration possibilities are numerous, we will present a basic installation quickly with these pre-requisite for this servelet. extract the zip nodejsd in your / var / nodejs&lt;br /&gt;
script execution call index.js&lt;br /&gt;
&lt;br /&gt;
Simply launch&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 node /var/nodejs/index.js&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
for the script starts. If you connect to your dolibarr (with nodejs client module enabled), you will see the server will inform the connection of your user id.&lt;br /&gt;
To start your production servelet used the famous &amp;quot;&amp;amp;&amp;quot; so that your servelet does not cut it when you log out of ssh.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt; node /var/nodejs/index.js &amp;amp; &amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once installed and configured your servelet (see config.js file), go to the Control Panel module calling dolibarr,  enable the module nodejs, then specify the url and port of your servelet&lt;br /&gt;
&lt;br /&gt;
===Note===&lt;br /&gt;
It is possible to modify this behavior with module named alert_xxx.php&lt;/div&gt;</summary>
		<author><name>Oscim</name></author>
	</entry>
	<entry>
		<id>https://wiki.dolibarr.org/index.php?title=Module_Calling_en&amp;diff=29130</id>
		<title>Module Calling en</title>
		<link rel="alternate" type="text/html" href="https://wiki.dolibarr.org/index.php?title=Module_Calling_en&amp;diff=29130"/>
		<updated>2013-04-02T12:59:07Z</updated>

		<summary type="html">&lt;p&gt;Oscim: /* Config link by SIP provider */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Modules complémentaires]]&lt;br /&gt;
[[Category:Prélèvements bancaires]]&lt;br /&gt;
{{TemplateDocDev}}&lt;br /&gt;
{{TemplateDocUtil}}&lt;br /&gt;
= Informations =&lt;br /&gt;
{{TemplateModuleInfo&lt;br /&gt;
|editor=Oscim &lt;br /&gt;
|web= oscim.fr&lt;br /&gt;
|status=stable&lt;br /&gt;
|prerequisites= module_clicktodial&lt;br /&gt;
|minversion=3.3.x&lt;br /&gt;
|note=&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
= Vocation =&lt;br /&gt;
Provides support for monitoring phone calls (incoming and outgoing).&lt;br /&gt;
An alert when an incoming call contains links to customer information and / or information known collaborator. Logging calls in sheets and in the third calendar&lt;br /&gt;
&lt;br /&gt;
= Install =&lt;br /&gt;
{{InstallModuleEn}}&lt;br /&gt;
&lt;br /&gt;
= Config =&lt;br /&gt;
{{ActivationModuleEn}}&lt;br /&gt;
&lt;br /&gt;
This module enables and configures the module clicktodial dolibarr already present during the installation. Once installed and configured the module, you will need to combine dolibarr your service provider voip telephony.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Config clicktocall ==&lt;br /&gt;
This module natively in st dolibarr on the record of each user&#039;s internal dolibarr you have a tab clicktocall.Il is necessary to fill the login information (login / pass / tel), and the phone number used. url trigger click to call is not defined module calling, so do not change the configuration items clicktocall&lt;br /&gt;
&lt;br /&gt;
== Config link by SIP provider  ==&lt;br /&gt;
Your choice of provider may limit the use of the module according to the API of the latter. This module comes with submodule to adjust it to your supplier. List of supplier supported to date:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 - Keyyo : View keyyo.fr -The API supports incoming and outgoing calls&lt;br /&gt;
 - OVH : View Ovh.fr  - The API supports [[ outgoing calls]]&lt;br /&gt;
 - OVH + @Asterisk : ovh extension module adds support outgoing calls through a PBX private.  Requires to install and configure a server asterisk - The API supports incoming and outgoing calls&lt;br /&gt;
&lt;br /&gt;
== Link in Agenda and action ==&lt;br /&gt;
&lt;br /&gt;
Add an action in the dictionary &amp;quot;Action List&amp;quot; table llx_c_actioncomm to list the specific action to telephony;&lt;br /&gt;
 - code : AC_TEL&lt;br /&gt;
 - Libellé : Phone call&lt;br /&gt;
 - type : system&lt;br /&gt;
&lt;br /&gt;
This addition allows you to use the phone main menu button, which should limit the display to only telephony events.&lt;br /&gt;
&lt;br /&gt;
== Options module ==&lt;br /&gt;
&lt;br /&gt;
===Alert mode ===&lt;br /&gt;
&lt;br /&gt;
This option allows you to manage the behavior when incoming calls;&lt;br /&gt;
&lt;br /&gt;
 - No popup notification and no notification, you can choose in this case the module sub NoRun notification module&lt;br /&gt;
 - Only users are notified of the called station, only informs the user whose number is called.  This selection takes into account the extension configured on the user profile, and the line number specified in the tab clicktocall&lt;br /&gt;
 - All user configured for clicktodial are notified&lt;br /&gt;
 - All users are notified&lt;br /&gt;
&lt;br /&gt;
=== behavior on the number of employees and the company ===&lt;br /&gt;
This option sets the behavior when an incoming call to an employee (including mobile number with are), internal call, call an external site.&lt;br /&gt;
&lt;br /&gt;
 - Ignore incoming calls numbers business users (pro / personal / mobile), no notification or record in shares&lt;br /&gt;
 - Accept and notify unless the corresponding user&lt;br /&gt;
&lt;br /&gt;
=== Information collaborator called ===&lt;br /&gt;
Display additional information about the employee actually called by a third party (based on the number of phone contact).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Creating card ===&lt;br /&gt;
In the case of incoming call, the number is not found in the database, a listing can be created, with the name of the phone number.&lt;br /&gt;
&lt;br /&gt;
 - No creation of card&lt;br /&gt;
 - Create the third number of the caller&lt;br /&gt;
 - Create a contact number of the caller&lt;br /&gt;
&lt;br /&gt;
=== Anonymous Calls  ===&lt;br /&gt;
Can create a form for anonymous calls.&lt;br /&gt;
&lt;br /&gt;
=== Trace calls ===&lt;br /&gt;
Trace calls in actions / agenda dolibarr; You can disable this option.&lt;br /&gt;
&lt;br /&gt;
= Use =&lt;br /&gt;
&lt;br /&gt;
Handling and use of this module is simple, given that it generated no specific action. clicktocall on the phone number you provide the ability to make calls in 1 click. Warning fax number, however, also found that with a click to call links.&lt;br /&gt;
During an incoming call, depending on the configuration of the alert mode, you&#039;ll have a box showing the links to the contact card and / or the company trying to reach you. More calls are traced in the agenda.&lt;br /&gt;
&lt;br /&gt;
= Information Développement  =&lt;br /&gt;
&lt;br /&gt;
== General ==&lt;br /&gt;
&lt;br /&gt;
Operation of the module is based on file &amp;quot;calling.php&amp;quot; at the root of public Dolibarr. That it is accessible via http. All calls to this module passes through the file, so that incoming calls outgoing. The module uses a table of additional data (llx_calling) to trace incoming calls, and the called user. Calling a folder is created in the Documents folder to store user specified javascript file.&lt;br /&gt;
&lt;br /&gt;
== Module in connection to api voip ==&lt;br /&gt;
&lt;br /&gt;
It is possible to add and change modules to interact with APIs VOIP. modules provides a link provided to specific services if you use a different API, it will be necessary to create your own link module.&lt;br /&gt;
File management module API must be called api_xxxx.php, where xxxx is the name of the service provider&lt;br /&gt;
&lt;br /&gt;
===Making a call  ===&lt;br /&gt;
This connection uses the module ClicktoCall. It ensures the issuance of a call, which once launched will ring your phone, and that of the party you are calling. The use of clicktodial automatically complete the third action sheet / contact.&lt;br /&gt;
For data storage, and display of the popup, a file is created in Documents / calling of Dolibarr. This file provides storage for temporary data.&lt;br /&gt;
&lt;br /&gt;
=== Receiving a call  ===&lt;br /&gt;
This section is a little more complex highly dependent on service by offering VOIP to which you have subscribed.&lt;br /&gt;
The interception of calls, will not allow you to pick up your phone, but you will propose a popup dialog, providing you with the links to the third sheet / corresponding contact, if it exists in the database donnée.Dans otherwise it will be possible to create a third sheet / contact based on phone number.&lt;br /&gt;
All incoming calls will complete the third action sheet. If unanswered call, the task will remain open. In the case of a call off hook, the stain will be closed.&lt;br /&gt;
&lt;br /&gt;
====Configuration api third ====&lt;br /&gt;
&lt;br /&gt;
It will be necessary to operationalize the notification of incoming calls to specify a URL for api third notification, which must initiate this notification. Use the incoming URL, in your view configuration page. The latter being generated by a module API accurate to replace GET variables are specific to that provider.&lt;br /&gt;
&lt;br /&gt;
===Note===&lt;br /&gt;
Storing phone number database. To be extracted and recognized, it is desirable to use the nomenclature international / national numbers. 02 35 98 63 65 or 33 6 98 65 87 54 65 98 or 002 32 78&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Configuration element asterisk ===&lt;br /&gt;
&lt;br /&gt;
Configuring Asterisk server is full and complex, the possibilities are huge, so I encourage you to read the tutorial specialist. Remember however that the PBX are highly contested and those that can generate significant cost if your server does this hack or is misconfigured, given that it is a gateway to the telephone network, and these rates vary (mobile, call overtaxed, international, etc. ..). For my own part, I use asterisk in the management of incoming calls, outgoing calls exploiting API ovh via click to call. Dolibarr calling module is designed to asterisk in this direction.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Fichier extensions.conf ====&lt;br /&gt;
following configuration elements start from the premise that you have installed an asterisk functional and configured your connection with your provider. It merely bring the basics to intercept incoming call and notification to Dolibarr. He must return at the same time to sip your line.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Context incoming call  =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
; appel entrant via numero provider&lt;br /&gt;
[process_entrant]&lt;br /&gt;
  exten =&amp;gt; _X.,1,NoOp()&lt;br /&gt;
  exten =&amp;gt;  _X.,n,Set(__DOLI_CALLER=${CUT(CUT(SIP_HEADER(From),@,1),:, 2)})&lt;br /&gt;
  exten =&amp;gt;  _X.,n,Set(__DOLI_CALLE=${CUT(CUT(SIP_HEADER(To),@,1),:, 2)})&lt;br /&gt;
&lt;br /&gt;
; REDIRECTION&lt;br /&gt;
exten =&amp;gt;  _X.,n,Goto(dolibarr_notification,s,1)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Context macro-notification  =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
; Doli&lt;br /&gt;
; macro pour event CONNECT&lt;br /&gt;
[macro-dolinotif]&lt;br /&gt;
exten =&amp;gt; s,1,SET(${CURL(http://votreserveur/calling/calling.php?account=${EXTEN}&amp;amp;caller=${DOLI_CALLER}&amp;amp;callee=${DOLI_CALLE}&amp;amp;type=CONNECT&amp;amp;callref=${DOLI_CALLER}&amp;amp;version=1)})&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Context notification  =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
; Doli&lt;br /&gt;
; Process&lt;br /&gt;
[dolibarr_notification]&lt;br /&gt;
; put notif SETUP&lt;br /&gt;
exten =&amp;gt; s,1,SET(CALLERID(name)=${CURL(http://votreserveur/calling/calling.php?account=${USERNAME}&amp;amp;caller=${DOLI_CALLER}&amp;amp;callee=${DOLI_CALLE}&amp;amp;type=SETUP&amp;amp;callref=${DOLI_CALLER}&amp;amp;version=1)})&lt;br /&gt;
exten =&amp;gt; s,n,Answer()&lt;br /&gt;
; option : r pour sonnerie d&#039;attente&lt;br /&gt;
; option : e Execute &amp;quot;h&amp;quot; as the peer when this call ends&lt;br /&gt;
; option : t T transphert appelant / appelé&lt;br /&gt;
; option : M() Macro&lt;br /&gt;
; option S() raccorche apres x seconde&lt;br /&gt;
exten =&amp;gt; s,n,Dial(SIP/votreposte, 60,etTrM(dolinotif))&lt;br /&gt;
; put notif RELEASE&lt;br /&gt;
exten =&amp;gt; h,1,SET(CALLERID(name)=${CURL(http://votreserveur/calling/calling.php?account=${USERNAME}&amp;amp;caller=${DOLI_CALLER}&amp;amp;callee=${DOLI_CALLE}&amp;amp;type=RELEASE&amp;amp;callref=${DOLI_CALLER}&amp;amp;version=1)})&lt;br /&gt;
exten =&amp;gt; h,2,Hangup(16)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Under Module incoming call notifications ==&lt;br /&gt;
&lt;br /&gt;
The alert modules are modules that works in real time to inform you of incoming calls. He created a display featuring links to the customer record / contact, and possibly the employee initially called. Several modules are available in different contexts of use.&lt;br /&gt;
&lt;br /&gt;
 - Mod NoRun : Module example, to disable all JavaScript elements call notification&lt;br /&gt;
 - Mod Simplejs : Module original notification via a popup (modal box jquery) in full screen.  Intended for use by a single user of Dolibarr.  Based on a recurring ajax call&lt;br /&gt;
 - Mod Advancedjs : Module advanced reporting, providing a non-intrusive display (top right menu link, and incoming call details click on the link).  Operated mutli-user context.  Based on a recurring ajax call.&lt;br /&gt;
 - Mode Nodejs :  Module advanced notification, it is identical in terms of display module Advancedjs, but operates a complementary nodejs @ server to push information to the customer Dolibarr.  There is no recurring ajax call.  It requires a dedicated server, nodejs installed.  and the servelet provided in the package&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Submodule nodejs pre-requisite===&lt;br /&gt;
&lt;br /&gt;
This module exploits in technology node.js. It is therefore necessary that the server that hosts dolibarr, nodejs be installed. Otherwise, the client submodule dolibarr not work.&lt;br /&gt;
&lt;br /&gt;
==== Servelet Nodejs ====&lt;br /&gt;
&lt;br /&gt;
the configuration possibilities are numerous, we will present a basic installation quickly with these pre-requisite for this servelet. extract the zip nodejsd in your / var / nodejs&lt;br /&gt;
script execution call index.js&lt;br /&gt;
&lt;br /&gt;
Simply launch&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 node /var/nodejs/index.js&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
for the script starts. If you connect to your dolibarr (with nodejs client module enabled), you will see the server will inform the connection of your user id.&lt;br /&gt;
To start your production servelet used the famous &amp;quot;&amp;amp;&amp;quot; so that your servelet does not cut it when you log out of ssh.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt; node /var/nodejs/index.js &amp;amp; &amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once installed and configured your servelet (see config.js file), go to the Control Panel module calling dolibarr,  enable the module nodejs, then specify the url and port of your servelet&lt;br /&gt;
&lt;br /&gt;
===Note===&lt;br /&gt;
It is possible to modify this behavior with module named alert_xxx.php&lt;/div&gt;</summary>
		<author><name>Oscim</name></author>
	</entry>
	<entry>
		<id>https://wiki.dolibarr.org/index.php?title=Module_Calling_en&amp;diff=29129</id>
		<title>Module Calling en</title>
		<link rel="alternate" type="text/html" href="https://wiki.dolibarr.org/index.php?title=Module_Calling_en&amp;diff=29129"/>
		<updated>2013-04-02T12:58:50Z</updated>

		<summary type="html">&lt;p&gt;Oscim: /* Configuration link by SIP provider */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Modules complémentaires]]&lt;br /&gt;
[[Category:Prélèvements bancaires]]&lt;br /&gt;
{{TemplateDocDev}}&lt;br /&gt;
{{TemplateDocUtil}}&lt;br /&gt;
= Informations =&lt;br /&gt;
{{TemplateModuleInfo&lt;br /&gt;
|editor=Oscim &lt;br /&gt;
|web= oscim.fr&lt;br /&gt;
|status=stable&lt;br /&gt;
|prerequisites= module_clicktodial&lt;br /&gt;
|minversion=3.3.x&lt;br /&gt;
|note=&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
= Vocation =&lt;br /&gt;
Provides support for monitoring phone calls (incoming and outgoing).&lt;br /&gt;
An alert when an incoming call contains links to customer information and / or information known collaborator. Logging calls in sheets and in the third calendar&lt;br /&gt;
&lt;br /&gt;
= Install =&lt;br /&gt;
{{InstallModuleEn}}&lt;br /&gt;
&lt;br /&gt;
= Config =&lt;br /&gt;
{{ActivationModuleEn}}&lt;br /&gt;
&lt;br /&gt;
This module enables and configures the module clicktodial dolibarr already present during the installation. Once installed and configured the module, you will need to combine dolibarr your service provider voip telephony.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Config clicktocall ==&lt;br /&gt;
This module natively in st dolibarr on the record of each user&#039;s internal dolibarr you have a tab clicktocall.Il is necessary to fill the login information (login / pass / tel), and the phone number used. url trigger click to call is not defined module calling, so do not change the configuration items clicktocall&lt;br /&gt;
&lt;br /&gt;
== Config link by SIP provider  ==&lt;br /&gt;
Your choice of provider may limit the use of the module according to the API of the latter. This module comes with submodule to adjust it to your supplier. List of supplier supported to date:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 - Keyyo : Voir keyyo.fr -The API supports incoming and outgoing calls&lt;br /&gt;
 - OVH : Voir Ovh.fr  - The API supports [[ outgoing calls]]&lt;br /&gt;
 - OVH + @Asterisk : ovh extension module adds support outgoing calls through a PBX private.  Requires to install and configure a server asterisk - The API supports incoming and outgoing calls&lt;br /&gt;
&lt;br /&gt;
== Link in Agenda and action ==&lt;br /&gt;
&lt;br /&gt;
Add an action in the dictionary &amp;quot;Action List&amp;quot; table llx_c_actioncomm to list the specific action to telephony;&lt;br /&gt;
 - code : AC_TEL&lt;br /&gt;
 - Libellé : Phone call&lt;br /&gt;
 - type : system&lt;br /&gt;
&lt;br /&gt;
This addition allows you to use the phone main menu button, which should limit the display to only telephony events.&lt;br /&gt;
&lt;br /&gt;
== Options module ==&lt;br /&gt;
&lt;br /&gt;
===Alert mode ===&lt;br /&gt;
&lt;br /&gt;
This option allows you to manage the behavior when incoming calls;&lt;br /&gt;
&lt;br /&gt;
 - No popup notification and no notification, you can choose in this case the module sub NoRun notification module&lt;br /&gt;
 - Only users are notified of the called station, only informs the user whose number is called.  This selection takes into account the extension configured on the user profile, and the line number specified in the tab clicktocall&lt;br /&gt;
 - All user configured for clicktodial are notified&lt;br /&gt;
 - All users are notified&lt;br /&gt;
&lt;br /&gt;
=== behavior on the number of employees and the company ===&lt;br /&gt;
This option sets the behavior when an incoming call to an employee (including mobile number with are), internal call, call an external site.&lt;br /&gt;
&lt;br /&gt;
 - Ignore incoming calls numbers business users (pro / personal / mobile), no notification or record in shares&lt;br /&gt;
 - Accept and notify unless the corresponding user&lt;br /&gt;
&lt;br /&gt;
=== Information collaborator called ===&lt;br /&gt;
Display additional information about the employee actually called by a third party (based on the number of phone contact).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Creating card ===&lt;br /&gt;
In the case of incoming call, the number is not found in the database, a listing can be created, with the name of the phone number.&lt;br /&gt;
&lt;br /&gt;
 - No creation of card&lt;br /&gt;
 - Create the third number of the caller&lt;br /&gt;
 - Create a contact number of the caller&lt;br /&gt;
&lt;br /&gt;
=== Anonymous Calls  ===&lt;br /&gt;
Can create a form for anonymous calls.&lt;br /&gt;
&lt;br /&gt;
=== Trace calls ===&lt;br /&gt;
Trace calls in actions / agenda dolibarr; You can disable this option.&lt;br /&gt;
&lt;br /&gt;
= Use =&lt;br /&gt;
&lt;br /&gt;
Handling and use of this module is simple, given that it generated no specific action. clicktocall on the phone number you provide the ability to make calls in 1 click. Warning fax number, however, also found that with a click to call links.&lt;br /&gt;
During an incoming call, depending on the configuration of the alert mode, you&#039;ll have a box showing the links to the contact card and / or the company trying to reach you. More calls are traced in the agenda.&lt;br /&gt;
&lt;br /&gt;
= Information Développement  =&lt;br /&gt;
&lt;br /&gt;
== General ==&lt;br /&gt;
&lt;br /&gt;
Operation of the module is based on file &amp;quot;calling.php&amp;quot; at the root of public Dolibarr. That it is accessible via http. All calls to this module passes through the file, so that incoming calls outgoing. The module uses a table of additional data (llx_calling) to trace incoming calls, and the called user. Calling a folder is created in the Documents folder to store user specified javascript file.&lt;br /&gt;
&lt;br /&gt;
== Module in connection to api voip ==&lt;br /&gt;
&lt;br /&gt;
It is possible to add and change modules to interact with APIs VOIP. modules provides a link provided to specific services if you use a different API, it will be necessary to create your own link module.&lt;br /&gt;
File management module API must be called api_xxxx.php, where xxxx is the name of the service provider&lt;br /&gt;
&lt;br /&gt;
===Making a call  ===&lt;br /&gt;
This connection uses the module ClicktoCall. It ensures the issuance of a call, which once launched will ring your phone, and that of the party you are calling. The use of clicktodial automatically complete the third action sheet / contact.&lt;br /&gt;
For data storage, and display of the popup, a file is created in Documents / calling of Dolibarr. This file provides storage for temporary data.&lt;br /&gt;
&lt;br /&gt;
=== Receiving a call  ===&lt;br /&gt;
This section is a little more complex highly dependent on service by offering VOIP to which you have subscribed.&lt;br /&gt;
The interception of calls, will not allow you to pick up your phone, but you will propose a popup dialog, providing you with the links to the third sheet / corresponding contact, if it exists in the database donnée.Dans otherwise it will be possible to create a third sheet / contact based on phone number.&lt;br /&gt;
All incoming calls will complete the third action sheet. If unanswered call, the task will remain open. In the case of a call off hook, the stain will be closed.&lt;br /&gt;
&lt;br /&gt;
====Configuration api third ====&lt;br /&gt;
&lt;br /&gt;
It will be necessary to operationalize the notification of incoming calls to specify a URL for api third notification, which must initiate this notification. Use the incoming URL, in your view configuration page. The latter being generated by a module API accurate to replace GET variables are specific to that provider.&lt;br /&gt;
&lt;br /&gt;
===Note===&lt;br /&gt;
Storing phone number database. To be extracted and recognized, it is desirable to use the nomenclature international / national numbers. 02 35 98 63 65 or 33 6 98 65 87 54 65 98 or 002 32 78&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Configuration element asterisk ===&lt;br /&gt;
&lt;br /&gt;
Configuring Asterisk server is full and complex, the possibilities are huge, so I encourage you to read the tutorial specialist. Remember however that the PBX are highly contested and those that can generate significant cost if your server does this hack or is misconfigured, given that it is a gateway to the telephone network, and these rates vary (mobile, call overtaxed, international, etc. ..). For my own part, I use asterisk in the management of incoming calls, outgoing calls exploiting API ovh via click to call. Dolibarr calling module is designed to asterisk in this direction.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Fichier extensions.conf ====&lt;br /&gt;
following configuration elements start from the premise that you have installed an asterisk functional and configured your connection with your provider. It merely bring the basics to intercept incoming call and notification to Dolibarr. He must return at the same time to sip your line.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Context incoming call  =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
; appel entrant via numero provider&lt;br /&gt;
[process_entrant]&lt;br /&gt;
  exten =&amp;gt; _X.,1,NoOp()&lt;br /&gt;
  exten =&amp;gt;  _X.,n,Set(__DOLI_CALLER=${CUT(CUT(SIP_HEADER(From),@,1),:, 2)})&lt;br /&gt;
  exten =&amp;gt;  _X.,n,Set(__DOLI_CALLE=${CUT(CUT(SIP_HEADER(To),@,1),:, 2)})&lt;br /&gt;
&lt;br /&gt;
; REDIRECTION&lt;br /&gt;
exten =&amp;gt;  _X.,n,Goto(dolibarr_notification,s,1)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Context macro-notification  =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
; Doli&lt;br /&gt;
; macro pour event CONNECT&lt;br /&gt;
[macro-dolinotif]&lt;br /&gt;
exten =&amp;gt; s,1,SET(${CURL(http://votreserveur/calling/calling.php?account=${EXTEN}&amp;amp;caller=${DOLI_CALLER}&amp;amp;callee=${DOLI_CALLE}&amp;amp;type=CONNECT&amp;amp;callref=${DOLI_CALLER}&amp;amp;version=1)})&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Context notification  =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
; Doli&lt;br /&gt;
; Process&lt;br /&gt;
[dolibarr_notification]&lt;br /&gt;
; put notif SETUP&lt;br /&gt;
exten =&amp;gt; s,1,SET(CALLERID(name)=${CURL(http://votreserveur/calling/calling.php?account=${USERNAME}&amp;amp;caller=${DOLI_CALLER}&amp;amp;callee=${DOLI_CALLE}&amp;amp;type=SETUP&amp;amp;callref=${DOLI_CALLER}&amp;amp;version=1)})&lt;br /&gt;
exten =&amp;gt; s,n,Answer()&lt;br /&gt;
; option : r pour sonnerie d&#039;attente&lt;br /&gt;
; option : e Execute &amp;quot;h&amp;quot; as the peer when this call ends&lt;br /&gt;
; option : t T transphert appelant / appelé&lt;br /&gt;
; option : M() Macro&lt;br /&gt;
; option S() raccorche apres x seconde&lt;br /&gt;
exten =&amp;gt; s,n,Dial(SIP/votreposte, 60,etTrM(dolinotif))&lt;br /&gt;
; put notif RELEASE&lt;br /&gt;
exten =&amp;gt; h,1,SET(CALLERID(name)=${CURL(http://votreserveur/calling/calling.php?account=${USERNAME}&amp;amp;caller=${DOLI_CALLER}&amp;amp;callee=${DOLI_CALLE}&amp;amp;type=RELEASE&amp;amp;callref=${DOLI_CALLER}&amp;amp;version=1)})&lt;br /&gt;
exten =&amp;gt; h,2,Hangup(16)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Under Module incoming call notifications ==&lt;br /&gt;
&lt;br /&gt;
The alert modules are modules that works in real time to inform you of incoming calls. He created a display featuring links to the customer record / contact, and possibly the employee initially called. Several modules are available in different contexts of use.&lt;br /&gt;
&lt;br /&gt;
 - Mod NoRun : Module example, to disable all JavaScript elements call notification&lt;br /&gt;
 - Mod Simplejs : Module original notification via a popup (modal box jquery) in full screen.  Intended for use by a single user of Dolibarr.  Based on a recurring ajax call&lt;br /&gt;
 - Mod Advancedjs : Module advanced reporting, providing a non-intrusive display (top right menu link, and incoming call details click on the link).  Operated mutli-user context.  Based on a recurring ajax call.&lt;br /&gt;
 - Mode Nodejs :  Module advanced notification, it is identical in terms of display module Advancedjs, but operates a complementary nodejs @ server to push information to the customer Dolibarr.  There is no recurring ajax call.  It requires a dedicated server, nodejs installed.  and the servelet provided in the package&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Submodule nodejs pre-requisite===&lt;br /&gt;
&lt;br /&gt;
This module exploits in technology node.js. It is therefore necessary that the server that hosts dolibarr, nodejs be installed. Otherwise, the client submodule dolibarr not work.&lt;br /&gt;
&lt;br /&gt;
==== Servelet Nodejs ====&lt;br /&gt;
&lt;br /&gt;
the configuration possibilities are numerous, we will present a basic installation quickly with these pre-requisite for this servelet. extract the zip nodejsd in your / var / nodejs&lt;br /&gt;
script execution call index.js&lt;br /&gt;
&lt;br /&gt;
Simply launch&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 node /var/nodejs/index.js&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
for the script starts. If you connect to your dolibarr (with nodejs client module enabled), you will see the server will inform the connection of your user id.&lt;br /&gt;
To start your production servelet used the famous &amp;quot;&amp;amp;&amp;quot; so that your servelet does not cut it when you log out of ssh.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt; node /var/nodejs/index.js &amp;amp; &amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once installed and configured your servelet (see config.js file), go to the Control Panel module calling dolibarr,  enable the module nodejs, then specify the url and port of your servelet&lt;br /&gt;
&lt;br /&gt;
===Note===&lt;br /&gt;
It is possible to modify this behavior with module named alert_xxx.php&lt;/div&gt;</summary>
		<author><name>Oscim</name></author>
	</entry>
	<entry>
		<id>https://wiki.dolibarr.org/index.php?title=Module_Calling_en&amp;diff=29128</id>
		<title>Module Calling en</title>
		<link rel="alternate" type="text/html" href="https://wiki.dolibarr.org/index.php?title=Module_Calling_en&amp;diff=29128"/>
		<updated>2013-04-02T12:58:35Z</updated>

		<summary type="html">&lt;p&gt;Oscim: /* Configuration */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Modules complémentaires]]&lt;br /&gt;
[[Category:Prélèvements bancaires]]&lt;br /&gt;
{{TemplateDocDev}}&lt;br /&gt;
{{TemplateDocUtil}}&lt;br /&gt;
= Informations =&lt;br /&gt;
{{TemplateModuleInfo&lt;br /&gt;
|editor=Oscim &lt;br /&gt;
|web= oscim.fr&lt;br /&gt;
|status=stable&lt;br /&gt;
|prerequisites= module_clicktodial&lt;br /&gt;
|minversion=3.3.x&lt;br /&gt;
|note=&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
= Vocation =&lt;br /&gt;
Provides support for monitoring phone calls (incoming and outgoing).&lt;br /&gt;
An alert when an incoming call contains links to customer information and / or information known collaborator. Logging calls in sheets and in the third calendar&lt;br /&gt;
&lt;br /&gt;
= Install =&lt;br /&gt;
{{InstallModuleEn}}&lt;br /&gt;
&lt;br /&gt;
= Config =&lt;br /&gt;
{{ActivationModuleEn}}&lt;br /&gt;
&lt;br /&gt;
This module enables and configures the module clicktodial dolibarr already present during the installation. Once installed and configured the module, you will need to combine dolibarr your service provider voip telephony.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Config clicktocall ==&lt;br /&gt;
This module natively in st dolibarr on the record of each user&#039;s internal dolibarr you have a tab clicktocall.Il is necessary to fill the login information (login / pass / tel), and the phone number used. url trigger click to call is not defined module calling, so do not change the configuration items clicktocall&lt;br /&gt;
&lt;br /&gt;
== Configuration link by SIP provider  ==&lt;br /&gt;
Your choice of provider may limit the use of the module according to the API of the latter. This module comes with submodule to adjust it to your supplier. List of supplier supported to date:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 - Keyyo : Voir keyyo.fr -The API supports incoming and outgoing calls&lt;br /&gt;
 - OVH : Voir Ovh.fr  - The API supports [[ outgoing calls]]&lt;br /&gt;
 - OVH + @Asterisk : ovh extension module adds support outgoing calls through a PBX private.  Requires to install and configure a server asterisk - The API supports incoming and outgoing calls&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Link in Agenda and action ==&lt;br /&gt;
&lt;br /&gt;
Add an action in the dictionary &amp;quot;Action List&amp;quot; table llx_c_actioncomm to list the specific action to telephony;&lt;br /&gt;
 - code : AC_TEL&lt;br /&gt;
 - Libellé : Phone call&lt;br /&gt;
 - type : system&lt;br /&gt;
&lt;br /&gt;
This addition allows you to use the phone main menu button, which should limit the display to only telephony events.&lt;br /&gt;
&lt;br /&gt;
== Options module ==&lt;br /&gt;
&lt;br /&gt;
===Alert mode ===&lt;br /&gt;
&lt;br /&gt;
This option allows you to manage the behavior when incoming calls;&lt;br /&gt;
&lt;br /&gt;
 - No popup notification and no notification, you can choose in this case the module sub NoRun notification module&lt;br /&gt;
 - Only users are notified of the called station, only informs the user whose number is called.  This selection takes into account the extension configured on the user profile, and the line number specified in the tab clicktocall&lt;br /&gt;
 - All user configured for clicktodial are notified&lt;br /&gt;
 - All users are notified&lt;br /&gt;
&lt;br /&gt;
=== behavior on the number of employees and the company ===&lt;br /&gt;
This option sets the behavior when an incoming call to an employee (including mobile number with are), internal call, call an external site.&lt;br /&gt;
&lt;br /&gt;
 - Ignore incoming calls numbers business users (pro / personal / mobile), no notification or record in shares&lt;br /&gt;
 - Accept and notify unless the corresponding user&lt;br /&gt;
&lt;br /&gt;
=== Information collaborator called ===&lt;br /&gt;
Display additional information about the employee actually called by a third party (based on the number of phone contact).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Creating card ===&lt;br /&gt;
In the case of incoming call, the number is not found in the database, a listing can be created, with the name of the phone number.&lt;br /&gt;
&lt;br /&gt;
 - No creation of card&lt;br /&gt;
 - Create the third number of the caller&lt;br /&gt;
 - Create a contact number of the caller&lt;br /&gt;
&lt;br /&gt;
=== Anonymous Calls  ===&lt;br /&gt;
Can create a form for anonymous calls.&lt;br /&gt;
&lt;br /&gt;
=== Trace calls ===&lt;br /&gt;
Trace calls in actions / agenda dolibarr; You can disable this option.&lt;br /&gt;
&lt;br /&gt;
= Use =&lt;br /&gt;
&lt;br /&gt;
Handling and use of this module is simple, given that it generated no specific action. clicktocall on the phone number you provide the ability to make calls in 1 click. Warning fax number, however, also found that with a click to call links.&lt;br /&gt;
During an incoming call, depending on the configuration of the alert mode, you&#039;ll have a box showing the links to the contact card and / or the company trying to reach you. More calls are traced in the agenda.&lt;br /&gt;
&lt;br /&gt;
= Information Développement  =&lt;br /&gt;
&lt;br /&gt;
== General ==&lt;br /&gt;
&lt;br /&gt;
Operation of the module is based on file &amp;quot;calling.php&amp;quot; at the root of public Dolibarr. That it is accessible via http. All calls to this module passes through the file, so that incoming calls outgoing. The module uses a table of additional data (llx_calling) to trace incoming calls, and the called user. Calling a folder is created in the Documents folder to store user specified javascript file.&lt;br /&gt;
&lt;br /&gt;
== Module in connection to api voip ==&lt;br /&gt;
&lt;br /&gt;
It is possible to add and change modules to interact with APIs VOIP. modules provides a link provided to specific services if you use a different API, it will be necessary to create your own link module.&lt;br /&gt;
File management module API must be called api_xxxx.php, where xxxx is the name of the service provider&lt;br /&gt;
&lt;br /&gt;
===Making a call  ===&lt;br /&gt;
This connection uses the module ClicktoCall. It ensures the issuance of a call, which once launched will ring your phone, and that of the party you are calling. The use of clicktodial automatically complete the third action sheet / contact.&lt;br /&gt;
For data storage, and display of the popup, a file is created in Documents / calling of Dolibarr. This file provides storage for temporary data.&lt;br /&gt;
&lt;br /&gt;
=== Receiving a call  ===&lt;br /&gt;
This section is a little more complex highly dependent on service by offering VOIP to which you have subscribed.&lt;br /&gt;
The interception of calls, will not allow you to pick up your phone, but you will propose a popup dialog, providing you with the links to the third sheet / corresponding contact, if it exists in the database donnée.Dans otherwise it will be possible to create a third sheet / contact based on phone number.&lt;br /&gt;
All incoming calls will complete the third action sheet. If unanswered call, the task will remain open. In the case of a call off hook, the stain will be closed.&lt;br /&gt;
&lt;br /&gt;
====Configuration api third ====&lt;br /&gt;
&lt;br /&gt;
It will be necessary to operationalize the notification of incoming calls to specify a URL for api third notification, which must initiate this notification. Use the incoming URL, in your view configuration page. The latter being generated by a module API accurate to replace GET variables are specific to that provider.&lt;br /&gt;
&lt;br /&gt;
===Note===&lt;br /&gt;
Storing phone number database. To be extracted and recognized, it is desirable to use the nomenclature international / national numbers. 02 35 98 63 65 or 33 6 98 65 87 54 65 98 or 002 32 78&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Configuration element asterisk ===&lt;br /&gt;
&lt;br /&gt;
Configuring Asterisk server is full and complex, the possibilities are huge, so I encourage you to read the tutorial specialist. Remember however that the PBX are highly contested and those that can generate significant cost if your server does this hack or is misconfigured, given that it is a gateway to the telephone network, and these rates vary (mobile, call overtaxed, international, etc. ..). For my own part, I use asterisk in the management of incoming calls, outgoing calls exploiting API ovh via click to call. Dolibarr calling module is designed to asterisk in this direction.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Fichier extensions.conf ====&lt;br /&gt;
following configuration elements start from the premise that you have installed an asterisk functional and configured your connection with your provider. It merely bring the basics to intercept incoming call and notification to Dolibarr. He must return at the same time to sip your line.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Context incoming call  =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
; appel entrant via numero provider&lt;br /&gt;
[process_entrant]&lt;br /&gt;
  exten =&amp;gt; _X.,1,NoOp()&lt;br /&gt;
  exten =&amp;gt;  _X.,n,Set(__DOLI_CALLER=${CUT(CUT(SIP_HEADER(From),@,1),:, 2)})&lt;br /&gt;
  exten =&amp;gt;  _X.,n,Set(__DOLI_CALLE=${CUT(CUT(SIP_HEADER(To),@,1),:, 2)})&lt;br /&gt;
&lt;br /&gt;
; REDIRECTION&lt;br /&gt;
exten =&amp;gt;  _X.,n,Goto(dolibarr_notification,s,1)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Context macro-notification  =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
; Doli&lt;br /&gt;
; macro pour event CONNECT&lt;br /&gt;
[macro-dolinotif]&lt;br /&gt;
exten =&amp;gt; s,1,SET(${CURL(http://votreserveur/calling/calling.php?account=${EXTEN}&amp;amp;caller=${DOLI_CALLER}&amp;amp;callee=${DOLI_CALLE}&amp;amp;type=CONNECT&amp;amp;callref=${DOLI_CALLER}&amp;amp;version=1)})&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Context notification  =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
; Doli&lt;br /&gt;
; Process&lt;br /&gt;
[dolibarr_notification]&lt;br /&gt;
; put notif SETUP&lt;br /&gt;
exten =&amp;gt; s,1,SET(CALLERID(name)=${CURL(http://votreserveur/calling/calling.php?account=${USERNAME}&amp;amp;caller=${DOLI_CALLER}&amp;amp;callee=${DOLI_CALLE}&amp;amp;type=SETUP&amp;amp;callref=${DOLI_CALLER}&amp;amp;version=1)})&lt;br /&gt;
exten =&amp;gt; s,n,Answer()&lt;br /&gt;
; option : r pour sonnerie d&#039;attente&lt;br /&gt;
; option : e Execute &amp;quot;h&amp;quot; as the peer when this call ends&lt;br /&gt;
; option : t T transphert appelant / appelé&lt;br /&gt;
; option : M() Macro&lt;br /&gt;
; option S() raccorche apres x seconde&lt;br /&gt;
exten =&amp;gt; s,n,Dial(SIP/votreposte, 60,etTrM(dolinotif))&lt;br /&gt;
; put notif RELEASE&lt;br /&gt;
exten =&amp;gt; h,1,SET(CALLERID(name)=${CURL(http://votreserveur/calling/calling.php?account=${USERNAME}&amp;amp;caller=${DOLI_CALLER}&amp;amp;callee=${DOLI_CALLE}&amp;amp;type=RELEASE&amp;amp;callref=${DOLI_CALLER}&amp;amp;version=1)})&lt;br /&gt;
exten =&amp;gt; h,2,Hangup(16)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Under Module incoming call notifications ==&lt;br /&gt;
&lt;br /&gt;
The alert modules are modules that works in real time to inform you of incoming calls. He created a display featuring links to the customer record / contact, and possibly the employee initially called. Several modules are available in different contexts of use.&lt;br /&gt;
&lt;br /&gt;
 - Mod NoRun : Module example, to disable all JavaScript elements call notification&lt;br /&gt;
 - Mod Simplejs : Module original notification via a popup (modal box jquery) in full screen.  Intended for use by a single user of Dolibarr.  Based on a recurring ajax call&lt;br /&gt;
 - Mod Advancedjs : Module advanced reporting, providing a non-intrusive display (top right menu link, and incoming call details click on the link).  Operated mutli-user context.  Based on a recurring ajax call.&lt;br /&gt;
 - Mode Nodejs :  Module advanced notification, it is identical in terms of display module Advancedjs, but operates a complementary nodejs @ server to push information to the customer Dolibarr.  There is no recurring ajax call.  It requires a dedicated server, nodejs installed.  and the servelet provided in the package&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Submodule nodejs pre-requisite===&lt;br /&gt;
&lt;br /&gt;
This module exploits in technology node.js. It is therefore necessary that the server that hosts dolibarr, nodejs be installed. Otherwise, the client submodule dolibarr not work.&lt;br /&gt;
&lt;br /&gt;
==== Servelet Nodejs ====&lt;br /&gt;
&lt;br /&gt;
the configuration possibilities are numerous, we will present a basic installation quickly with these pre-requisite for this servelet. extract the zip nodejsd in your / var / nodejs&lt;br /&gt;
script execution call index.js&lt;br /&gt;
&lt;br /&gt;
Simply launch&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 node /var/nodejs/index.js&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
for the script starts. If you connect to your dolibarr (with nodejs client module enabled), you will see the server will inform the connection of your user id.&lt;br /&gt;
To start your production servelet used the famous &amp;quot;&amp;amp;&amp;quot; so that your servelet does not cut it when you log out of ssh.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt; node /var/nodejs/index.js &amp;amp; &amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once installed and configured your servelet (see config.js file), go to the Control Panel module calling dolibarr,  enable the module nodejs, then specify the url and port of your servelet&lt;br /&gt;
&lt;br /&gt;
===Note===&lt;br /&gt;
It is possible to modify this behavior with module named alert_xxx.php&lt;/div&gt;</summary>
		<author><name>Oscim</name></author>
	</entry>
	<entry>
		<id>https://wiki.dolibarr.org/index.php?title=Module_Calling_en&amp;diff=29127</id>
		<title>Module Calling en</title>
		<link rel="alternate" type="text/html" href="https://wiki.dolibarr.org/index.php?title=Module_Calling_en&amp;diff=29127"/>
		<updated>2013-04-02T12:57:07Z</updated>

		<summary type="html">&lt;p&gt;Oscim: /* Creating sheet */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Modules complémentaires]]&lt;br /&gt;
[[Category:Prélèvements bancaires]]&lt;br /&gt;
{{TemplateDocDev}}&lt;br /&gt;
{{TemplateDocUtil}}&lt;br /&gt;
= Informations =&lt;br /&gt;
{{TemplateModuleInfo&lt;br /&gt;
|editor=Oscim &lt;br /&gt;
|web= oscim.fr&lt;br /&gt;
|status=stable&lt;br /&gt;
|prerequisites= module_clicktodial&lt;br /&gt;
|minversion=3.3.x&lt;br /&gt;
|note=&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
= Vocation =&lt;br /&gt;
Provides support for monitoring phone calls (incoming and outgoing).&lt;br /&gt;
An alert when an incoming call contains links to customer information and / or information known collaborator. Logging calls in sheets and in the third calendar&lt;br /&gt;
&lt;br /&gt;
= Install =&lt;br /&gt;
{{InstallModuleEn}}&lt;br /&gt;
&lt;br /&gt;
= Configuration =&lt;br /&gt;
{{ActivationModuleEn}}&lt;br /&gt;
&lt;br /&gt;
This module enables and configures the module clicktodial dolibarr already present during the installation. Once installed and configured the module, you will need to combine dolibarr your service provider voip telephony.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Config clicktocall ==&lt;br /&gt;
This module natively in st dolibarr on the record of each user&#039;s internal dolibarr you have a tab clicktocall.Il is necessary to fill the login information (login / pass / tel), and the phone number used. url trigger click to call is not defined module calling, so do not change the configuration items clicktocall&lt;br /&gt;
&lt;br /&gt;
== Configuration link by SIP provider  ==&lt;br /&gt;
Your choice of provider may limit the use of the module according to the API of the latter. This module comes with submodule to adjust it to your supplier. List of supplier supported to date:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 - Keyyo : Voir keyyo.fr -The API supports incoming and outgoing calls&lt;br /&gt;
 - OVH : Voir Ovh.fr  - The API supports [[ outgoing calls]]&lt;br /&gt;
 - OVH + @Asterisk : ovh extension module adds support outgoing calls through a PBX private.  Requires to install and configure a server asterisk - The API supports incoming and outgoing calls&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Link in Agenda and action ==&lt;br /&gt;
&lt;br /&gt;
Add an action in the dictionary &amp;quot;Action List&amp;quot; table llx_c_actioncomm to list the specific action to telephony;&lt;br /&gt;
 - code : AC_TEL&lt;br /&gt;
 - Libellé : Phone call&lt;br /&gt;
 - type : system&lt;br /&gt;
&lt;br /&gt;
This addition allows you to use the phone main menu button, which should limit the display to only telephony events.&lt;br /&gt;
&lt;br /&gt;
== Options module ==&lt;br /&gt;
&lt;br /&gt;
===Alert mode ===&lt;br /&gt;
&lt;br /&gt;
This option allows you to manage the behavior when incoming calls;&lt;br /&gt;
&lt;br /&gt;
 - No popup notification and no notification, you can choose in this case the module sub NoRun notification module&lt;br /&gt;
 - Only users are notified of the called station, only informs the user whose number is called.  This selection takes into account the extension configured on the user profile, and the line number specified in the tab clicktocall&lt;br /&gt;
 - All user configured for clicktodial are notified&lt;br /&gt;
 - All users are notified&lt;br /&gt;
&lt;br /&gt;
=== behavior on the number of employees and the company ===&lt;br /&gt;
This option sets the behavior when an incoming call to an employee (including mobile number with are), internal call, call an external site.&lt;br /&gt;
&lt;br /&gt;
 - Ignore incoming calls numbers business users (pro / personal / mobile), no notification or record in shares&lt;br /&gt;
 - Accept and notify unless the corresponding user&lt;br /&gt;
&lt;br /&gt;
=== Information collaborator called ===&lt;br /&gt;
Display additional information about the employee actually called by a third party (based on the number of phone contact).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Creating card ===&lt;br /&gt;
In the case of incoming call, the number is not found in the database, a listing can be created, with the name of the phone number.&lt;br /&gt;
&lt;br /&gt;
 - No creation of card&lt;br /&gt;
 - Create the third number of the caller&lt;br /&gt;
 - Create a contact number of the caller&lt;br /&gt;
&lt;br /&gt;
=== Anonymous Calls  ===&lt;br /&gt;
Can create a form for anonymous calls.&lt;br /&gt;
&lt;br /&gt;
=== Trace calls ===&lt;br /&gt;
Trace calls in actions / agenda dolibarr; You can disable this option.&lt;br /&gt;
&lt;br /&gt;
= Use =&lt;br /&gt;
&lt;br /&gt;
Handling and use of this module is simple, given that it generated no specific action. clicktocall on the phone number you provide the ability to make calls in 1 click. Warning fax number, however, also found that with a click to call links.&lt;br /&gt;
During an incoming call, depending on the configuration of the alert mode, you&#039;ll have a box showing the links to the contact card and / or the company trying to reach you. More calls are traced in the agenda.&lt;br /&gt;
&lt;br /&gt;
= Information Développement  =&lt;br /&gt;
&lt;br /&gt;
== General ==&lt;br /&gt;
&lt;br /&gt;
Operation of the module is based on file &amp;quot;calling.php&amp;quot; at the root of public Dolibarr. That it is accessible via http. All calls to this module passes through the file, so that incoming calls outgoing. The module uses a table of additional data (llx_calling) to trace incoming calls, and the called user. Calling a folder is created in the Documents folder to store user specified javascript file.&lt;br /&gt;
&lt;br /&gt;
== Module in connection to api voip ==&lt;br /&gt;
&lt;br /&gt;
It is possible to add and change modules to interact with APIs VOIP. modules provides a link provided to specific services if you use a different API, it will be necessary to create your own link module.&lt;br /&gt;
File management module API must be called api_xxxx.php, where xxxx is the name of the service provider&lt;br /&gt;
&lt;br /&gt;
===Making a call  ===&lt;br /&gt;
This connection uses the module ClicktoCall. It ensures the issuance of a call, which once launched will ring your phone, and that of the party you are calling. The use of clicktodial automatically complete the third action sheet / contact.&lt;br /&gt;
For data storage, and display of the popup, a file is created in Documents / calling of Dolibarr. This file provides storage for temporary data.&lt;br /&gt;
&lt;br /&gt;
=== Receiving a call  ===&lt;br /&gt;
This section is a little more complex highly dependent on service by offering VOIP to which you have subscribed.&lt;br /&gt;
The interception of calls, will not allow you to pick up your phone, but you will propose a popup dialog, providing you with the links to the third sheet / corresponding contact, if it exists in the database donnée.Dans otherwise it will be possible to create a third sheet / contact based on phone number.&lt;br /&gt;
All incoming calls will complete the third action sheet. If unanswered call, the task will remain open. In the case of a call off hook, the stain will be closed.&lt;br /&gt;
&lt;br /&gt;
====Configuration api third ====&lt;br /&gt;
&lt;br /&gt;
It will be necessary to operationalize the notification of incoming calls to specify a URL for api third notification, which must initiate this notification. Use the incoming URL, in your view configuration page. The latter being generated by a module API accurate to replace GET variables are specific to that provider.&lt;br /&gt;
&lt;br /&gt;
===Note===&lt;br /&gt;
Storing phone number database. To be extracted and recognized, it is desirable to use the nomenclature international / national numbers. 02 35 98 63 65 or 33 6 98 65 87 54 65 98 or 002 32 78&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Configuration element asterisk ===&lt;br /&gt;
&lt;br /&gt;
Configuring Asterisk server is full and complex, the possibilities are huge, so I encourage you to read the tutorial specialist. Remember however that the PBX are highly contested and those that can generate significant cost if your server does this hack or is misconfigured, given that it is a gateway to the telephone network, and these rates vary (mobile, call overtaxed, international, etc. ..). For my own part, I use asterisk in the management of incoming calls, outgoing calls exploiting API ovh via click to call. Dolibarr calling module is designed to asterisk in this direction.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Fichier extensions.conf ====&lt;br /&gt;
following configuration elements start from the premise that you have installed an asterisk functional and configured your connection with your provider. It merely bring the basics to intercept incoming call and notification to Dolibarr. He must return at the same time to sip your line.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Context incoming call  =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
; appel entrant via numero provider&lt;br /&gt;
[process_entrant]&lt;br /&gt;
  exten =&amp;gt; _X.,1,NoOp()&lt;br /&gt;
  exten =&amp;gt;  _X.,n,Set(__DOLI_CALLER=${CUT(CUT(SIP_HEADER(From),@,1),:, 2)})&lt;br /&gt;
  exten =&amp;gt;  _X.,n,Set(__DOLI_CALLE=${CUT(CUT(SIP_HEADER(To),@,1),:, 2)})&lt;br /&gt;
&lt;br /&gt;
; REDIRECTION&lt;br /&gt;
exten =&amp;gt;  _X.,n,Goto(dolibarr_notification,s,1)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Context macro-notification  =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
; Doli&lt;br /&gt;
; macro pour event CONNECT&lt;br /&gt;
[macro-dolinotif]&lt;br /&gt;
exten =&amp;gt; s,1,SET(${CURL(http://votreserveur/calling/calling.php?account=${EXTEN}&amp;amp;caller=${DOLI_CALLER}&amp;amp;callee=${DOLI_CALLE}&amp;amp;type=CONNECT&amp;amp;callref=${DOLI_CALLER}&amp;amp;version=1)})&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Context notification  =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
; Doli&lt;br /&gt;
; Process&lt;br /&gt;
[dolibarr_notification]&lt;br /&gt;
; put notif SETUP&lt;br /&gt;
exten =&amp;gt; s,1,SET(CALLERID(name)=${CURL(http://votreserveur/calling/calling.php?account=${USERNAME}&amp;amp;caller=${DOLI_CALLER}&amp;amp;callee=${DOLI_CALLE}&amp;amp;type=SETUP&amp;amp;callref=${DOLI_CALLER}&amp;amp;version=1)})&lt;br /&gt;
exten =&amp;gt; s,n,Answer()&lt;br /&gt;
; option : r pour sonnerie d&#039;attente&lt;br /&gt;
; option : e Execute &amp;quot;h&amp;quot; as the peer when this call ends&lt;br /&gt;
; option : t T transphert appelant / appelé&lt;br /&gt;
; option : M() Macro&lt;br /&gt;
; option S() raccorche apres x seconde&lt;br /&gt;
exten =&amp;gt; s,n,Dial(SIP/votreposte, 60,etTrM(dolinotif))&lt;br /&gt;
; put notif RELEASE&lt;br /&gt;
exten =&amp;gt; h,1,SET(CALLERID(name)=${CURL(http://votreserveur/calling/calling.php?account=${USERNAME}&amp;amp;caller=${DOLI_CALLER}&amp;amp;callee=${DOLI_CALLE}&amp;amp;type=RELEASE&amp;amp;callref=${DOLI_CALLER}&amp;amp;version=1)})&lt;br /&gt;
exten =&amp;gt; h,2,Hangup(16)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Under Module incoming call notifications ==&lt;br /&gt;
&lt;br /&gt;
The alert modules are modules that works in real time to inform you of incoming calls. He created a display featuring links to the customer record / contact, and possibly the employee initially called. Several modules are available in different contexts of use.&lt;br /&gt;
&lt;br /&gt;
 - Mod NoRun : Module example, to disable all JavaScript elements call notification&lt;br /&gt;
 - Mod Simplejs : Module original notification via a popup (modal box jquery) in full screen.  Intended for use by a single user of Dolibarr.  Based on a recurring ajax call&lt;br /&gt;
 - Mod Advancedjs : Module advanced reporting, providing a non-intrusive display (top right menu link, and incoming call details click on the link).  Operated mutli-user context.  Based on a recurring ajax call.&lt;br /&gt;
 - Mode Nodejs :  Module advanced notification, it is identical in terms of display module Advancedjs, but operates a complementary nodejs @ server to push information to the customer Dolibarr.  There is no recurring ajax call.  It requires a dedicated server, nodejs installed.  and the servelet provided in the package&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Submodule nodejs pre-requisite===&lt;br /&gt;
&lt;br /&gt;
This module exploits in technology node.js. It is therefore necessary that the server that hosts dolibarr, nodejs be installed. Otherwise, the client submodule dolibarr not work.&lt;br /&gt;
&lt;br /&gt;
==== Servelet Nodejs ====&lt;br /&gt;
&lt;br /&gt;
the configuration possibilities are numerous, we will present a basic installation quickly with these pre-requisite for this servelet. extract the zip nodejsd in your / var / nodejs&lt;br /&gt;
script execution call index.js&lt;br /&gt;
&lt;br /&gt;
Simply launch&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 node /var/nodejs/index.js&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
for the script starts. If you connect to your dolibarr (with nodejs client module enabled), you will see the server will inform the connection of your user id.&lt;br /&gt;
To start your production servelet used the famous &amp;quot;&amp;amp;&amp;quot; so that your servelet does not cut it when you log out of ssh.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt; node /var/nodejs/index.js &amp;amp; &amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once installed and configured your servelet (see config.js file), go to the Control Panel module calling dolibarr,  enable the module nodejs, then specify the url and port of your servelet&lt;br /&gt;
&lt;br /&gt;
===Note===&lt;br /&gt;
It is possible to modify this behavior with module named alert_xxx.php&lt;/div&gt;</summary>
		<author><name>Oscim</name></author>
	</entry>
	<entry>
		<id>https://wiki.dolibarr.org/index.php?title=Module_Calling_en&amp;diff=29126</id>
		<title>Module Calling en</title>
		<link rel="alternate" type="text/html" href="https://wiki.dolibarr.org/index.php?title=Module_Calling_en&amp;diff=29126"/>
		<updated>2013-04-02T12:56:24Z</updated>

		<summary type="html">&lt;p&gt;Oscim: /* Utilisation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Modules complémentaires]]&lt;br /&gt;
[[Category:Prélèvements bancaires]]&lt;br /&gt;
{{TemplateDocDev}}&lt;br /&gt;
{{TemplateDocUtil}}&lt;br /&gt;
= Informations =&lt;br /&gt;
{{TemplateModuleInfo&lt;br /&gt;
|editor=Oscim &lt;br /&gt;
|web= oscim.fr&lt;br /&gt;
|status=stable&lt;br /&gt;
|prerequisites= module_clicktodial&lt;br /&gt;
|minversion=3.3.x&lt;br /&gt;
|note=&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
= Vocation =&lt;br /&gt;
Provides support for monitoring phone calls (incoming and outgoing).&lt;br /&gt;
An alert when an incoming call contains links to customer information and / or information known collaborator. Logging calls in sheets and in the third calendar&lt;br /&gt;
&lt;br /&gt;
= Install =&lt;br /&gt;
{{InstallModuleEn}}&lt;br /&gt;
&lt;br /&gt;
= Configuration =&lt;br /&gt;
{{ActivationModuleEn}}&lt;br /&gt;
&lt;br /&gt;
This module enables and configures the module clicktodial dolibarr already present during the installation. Once installed and configured the module, you will need to combine dolibarr your service provider voip telephony.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Config clicktocall ==&lt;br /&gt;
This module natively in st dolibarr on the record of each user&#039;s internal dolibarr you have a tab clicktocall.Il is necessary to fill the login information (login / pass / tel), and the phone number used. url trigger click to call is not defined module calling, so do not change the configuration items clicktocall&lt;br /&gt;
&lt;br /&gt;
== Configuration link by SIP provider  ==&lt;br /&gt;
Your choice of provider may limit the use of the module according to the API of the latter. This module comes with submodule to adjust it to your supplier. List of supplier supported to date:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 - Keyyo : Voir keyyo.fr -The API supports incoming and outgoing calls&lt;br /&gt;
 - OVH : Voir Ovh.fr  - The API supports [[ outgoing calls]]&lt;br /&gt;
 - OVH + @Asterisk : ovh extension module adds support outgoing calls through a PBX private.  Requires to install and configure a server asterisk - The API supports incoming and outgoing calls&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Link in Agenda and action ==&lt;br /&gt;
&lt;br /&gt;
Add an action in the dictionary &amp;quot;Action List&amp;quot; table llx_c_actioncomm to list the specific action to telephony;&lt;br /&gt;
 - code : AC_TEL&lt;br /&gt;
 - Libellé : Phone call&lt;br /&gt;
 - type : system&lt;br /&gt;
&lt;br /&gt;
This addition allows you to use the phone main menu button, which should limit the display to only telephony events.&lt;br /&gt;
&lt;br /&gt;
== Options module ==&lt;br /&gt;
&lt;br /&gt;
===Alert mode ===&lt;br /&gt;
&lt;br /&gt;
This option allows you to manage the behavior when incoming calls;&lt;br /&gt;
&lt;br /&gt;
 - No popup notification and no notification, you can choose in this case the module sub NoRun notification module&lt;br /&gt;
 - Only users are notified of the called station, only informs the user whose number is called.  This selection takes into account the extension configured on the user profile, and the line number specified in the tab clicktocall&lt;br /&gt;
 - All user configured for clicktodial are notified&lt;br /&gt;
 - All users are notified&lt;br /&gt;
&lt;br /&gt;
=== behavior on the number of employees and the company ===&lt;br /&gt;
This option sets the behavior when an incoming call to an employee (including mobile number with are), internal call, call an external site.&lt;br /&gt;
&lt;br /&gt;
 - Ignore incoming calls numbers business users (pro / personal / mobile), no notification or record in shares&lt;br /&gt;
 - Accept and notify unless the corresponding user&lt;br /&gt;
&lt;br /&gt;
=== Information collaborator called ===&lt;br /&gt;
Display additional information about the employee actually called by a third party (based on the number of phone contact).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Creating sheet ===&lt;br /&gt;
In the case of incoming call, the number is not found in the database, a listing can be created, with the name of the phone number.&lt;br /&gt;
&lt;br /&gt;
 - No creation of plug&lt;br /&gt;
 - Create the third number of the caller&lt;br /&gt;
 - Create a contact number of the caller&lt;br /&gt;
&lt;br /&gt;
=== Anonymous Calls  ===&lt;br /&gt;
Can create a form for anonymous calls.&lt;br /&gt;
&lt;br /&gt;
=== Trace calls ===&lt;br /&gt;
Trace calls in actions / agenda dolibarr; You can disable this option.&lt;br /&gt;
&lt;br /&gt;
= Use =&lt;br /&gt;
&lt;br /&gt;
Handling and use of this module is simple, given that it generated no specific action. clicktocall on the phone number you provide the ability to make calls in 1 click. Warning fax number, however, also found that with a click to call links.&lt;br /&gt;
During an incoming call, depending on the configuration of the alert mode, you&#039;ll have a box showing the links to the contact card and / or the company trying to reach you. More calls are traced in the agenda.&lt;br /&gt;
&lt;br /&gt;
= Information Développement  =&lt;br /&gt;
&lt;br /&gt;
== General ==&lt;br /&gt;
&lt;br /&gt;
Operation of the module is based on file &amp;quot;calling.php&amp;quot; at the root of public Dolibarr. That it is accessible via http. All calls to this module passes through the file, so that incoming calls outgoing. The module uses a table of additional data (llx_calling) to trace incoming calls, and the called user. Calling a folder is created in the Documents folder to store user specified javascript file.&lt;br /&gt;
&lt;br /&gt;
== Module in connection to api voip ==&lt;br /&gt;
&lt;br /&gt;
It is possible to add and change modules to interact with APIs VOIP. modules provides a link provided to specific services if you use a different API, it will be necessary to create your own link module.&lt;br /&gt;
File management module API must be called api_xxxx.php, where xxxx is the name of the service provider&lt;br /&gt;
&lt;br /&gt;
===Making a call  ===&lt;br /&gt;
This connection uses the module ClicktoCall. It ensures the issuance of a call, which once launched will ring your phone, and that of the party you are calling. The use of clicktodial automatically complete the third action sheet / contact.&lt;br /&gt;
For data storage, and display of the popup, a file is created in Documents / calling of Dolibarr. This file provides storage for temporary data.&lt;br /&gt;
&lt;br /&gt;
=== Receiving a call  ===&lt;br /&gt;
This section is a little more complex highly dependent on service by offering VOIP to which you have subscribed.&lt;br /&gt;
The interception of calls, will not allow you to pick up your phone, but you will propose a popup dialog, providing you with the links to the third sheet / corresponding contact, if it exists in the database donnée.Dans otherwise it will be possible to create a third sheet / contact based on phone number.&lt;br /&gt;
All incoming calls will complete the third action sheet. If unanswered call, the task will remain open. In the case of a call off hook, the stain will be closed.&lt;br /&gt;
&lt;br /&gt;
====Configuration api third ====&lt;br /&gt;
&lt;br /&gt;
It will be necessary to operationalize the notification of incoming calls to specify a URL for api third notification, which must initiate this notification. Use the incoming URL, in your view configuration page. The latter being generated by a module API accurate to replace GET variables are specific to that provider.&lt;br /&gt;
&lt;br /&gt;
===Note===&lt;br /&gt;
Storing phone number database. To be extracted and recognized, it is desirable to use the nomenclature international / national numbers. 02 35 98 63 65 or 33 6 98 65 87 54 65 98 or 002 32 78&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Configuration element asterisk ===&lt;br /&gt;
&lt;br /&gt;
Configuring Asterisk server is full and complex, the possibilities are huge, so I encourage you to read the tutorial specialist. Remember however that the PBX are highly contested and those that can generate significant cost if your server does this hack or is misconfigured, given that it is a gateway to the telephone network, and these rates vary (mobile, call overtaxed, international, etc. ..). For my own part, I use asterisk in the management of incoming calls, outgoing calls exploiting API ovh via click to call. Dolibarr calling module is designed to asterisk in this direction.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Fichier extensions.conf ====&lt;br /&gt;
following configuration elements start from the premise that you have installed an asterisk functional and configured your connection with your provider. It merely bring the basics to intercept incoming call and notification to Dolibarr. He must return at the same time to sip your line.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Context incoming call  =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
; appel entrant via numero provider&lt;br /&gt;
[process_entrant]&lt;br /&gt;
  exten =&amp;gt; _X.,1,NoOp()&lt;br /&gt;
  exten =&amp;gt;  _X.,n,Set(__DOLI_CALLER=${CUT(CUT(SIP_HEADER(From),@,1),:, 2)})&lt;br /&gt;
  exten =&amp;gt;  _X.,n,Set(__DOLI_CALLE=${CUT(CUT(SIP_HEADER(To),@,1),:, 2)})&lt;br /&gt;
&lt;br /&gt;
; REDIRECTION&lt;br /&gt;
exten =&amp;gt;  _X.,n,Goto(dolibarr_notification,s,1)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Context macro-notification  =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
; Doli&lt;br /&gt;
; macro pour event CONNECT&lt;br /&gt;
[macro-dolinotif]&lt;br /&gt;
exten =&amp;gt; s,1,SET(${CURL(http://votreserveur/calling/calling.php?account=${EXTEN}&amp;amp;caller=${DOLI_CALLER}&amp;amp;callee=${DOLI_CALLE}&amp;amp;type=CONNECT&amp;amp;callref=${DOLI_CALLER}&amp;amp;version=1)})&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Context notification  =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
; Doli&lt;br /&gt;
; Process&lt;br /&gt;
[dolibarr_notification]&lt;br /&gt;
; put notif SETUP&lt;br /&gt;
exten =&amp;gt; s,1,SET(CALLERID(name)=${CURL(http://votreserveur/calling/calling.php?account=${USERNAME}&amp;amp;caller=${DOLI_CALLER}&amp;amp;callee=${DOLI_CALLE}&amp;amp;type=SETUP&amp;amp;callref=${DOLI_CALLER}&amp;amp;version=1)})&lt;br /&gt;
exten =&amp;gt; s,n,Answer()&lt;br /&gt;
; option : r pour sonnerie d&#039;attente&lt;br /&gt;
; option : e Execute &amp;quot;h&amp;quot; as the peer when this call ends&lt;br /&gt;
; option : t T transphert appelant / appelé&lt;br /&gt;
; option : M() Macro&lt;br /&gt;
; option S() raccorche apres x seconde&lt;br /&gt;
exten =&amp;gt; s,n,Dial(SIP/votreposte, 60,etTrM(dolinotif))&lt;br /&gt;
; put notif RELEASE&lt;br /&gt;
exten =&amp;gt; h,1,SET(CALLERID(name)=${CURL(http://votreserveur/calling/calling.php?account=${USERNAME}&amp;amp;caller=${DOLI_CALLER}&amp;amp;callee=${DOLI_CALLE}&amp;amp;type=RELEASE&amp;amp;callref=${DOLI_CALLER}&amp;amp;version=1)})&lt;br /&gt;
exten =&amp;gt; h,2,Hangup(16)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Under Module incoming call notifications ==&lt;br /&gt;
&lt;br /&gt;
The alert modules are modules that works in real time to inform you of incoming calls. He created a display featuring links to the customer record / contact, and possibly the employee initially called. Several modules are available in different contexts of use.&lt;br /&gt;
&lt;br /&gt;
 - Mod NoRun : Module example, to disable all JavaScript elements call notification&lt;br /&gt;
 - Mod Simplejs : Module original notification via a popup (modal box jquery) in full screen.  Intended for use by a single user of Dolibarr.  Based on a recurring ajax call&lt;br /&gt;
 - Mod Advancedjs : Module advanced reporting, providing a non-intrusive display (top right menu link, and incoming call details click on the link).  Operated mutli-user context.  Based on a recurring ajax call.&lt;br /&gt;
 - Mode Nodejs :  Module advanced notification, it is identical in terms of display module Advancedjs, but operates a complementary nodejs @ server to push information to the customer Dolibarr.  There is no recurring ajax call.  It requires a dedicated server, nodejs installed.  and the servelet provided in the package&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Submodule nodejs pre-requisite===&lt;br /&gt;
&lt;br /&gt;
This module exploits in technology node.js. It is therefore necessary that the server that hosts dolibarr, nodejs be installed. Otherwise, the client submodule dolibarr not work.&lt;br /&gt;
&lt;br /&gt;
==== Servelet Nodejs ====&lt;br /&gt;
&lt;br /&gt;
the configuration possibilities are numerous, we will present a basic installation quickly with these pre-requisite for this servelet. extract the zip nodejsd in your / var / nodejs&lt;br /&gt;
script execution call index.js&lt;br /&gt;
&lt;br /&gt;
Simply launch&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 node /var/nodejs/index.js&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
for the script starts. If you connect to your dolibarr (with nodejs client module enabled), you will see the server will inform the connection of your user id.&lt;br /&gt;
To start your production servelet used the famous &amp;quot;&amp;amp;&amp;quot; so that your servelet does not cut it when you log out of ssh.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt; node /var/nodejs/index.js &amp;amp; &amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once installed and configured your servelet (see config.js file), go to the Control Panel module calling dolibarr,  enable the module nodejs, then specify the url and port of your servelet&lt;br /&gt;
&lt;br /&gt;
===Note===&lt;br /&gt;
It is possible to modify this behavior with module named alert_xxx.php&lt;/div&gt;</summary>
		<author><name>Oscim</name></author>
	</entry>
	<entry>
		<id>https://wiki.dolibarr.org/index.php?title=Module_Calling_en&amp;diff=29125</id>
		<title>Module Calling en</title>
		<link rel="alternate" type="text/html" href="https://wiki.dolibarr.org/index.php?title=Module_Calling_en&amp;diff=29125"/>
		<updated>2013-04-02T12:56:06Z</updated>

		<summary type="html">&lt;p&gt;Oscim: /* Sous Module de liaison vers api de voip */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Modules complémentaires]]&lt;br /&gt;
[[Category:Prélèvements bancaires]]&lt;br /&gt;
{{TemplateDocDev}}&lt;br /&gt;
{{TemplateDocUtil}}&lt;br /&gt;
= Informations =&lt;br /&gt;
{{TemplateModuleInfo&lt;br /&gt;
|editor=Oscim &lt;br /&gt;
|web= oscim.fr&lt;br /&gt;
|status=stable&lt;br /&gt;
|prerequisites= module_clicktodial&lt;br /&gt;
|minversion=3.3.x&lt;br /&gt;
|note=&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
= Vocation =&lt;br /&gt;
Provides support for monitoring phone calls (incoming and outgoing).&lt;br /&gt;
An alert when an incoming call contains links to customer information and / or information known collaborator. Logging calls in sheets and in the third calendar&lt;br /&gt;
&lt;br /&gt;
= Install =&lt;br /&gt;
{{InstallModuleEn}}&lt;br /&gt;
&lt;br /&gt;
= Configuration =&lt;br /&gt;
{{ActivationModuleEn}}&lt;br /&gt;
&lt;br /&gt;
This module enables and configures the module clicktodial dolibarr already present during the installation. Once installed and configured the module, you will need to combine dolibarr your service provider voip telephony.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Config clicktocall ==&lt;br /&gt;
This module natively in st dolibarr on the record of each user&#039;s internal dolibarr you have a tab clicktocall.Il is necessary to fill the login information (login / pass / tel), and the phone number used. url trigger click to call is not defined module calling, so do not change the configuration items clicktocall&lt;br /&gt;
&lt;br /&gt;
== Configuration link by SIP provider  ==&lt;br /&gt;
Your choice of provider may limit the use of the module according to the API of the latter. This module comes with submodule to adjust it to your supplier. List of supplier supported to date:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 - Keyyo : Voir keyyo.fr -The API supports incoming and outgoing calls&lt;br /&gt;
 - OVH : Voir Ovh.fr  - The API supports [[ outgoing calls]]&lt;br /&gt;
 - OVH + @Asterisk : ovh extension module adds support outgoing calls through a PBX private.  Requires to install and configure a server asterisk - The API supports incoming and outgoing calls&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Link in Agenda and action ==&lt;br /&gt;
&lt;br /&gt;
Add an action in the dictionary &amp;quot;Action List&amp;quot; table llx_c_actioncomm to list the specific action to telephony;&lt;br /&gt;
 - code : AC_TEL&lt;br /&gt;
 - Libellé : Phone call&lt;br /&gt;
 - type : system&lt;br /&gt;
&lt;br /&gt;
This addition allows you to use the phone main menu button, which should limit the display to only telephony events.&lt;br /&gt;
&lt;br /&gt;
== Options module ==&lt;br /&gt;
&lt;br /&gt;
===Alert mode ===&lt;br /&gt;
&lt;br /&gt;
This option allows you to manage the behavior when incoming calls;&lt;br /&gt;
&lt;br /&gt;
 - No popup notification and no notification, you can choose in this case the module sub NoRun notification module&lt;br /&gt;
 - Only users are notified of the called station, only informs the user whose number is called.  This selection takes into account the extension configured on the user profile, and the line number specified in the tab clicktocall&lt;br /&gt;
 - All user configured for clicktodial are notified&lt;br /&gt;
 - All users are notified&lt;br /&gt;
&lt;br /&gt;
=== behavior on the number of employees and the company ===&lt;br /&gt;
This option sets the behavior when an incoming call to an employee (including mobile number with are), internal call, call an external site.&lt;br /&gt;
&lt;br /&gt;
 - Ignore incoming calls numbers business users (pro / personal / mobile), no notification or record in shares&lt;br /&gt;
 - Accept and notify unless the corresponding user&lt;br /&gt;
&lt;br /&gt;
=== Information collaborator called ===&lt;br /&gt;
Display additional information about the employee actually called by a third party (based on the number of phone contact).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Creating sheet ===&lt;br /&gt;
In the case of incoming call, the number is not found in the database, a listing can be created, with the name of the phone number.&lt;br /&gt;
&lt;br /&gt;
 - No creation of plug&lt;br /&gt;
 - Create the third number of the caller&lt;br /&gt;
 - Create a contact number of the caller&lt;br /&gt;
&lt;br /&gt;
=== Anonymous Calls  ===&lt;br /&gt;
Can create a form for anonymous calls.&lt;br /&gt;
&lt;br /&gt;
=== Trace calls ===&lt;br /&gt;
Trace calls in actions / agenda dolibarr; You can disable this option.&lt;br /&gt;
&lt;br /&gt;
= Utilisation =&lt;br /&gt;
&lt;br /&gt;
La manipulation et l&#039;utilisation de ce module reste simple, compte tenu qu&#039;il ne généré pas d&#039;action particulières. le clicktocall sur les numéro de téléphone vous assure la possibilité de lancer des appels en 1 clic. &#039;&#039;Attention toutefois les numéro de fax ce retrouvent aussi avec un liens de click to call&#039;&#039;. &lt;br /&gt;
&lt;br /&gt;
Lors d&#039;un appel entrant, en fonction de la configuration du mode d&#039;alerte, vous aurez une boite affichant le liens vers la fiche du contact et/ou de la société qui cherche à vous joindre. De plus les appels sont tracés dans l&#039;agenda.&lt;br /&gt;
&lt;br /&gt;
= Information Développement  =&lt;br /&gt;
&lt;br /&gt;
== General ==&lt;br /&gt;
&lt;br /&gt;
Operation of the module is based on file &amp;quot;calling.php&amp;quot; at the root of public Dolibarr. That it is accessible via http. All calls to this module passes through the file, so that incoming calls outgoing. The module uses a table of additional data (llx_calling) to trace incoming calls, and the called user. Calling a folder is created in the Documents folder to store user specified javascript file.&lt;br /&gt;
&lt;br /&gt;
== Module in connection to api voip ==&lt;br /&gt;
&lt;br /&gt;
It is possible to add and change modules to interact with APIs VOIP. modules provides a link provided to specific services if you use a different API, it will be necessary to create your own link module.&lt;br /&gt;
File management module API must be called api_xxxx.php, where xxxx is the name of the service provider&lt;br /&gt;
&lt;br /&gt;
===Making a call  ===&lt;br /&gt;
This connection uses the module ClicktoCall. It ensures the issuance of a call, which once launched will ring your phone, and that of the party you are calling. The use of clicktodial automatically complete the third action sheet / contact.&lt;br /&gt;
For data storage, and display of the popup, a file is created in Documents / calling of Dolibarr. This file provides storage for temporary data.&lt;br /&gt;
&lt;br /&gt;
=== Receiving a call  ===&lt;br /&gt;
This section is a little more complex highly dependent on service by offering VOIP to which you have subscribed.&lt;br /&gt;
The interception of calls, will not allow you to pick up your phone, but you will propose a popup dialog, providing you with the links to the third sheet / corresponding contact, if it exists in the database donnée.Dans otherwise it will be possible to create a third sheet / contact based on phone number.&lt;br /&gt;
All incoming calls will complete the third action sheet. If unanswered call, the task will remain open. In the case of a call off hook, the stain will be closed.&lt;br /&gt;
&lt;br /&gt;
====Configuration api third ====&lt;br /&gt;
&lt;br /&gt;
It will be necessary to operationalize the notification of incoming calls to specify a URL for api third notification, which must initiate this notification. Use the incoming URL, in your view configuration page. The latter being generated by a module API accurate to replace GET variables are specific to that provider.&lt;br /&gt;
&lt;br /&gt;
===Note===&lt;br /&gt;
Storing phone number database. To be extracted and recognized, it is desirable to use the nomenclature international / national numbers. 02 35 98 63 65 or 33 6 98 65 87 54 65 98 or 002 32 78&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Configuration element asterisk ===&lt;br /&gt;
&lt;br /&gt;
Configuring Asterisk server is full and complex, the possibilities are huge, so I encourage you to read the tutorial specialist. Remember however that the PBX are highly contested and those that can generate significant cost if your server does this hack or is misconfigured, given that it is a gateway to the telephone network, and these rates vary (mobile, call overtaxed, international, etc. ..). For my own part, I use asterisk in the management of incoming calls, outgoing calls exploiting API ovh via click to call. Dolibarr calling module is designed to asterisk in this direction.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Fichier extensions.conf ====&lt;br /&gt;
following configuration elements start from the premise that you have installed an asterisk functional and configured your connection with your provider. It merely bring the basics to intercept incoming call and notification to Dolibarr. He must return at the same time to sip your line.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Context incoming call  =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
; appel entrant via numero provider&lt;br /&gt;
[process_entrant]&lt;br /&gt;
  exten =&amp;gt; _X.,1,NoOp()&lt;br /&gt;
  exten =&amp;gt;  _X.,n,Set(__DOLI_CALLER=${CUT(CUT(SIP_HEADER(From),@,1),:, 2)})&lt;br /&gt;
  exten =&amp;gt;  _X.,n,Set(__DOLI_CALLE=${CUT(CUT(SIP_HEADER(To),@,1),:, 2)})&lt;br /&gt;
&lt;br /&gt;
; REDIRECTION&lt;br /&gt;
exten =&amp;gt;  _X.,n,Goto(dolibarr_notification,s,1)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Context macro-notification  =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
; Doli&lt;br /&gt;
; macro pour event CONNECT&lt;br /&gt;
[macro-dolinotif]&lt;br /&gt;
exten =&amp;gt; s,1,SET(${CURL(http://votreserveur/calling/calling.php?account=${EXTEN}&amp;amp;caller=${DOLI_CALLER}&amp;amp;callee=${DOLI_CALLE}&amp;amp;type=CONNECT&amp;amp;callref=${DOLI_CALLER}&amp;amp;version=1)})&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Context notification  =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
; Doli&lt;br /&gt;
; Process&lt;br /&gt;
[dolibarr_notification]&lt;br /&gt;
; put notif SETUP&lt;br /&gt;
exten =&amp;gt; s,1,SET(CALLERID(name)=${CURL(http://votreserveur/calling/calling.php?account=${USERNAME}&amp;amp;caller=${DOLI_CALLER}&amp;amp;callee=${DOLI_CALLE}&amp;amp;type=SETUP&amp;amp;callref=${DOLI_CALLER}&amp;amp;version=1)})&lt;br /&gt;
exten =&amp;gt; s,n,Answer()&lt;br /&gt;
; option : r pour sonnerie d&#039;attente&lt;br /&gt;
; option : e Execute &amp;quot;h&amp;quot; as the peer when this call ends&lt;br /&gt;
; option : t T transphert appelant / appelé&lt;br /&gt;
; option : M() Macro&lt;br /&gt;
; option S() raccorche apres x seconde&lt;br /&gt;
exten =&amp;gt; s,n,Dial(SIP/votreposte, 60,etTrM(dolinotif))&lt;br /&gt;
; put notif RELEASE&lt;br /&gt;
exten =&amp;gt; h,1,SET(CALLERID(name)=${CURL(http://votreserveur/calling/calling.php?account=${USERNAME}&amp;amp;caller=${DOLI_CALLER}&amp;amp;callee=${DOLI_CALLE}&amp;amp;type=RELEASE&amp;amp;callref=${DOLI_CALLER}&amp;amp;version=1)})&lt;br /&gt;
exten =&amp;gt; h,2,Hangup(16)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Under Module incoming call notifications ==&lt;br /&gt;
&lt;br /&gt;
The alert modules are modules that works in real time to inform you of incoming calls. He created a display featuring links to the customer record / contact, and possibly the employee initially called. Several modules are available in different contexts of use.&lt;br /&gt;
&lt;br /&gt;
 - Mod NoRun : Module example, to disable all JavaScript elements call notification&lt;br /&gt;
 - Mod Simplejs : Module original notification via a popup (modal box jquery) in full screen.  Intended for use by a single user of Dolibarr.  Based on a recurring ajax call&lt;br /&gt;
 - Mod Advancedjs : Module advanced reporting, providing a non-intrusive display (top right menu link, and incoming call details click on the link).  Operated mutli-user context.  Based on a recurring ajax call.&lt;br /&gt;
 - Mode Nodejs :  Module advanced notification, it is identical in terms of display module Advancedjs, but operates a complementary nodejs @ server to push information to the customer Dolibarr.  There is no recurring ajax call.  It requires a dedicated server, nodejs installed.  and the servelet provided in the package&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Submodule nodejs pre-requisite===&lt;br /&gt;
&lt;br /&gt;
This module exploits in technology node.js. It is therefore necessary that the server that hosts dolibarr, nodejs be installed. Otherwise, the client submodule dolibarr not work.&lt;br /&gt;
&lt;br /&gt;
==== Servelet Nodejs ====&lt;br /&gt;
&lt;br /&gt;
the configuration possibilities are numerous, we will present a basic installation quickly with these pre-requisite for this servelet. extract the zip nodejsd in your / var / nodejs&lt;br /&gt;
script execution call index.js&lt;br /&gt;
&lt;br /&gt;
Simply launch&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 node /var/nodejs/index.js&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
for the script starts. If you connect to your dolibarr (with nodejs client module enabled), you will see the server will inform the connection of your user id.&lt;br /&gt;
To start your production servelet used the famous &amp;quot;&amp;amp;&amp;quot; so that your servelet does not cut it when you log out of ssh.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt; node /var/nodejs/index.js &amp;amp; &amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once installed and configured your servelet (see config.js file), go to the Control Panel module calling dolibarr,  enable the module nodejs, then specify the url and port of your servelet&lt;br /&gt;
&lt;br /&gt;
===Note===&lt;br /&gt;
It is possible to modify this behavior with module named alert_xxx.php&lt;/div&gt;</summary>
		<author><name>Oscim</name></author>
	</entry>
	<entry>
		<id>https://wiki.dolibarr.org/index.php?title=Module_Calling_en&amp;diff=29124</id>
		<title>Module Calling en</title>
		<link rel="alternate" type="text/html" href="https://wiki.dolibarr.org/index.php?title=Module_Calling_en&amp;diff=29124"/>
		<updated>2013-04-02T12:54:36Z</updated>

		<summary type="html">&lt;p&gt;Oscim: /* Généralités */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Modules complémentaires]]&lt;br /&gt;
[[Category:Prélèvements bancaires]]&lt;br /&gt;
{{TemplateDocDev}}&lt;br /&gt;
{{TemplateDocUtil}}&lt;br /&gt;
= Informations =&lt;br /&gt;
{{TemplateModuleInfo&lt;br /&gt;
|editor=Oscim &lt;br /&gt;
|web= oscim.fr&lt;br /&gt;
|status=stable&lt;br /&gt;
|prerequisites= module_clicktodial&lt;br /&gt;
|minversion=3.3.x&lt;br /&gt;
|note=&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
= Vocation =&lt;br /&gt;
Provides support for monitoring phone calls (incoming and outgoing).&lt;br /&gt;
An alert when an incoming call contains links to customer information and / or information known collaborator. Logging calls in sheets and in the third calendar&lt;br /&gt;
&lt;br /&gt;
= Install =&lt;br /&gt;
{{InstallModuleEn}}&lt;br /&gt;
&lt;br /&gt;
= Configuration =&lt;br /&gt;
{{ActivationModuleEn}}&lt;br /&gt;
&lt;br /&gt;
This module enables and configures the module clicktodial dolibarr already present during the installation. Once installed and configured the module, you will need to combine dolibarr your service provider voip telephony.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Config clicktocall ==&lt;br /&gt;
This module natively in st dolibarr on the record of each user&#039;s internal dolibarr you have a tab clicktocall.Il is necessary to fill the login information (login / pass / tel), and the phone number used. url trigger click to call is not defined module calling, so do not change the configuration items clicktocall&lt;br /&gt;
&lt;br /&gt;
== Configuration link by SIP provider  ==&lt;br /&gt;
Your choice of provider may limit the use of the module according to the API of the latter. This module comes with submodule to adjust it to your supplier. List of supplier supported to date:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 - Keyyo : Voir keyyo.fr -The API supports incoming and outgoing calls&lt;br /&gt;
 - OVH : Voir Ovh.fr  - The API supports [[ outgoing calls]]&lt;br /&gt;
 - OVH + @Asterisk : ovh extension module adds support outgoing calls through a PBX private.  Requires to install and configure a server asterisk - The API supports incoming and outgoing calls&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Link in Agenda and action ==&lt;br /&gt;
&lt;br /&gt;
Add an action in the dictionary &amp;quot;Action List&amp;quot; table llx_c_actioncomm to list the specific action to telephony;&lt;br /&gt;
 - code : AC_TEL&lt;br /&gt;
 - Libellé : Phone call&lt;br /&gt;
 - type : system&lt;br /&gt;
&lt;br /&gt;
This addition allows you to use the phone main menu button, which should limit the display to only telephony events.&lt;br /&gt;
&lt;br /&gt;
== Options module ==&lt;br /&gt;
&lt;br /&gt;
===Alert mode ===&lt;br /&gt;
&lt;br /&gt;
This option allows you to manage the behavior when incoming calls;&lt;br /&gt;
&lt;br /&gt;
 - No popup notification and no notification, you can choose in this case the module sub NoRun notification module&lt;br /&gt;
 - Only users are notified of the called station, only informs the user whose number is called.  This selection takes into account the extension configured on the user profile, and the line number specified in the tab clicktocall&lt;br /&gt;
 - All user configured for clicktodial are notified&lt;br /&gt;
 - All users are notified&lt;br /&gt;
&lt;br /&gt;
=== behavior on the number of employees and the company ===&lt;br /&gt;
This option sets the behavior when an incoming call to an employee (including mobile number with are), internal call, call an external site.&lt;br /&gt;
&lt;br /&gt;
 - Ignore incoming calls numbers business users (pro / personal / mobile), no notification or record in shares&lt;br /&gt;
 - Accept and notify unless the corresponding user&lt;br /&gt;
&lt;br /&gt;
=== Information collaborator called ===&lt;br /&gt;
Display additional information about the employee actually called by a third party (based on the number of phone contact).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Creating sheet ===&lt;br /&gt;
In the case of incoming call, the number is not found in the database, a listing can be created, with the name of the phone number.&lt;br /&gt;
&lt;br /&gt;
 - No creation of plug&lt;br /&gt;
 - Create the third number of the caller&lt;br /&gt;
 - Create a contact number of the caller&lt;br /&gt;
&lt;br /&gt;
=== Anonymous Calls  ===&lt;br /&gt;
Can create a form for anonymous calls.&lt;br /&gt;
&lt;br /&gt;
=== Trace calls ===&lt;br /&gt;
Trace calls in actions / agenda dolibarr; You can disable this option.&lt;br /&gt;
&lt;br /&gt;
= Utilisation =&lt;br /&gt;
&lt;br /&gt;
La manipulation et l&#039;utilisation de ce module reste simple, compte tenu qu&#039;il ne généré pas d&#039;action particulières. le clicktocall sur les numéro de téléphone vous assure la possibilité de lancer des appels en 1 clic. &#039;&#039;Attention toutefois les numéro de fax ce retrouvent aussi avec un liens de click to call&#039;&#039;. &lt;br /&gt;
&lt;br /&gt;
Lors d&#039;un appel entrant, en fonction de la configuration du mode d&#039;alerte, vous aurez une boite affichant le liens vers la fiche du contact et/ou de la société qui cherche à vous joindre. De plus les appels sont tracés dans l&#039;agenda.&lt;br /&gt;
&lt;br /&gt;
= Information Développement  =&lt;br /&gt;
&lt;br /&gt;
== General ==&lt;br /&gt;
&lt;br /&gt;
Operation of the module is based on file &amp;quot;calling.php&amp;quot; at the root of public Dolibarr. That it is accessible via http. All calls to this module passes through the file, so that incoming calls outgoing. The module uses a table of additional data (llx_calling) to trace incoming calls, and the called user. Calling a folder is created in the Documents folder to store user specified javascript file.&lt;br /&gt;
&lt;br /&gt;
== Sous Module de liaison vers api de voip ==&lt;br /&gt;
&lt;br /&gt;
Il est possible d&#039;ajouter et modifier les modules d&#039;interaction avec les api de VOIP.  les modules fournis assure une liaison vers des services precis, si vous utiliser une autre api, il sera necessaire de créer votre propre module de liaison.&lt;br /&gt;
&lt;br /&gt;
Le fichier d&#039;un module de gestion d&#039;api doit être nommé api_xxxx.php , ou xxxx représente le nom du fournisseur du service&lt;br /&gt;
&lt;br /&gt;
=== Émission d&#039;un appel  ===&lt;br /&gt;
Cette liaison exploite le module ClicktoCall. Il assure l’émission d&#039;un appel , qui une fois lancé fera sonner votre téléphone, et celui de l&#039;interlocuteur que vous appelez.&lt;br /&gt;
L&#039;utilisation du clicktodial complétera automatiquement la fiche action du tiers/contact.&lt;br /&gt;
&lt;br /&gt;
Pour la conservation des données, et l&#039;affichage du popup, un fichier est créer dans Documents/calling de dolibarr. Ce fichier assure le stockage des données temporaire. &lt;br /&gt;
&lt;br /&gt;
=== Réception d&#039;un appel  ===&lt;br /&gt;
Cette section un peu plus complexe sera très dépendante des service offert par l&#039;offre de VOIP à laquelle vous avez souscrit.&lt;br /&gt;
&lt;br /&gt;
L&#039;interception des appels, ne vous permettra pas de décrocher votre téléphone, mais vous proposera un popup de dialogue, vous fournissant le liens vers la fiche Tiers/contact correspondante, si celle ci existe dans la base de donnée.Dans le cas contraire, il sera possible de créer une fiche de tiers/contact basé sur le numéro de téléphone.&lt;br /&gt;
&lt;br /&gt;
Tous appel entrant viendra compléter la fiche action du tiers. En cas d&#039;appel non répondu, la tache restera ouverte. Dans le cas d&#039;un appel décroché, la tache sera clôturé.&lt;br /&gt;
&lt;br /&gt;
==== Configuration de l&#039;api tiers ====&lt;br /&gt;
&lt;br /&gt;
Il sera nécessaire pour rendre opérationnel la notification des appels entrant de préciser une URL de notification pour l&#039;api tiers, qui doit initier cette notification. Utiliser l&#039; URL entrant , afficher dans votre page de configuration . Celle ci étant générer par le module d&#039;une  api précise, les variables GET a remplacer, sont spécifique à ce fournisseur.&lt;br /&gt;
&lt;br /&gt;
===Note===&lt;br /&gt;
- Stockage des numéro de téléphone en base de donnée.&lt;br /&gt;
Pour pouvoir être extrait et reconnu, il est souhaitable d&#039;utiliser la nomenclature international / national des numéros.&lt;br /&gt;
02 35 98 63 65 ou 33 6 98 65 87 54 ou 002 65 98 32 78&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Configuration element asterisk ===&lt;br /&gt;
&lt;br /&gt;
Configuring Asterisk server is full and complex, the possibilities are huge, so I encourage you to read the tutorial specialist. Remember however that the PBX are highly contested and those that can generate significant cost if your server does this hack or is misconfigured, given that it is a gateway to the telephone network, and these rates vary (mobile, call overtaxed, international, etc. ..). For my own part, I use asterisk in the management of incoming calls, outgoing calls exploiting API ovh via click to call. Dolibarr calling module is designed to asterisk in this direction.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Fichier extensions.conf ====&lt;br /&gt;
following configuration elements start from the premise that you have installed an asterisk functional and configured your connection with your provider. It merely bring the basics to intercept incoming call and notification to Dolibarr. He must return at the same time to sip your line.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Context incoming call  =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
; appel entrant via numero provider&lt;br /&gt;
[process_entrant]&lt;br /&gt;
  exten =&amp;gt; _X.,1,NoOp()&lt;br /&gt;
  exten =&amp;gt;  _X.,n,Set(__DOLI_CALLER=${CUT(CUT(SIP_HEADER(From),@,1),:, 2)})&lt;br /&gt;
  exten =&amp;gt;  _X.,n,Set(__DOLI_CALLE=${CUT(CUT(SIP_HEADER(To),@,1),:, 2)})&lt;br /&gt;
&lt;br /&gt;
; REDIRECTION&lt;br /&gt;
exten =&amp;gt;  _X.,n,Goto(dolibarr_notification,s,1)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Context macro-notification  =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
; Doli&lt;br /&gt;
; macro pour event CONNECT&lt;br /&gt;
[macro-dolinotif]&lt;br /&gt;
exten =&amp;gt; s,1,SET(${CURL(http://votreserveur/calling/calling.php?account=${EXTEN}&amp;amp;caller=${DOLI_CALLER}&amp;amp;callee=${DOLI_CALLE}&amp;amp;type=CONNECT&amp;amp;callref=${DOLI_CALLER}&amp;amp;version=1)})&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Context notification  =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
; Doli&lt;br /&gt;
; Process&lt;br /&gt;
[dolibarr_notification]&lt;br /&gt;
; put notif SETUP&lt;br /&gt;
exten =&amp;gt; s,1,SET(CALLERID(name)=${CURL(http://votreserveur/calling/calling.php?account=${USERNAME}&amp;amp;caller=${DOLI_CALLER}&amp;amp;callee=${DOLI_CALLE}&amp;amp;type=SETUP&amp;amp;callref=${DOLI_CALLER}&amp;amp;version=1)})&lt;br /&gt;
exten =&amp;gt; s,n,Answer()&lt;br /&gt;
; option : r pour sonnerie d&#039;attente&lt;br /&gt;
; option : e Execute &amp;quot;h&amp;quot; as the peer when this call ends&lt;br /&gt;
; option : t T transphert appelant / appelé&lt;br /&gt;
; option : M() Macro&lt;br /&gt;
; option S() raccorche apres x seconde&lt;br /&gt;
exten =&amp;gt; s,n,Dial(SIP/votreposte, 60,etTrM(dolinotif))&lt;br /&gt;
; put notif RELEASE&lt;br /&gt;
exten =&amp;gt; h,1,SET(CALLERID(name)=${CURL(http://votreserveur/calling/calling.php?account=${USERNAME}&amp;amp;caller=${DOLI_CALLER}&amp;amp;callee=${DOLI_CALLE}&amp;amp;type=RELEASE&amp;amp;callref=${DOLI_CALLER}&amp;amp;version=1)})&lt;br /&gt;
exten =&amp;gt; h,2,Hangup(16)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Under Module incoming call notifications ==&lt;br /&gt;
&lt;br /&gt;
The alert modules are modules that works in real time to inform you of incoming calls. He created a display featuring links to the customer record / contact, and possibly the employee initially called. Several modules are available in different contexts of use.&lt;br /&gt;
&lt;br /&gt;
 - Mod NoRun : Module example, to disable all JavaScript elements call notification&lt;br /&gt;
 - Mod Simplejs : Module original notification via a popup (modal box jquery) in full screen.  Intended for use by a single user of Dolibarr.  Based on a recurring ajax call&lt;br /&gt;
 - Mod Advancedjs : Module advanced reporting, providing a non-intrusive display (top right menu link, and incoming call details click on the link).  Operated mutli-user context.  Based on a recurring ajax call.&lt;br /&gt;
 - Mode Nodejs :  Module advanced notification, it is identical in terms of display module Advancedjs, but operates a complementary nodejs @ server to push information to the customer Dolibarr.  There is no recurring ajax call.  It requires a dedicated server, nodejs installed.  and the servelet provided in the package&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Submodule nodejs pre-requisite===&lt;br /&gt;
&lt;br /&gt;
This module exploits in technology node.js. It is therefore necessary that the server that hosts dolibarr, nodejs be installed. Otherwise, the client submodule dolibarr not work.&lt;br /&gt;
&lt;br /&gt;
==== Servelet Nodejs ====&lt;br /&gt;
&lt;br /&gt;
the configuration possibilities are numerous, we will present a basic installation quickly with these pre-requisite for this servelet. extract the zip nodejsd in your / var / nodejs&lt;br /&gt;
script execution call index.js&lt;br /&gt;
&lt;br /&gt;
Simply launch&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 node /var/nodejs/index.js&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
for the script starts. If you connect to your dolibarr (with nodejs client module enabled), you will see the server will inform the connection of your user id.&lt;br /&gt;
To start your production servelet used the famous &amp;quot;&amp;amp;&amp;quot; so that your servelet does not cut it when you log out of ssh.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt; node /var/nodejs/index.js &amp;amp; &amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once installed and configured your servelet (see config.js file), go to the Control Panel module calling dolibarr,  enable the module nodejs, then specify the url and port of your servelet&lt;br /&gt;
&lt;br /&gt;
===Note===&lt;br /&gt;
It is possible to modify this behavior with module named alert_xxx.php&lt;/div&gt;</summary>
		<author><name>Oscim</name></author>
	</entry>
	<entry>
		<id>https://wiki.dolibarr.org/index.php?title=Module_Calling_en&amp;diff=29123</id>
		<title>Module Calling en</title>
		<link rel="alternate" type="text/html" href="https://wiki.dolibarr.org/index.php?title=Module_Calling_en&amp;diff=29123"/>
		<updated>2013-04-02T12:54:08Z</updated>

		<summary type="html">&lt;p&gt;Oscim: /* Sous Module des notifications d&amp;#039;appel entrant */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Modules complémentaires]]&lt;br /&gt;
[[Category:Prélèvements bancaires]]&lt;br /&gt;
{{TemplateDocDev}}&lt;br /&gt;
{{TemplateDocUtil}}&lt;br /&gt;
= Informations =&lt;br /&gt;
{{TemplateModuleInfo&lt;br /&gt;
|editor=Oscim &lt;br /&gt;
|web= oscim.fr&lt;br /&gt;
|status=stable&lt;br /&gt;
|prerequisites= module_clicktodial&lt;br /&gt;
|minversion=3.3.x&lt;br /&gt;
|note=&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
= Vocation =&lt;br /&gt;
Provides support for monitoring phone calls (incoming and outgoing).&lt;br /&gt;
An alert when an incoming call contains links to customer information and / or information known collaborator. Logging calls in sheets and in the third calendar&lt;br /&gt;
&lt;br /&gt;
= Install =&lt;br /&gt;
{{InstallModuleEn}}&lt;br /&gt;
&lt;br /&gt;
= Configuration =&lt;br /&gt;
{{ActivationModuleEn}}&lt;br /&gt;
&lt;br /&gt;
This module enables and configures the module clicktodial dolibarr already present during the installation. Once installed and configured the module, you will need to combine dolibarr your service provider voip telephony.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Config clicktocall ==&lt;br /&gt;
This module natively in st dolibarr on the record of each user&#039;s internal dolibarr you have a tab clicktocall.Il is necessary to fill the login information (login / pass / tel), and the phone number used. url trigger click to call is not defined module calling, so do not change the configuration items clicktocall&lt;br /&gt;
&lt;br /&gt;
== Configuration link by SIP provider  ==&lt;br /&gt;
Your choice of provider may limit the use of the module according to the API of the latter. This module comes with submodule to adjust it to your supplier. List of supplier supported to date:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 - Keyyo : Voir keyyo.fr -The API supports incoming and outgoing calls&lt;br /&gt;
 - OVH : Voir Ovh.fr  - The API supports [[ outgoing calls]]&lt;br /&gt;
 - OVH + @Asterisk : ovh extension module adds support outgoing calls through a PBX private.  Requires to install and configure a server asterisk - The API supports incoming and outgoing calls&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Link in Agenda and action ==&lt;br /&gt;
&lt;br /&gt;
Add an action in the dictionary &amp;quot;Action List&amp;quot; table llx_c_actioncomm to list the specific action to telephony;&lt;br /&gt;
 - code : AC_TEL&lt;br /&gt;
 - Libellé : Phone call&lt;br /&gt;
 - type : system&lt;br /&gt;
&lt;br /&gt;
This addition allows you to use the phone main menu button, which should limit the display to only telephony events.&lt;br /&gt;
&lt;br /&gt;
== Options module ==&lt;br /&gt;
&lt;br /&gt;
===Alert mode ===&lt;br /&gt;
&lt;br /&gt;
This option allows you to manage the behavior when incoming calls;&lt;br /&gt;
&lt;br /&gt;
 - No popup notification and no notification, you can choose in this case the module sub NoRun notification module&lt;br /&gt;
 - Only users are notified of the called station, only informs the user whose number is called.  This selection takes into account the extension configured on the user profile, and the line number specified in the tab clicktocall&lt;br /&gt;
 - All user configured for clicktodial are notified&lt;br /&gt;
 - All users are notified&lt;br /&gt;
&lt;br /&gt;
=== behavior on the number of employees and the company ===&lt;br /&gt;
This option sets the behavior when an incoming call to an employee (including mobile number with are), internal call, call an external site.&lt;br /&gt;
&lt;br /&gt;
 - Ignore incoming calls numbers business users (pro / personal / mobile), no notification or record in shares&lt;br /&gt;
 - Accept and notify unless the corresponding user&lt;br /&gt;
&lt;br /&gt;
=== Information collaborator called ===&lt;br /&gt;
Display additional information about the employee actually called by a third party (based on the number of phone contact).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Creating sheet ===&lt;br /&gt;
In the case of incoming call, the number is not found in the database, a listing can be created, with the name of the phone number.&lt;br /&gt;
&lt;br /&gt;
 - No creation of plug&lt;br /&gt;
 - Create the third number of the caller&lt;br /&gt;
 - Create a contact number of the caller&lt;br /&gt;
&lt;br /&gt;
=== Anonymous Calls  ===&lt;br /&gt;
Can create a form for anonymous calls.&lt;br /&gt;
&lt;br /&gt;
=== Trace calls ===&lt;br /&gt;
Trace calls in actions / agenda dolibarr; You can disable this option.&lt;br /&gt;
&lt;br /&gt;
= Utilisation =&lt;br /&gt;
&lt;br /&gt;
La manipulation et l&#039;utilisation de ce module reste simple, compte tenu qu&#039;il ne généré pas d&#039;action particulières. le clicktocall sur les numéro de téléphone vous assure la possibilité de lancer des appels en 1 clic. &#039;&#039;Attention toutefois les numéro de fax ce retrouvent aussi avec un liens de click to call&#039;&#039;. &lt;br /&gt;
&lt;br /&gt;
Lors d&#039;un appel entrant, en fonction de la configuration du mode d&#039;alerte, vous aurez une boite affichant le liens vers la fiche du contact et/ou de la société qui cherche à vous joindre. De plus les appels sont tracés dans l&#039;agenda.&lt;br /&gt;
&lt;br /&gt;
= Information Développement  =&lt;br /&gt;
&lt;br /&gt;
== Généralités ==&lt;br /&gt;
&lt;br /&gt;
Le fonctionnement du module s’appuie sur un fichier &amp;quot;calling.php&amp;quot; à la racine  public de dolibarr. Celui ci est donc accessible via http. Tous les appels de ce module transite par ce fichier, tant les appels entrant que les sortant.&lt;br /&gt;
Le module utilise une table de donnée supplémentaire (llx_calling ) afin de tracer les appels entrant, et l&#039;utilisateur  appelé. Un dossier calling est crée dans la dossier Documents afin de stocker des fichier javascript spécifique par utilisateur.&lt;br /&gt;
&lt;br /&gt;
== Sous Module de liaison vers api de voip ==&lt;br /&gt;
&lt;br /&gt;
Il est possible d&#039;ajouter et modifier les modules d&#039;interaction avec les api de VOIP.  les modules fournis assure une liaison vers des services precis, si vous utiliser une autre api, il sera necessaire de créer votre propre module de liaison.&lt;br /&gt;
&lt;br /&gt;
Le fichier d&#039;un module de gestion d&#039;api doit être nommé api_xxxx.php , ou xxxx représente le nom du fournisseur du service&lt;br /&gt;
&lt;br /&gt;
=== Émission d&#039;un appel  ===&lt;br /&gt;
Cette liaison exploite le module ClicktoCall. Il assure l’émission d&#039;un appel , qui une fois lancé fera sonner votre téléphone, et celui de l&#039;interlocuteur que vous appelez.&lt;br /&gt;
L&#039;utilisation du clicktodial complétera automatiquement la fiche action du tiers/contact.&lt;br /&gt;
&lt;br /&gt;
Pour la conservation des données, et l&#039;affichage du popup, un fichier est créer dans Documents/calling de dolibarr. Ce fichier assure le stockage des données temporaire. &lt;br /&gt;
&lt;br /&gt;
=== Réception d&#039;un appel  ===&lt;br /&gt;
Cette section un peu plus complexe sera très dépendante des service offert par l&#039;offre de VOIP à laquelle vous avez souscrit.&lt;br /&gt;
&lt;br /&gt;
L&#039;interception des appels, ne vous permettra pas de décrocher votre téléphone, mais vous proposera un popup de dialogue, vous fournissant le liens vers la fiche Tiers/contact correspondante, si celle ci existe dans la base de donnée.Dans le cas contraire, il sera possible de créer une fiche de tiers/contact basé sur le numéro de téléphone.&lt;br /&gt;
&lt;br /&gt;
Tous appel entrant viendra compléter la fiche action du tiers. En cas d&#039;appel non répondu, la tache restera ouverte. Dans le cas d&#039;un appel décroché, la tache sera clôturé.&lt;br /&gt;
&lt;br /&gt;
==== Configuration de l&#039;api tiers ====&lt;br /&gt;
&lt;br /&gt;
Il sera nécessaire pour rendre opérationnel la notification des appels entrant de préciser une URL de notification pour l&#039;api tiers, qui doit initier cette notification. Utiliser l&#039; URL entrant , afficher dans votre page de configuration . Celle ci étant générer par le module d&#039;une  api précise, les variables GET a remplacer, sont spécifique à ce fournisseur.&lt;br /&gt;
&lt;br /&gt;
===Note===&lt;br /&gt;
- Stockage des numéro de téléphone en base de donnée.&lt;br /&gt;
Pour pouvoir être extrait et reconnu, il est souhaitable d&#039;utiliser la nomenclature international / national des numéros.&lt;br /&gt;
02 35 98 63 65 ou 33 6 98 65 87 54 ou 002 65 98 32 78&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Configuration element asterisk ===&lt;br /&gt;
&lt;br /&gt;
Configuring Asterisk server is full and complex, the possibilities are huge, so I encourage you to read the tutorial specialist. Remember however that the PBX are highly contested and those that can generate significant cost if your server does this hack or is misconfigured, given that it is a gateway to the telephone network, and these rates vary (mobile, call overtaxed, international, etc. ..). For my own part, I use asterisk in the management of incoming calls, outgoing calls exploiting API ovh via click to call. Dolibarr calling module is designed to asterisk in this direction.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Fichier extensions.conf ====&lt;br /&gt;
following configuration elements start from the premise that you have installed an asterisk functional and configured your connection with your provider. It merely bring the basics to intercept incoming call and notification to Dolibarr. He must return at the same time to sip your line.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Context incoming call  =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
; appel entrant via numero provider&lt;br /&gt;
[process_entrant]&lt;br /&gt;
  exten =&amp;gt; _X.,1,NoOp()&lt;br /&gt;
  exten =&amp;gt;  _X.,n,Set(__DOLI_CALLER=${CUT(CUT(SIP_HEADER(From),@,1),:, 2)})&lt;br /&gt;
  exten =&amp;gt;  _X.,n,Set(__DOLI_CALLE=${CUT(CUT(SIP_HEADER(To),@,1),:, 2)})&lt;br /&gt;
&lt;br /&gt;
; REDIRECTION&lt;br /&gt;
exten =&amp;gt;  _X.,n,Goto(dolibarr_notification,s,1)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Context macro-notification  =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
; Doli&lt;br /&gt;
; macro pour event CONNECT&lt;br /&gt;
[macro-dolinotif]&lt;br /&gt;
exten =&amp;gt; s,1,SET(${CURL(http://votreserveur/calling/calling.php?account=${EXTEN}&amp;amp;caller=${DOLI_CALLER}&amp;amp;callee=${DOLI_CALLE}&amp;amp;type=CONNECT&amp;amp;callref=${DOLI_CALLER}&amp;amp;version=1)})&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Context notification  =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
; Doli&lt;br /&gt;
; Process&lt;br /&gt;
[dolibarr_notification]&lt;br /&gt;
; put notif SETUP&lt;br /&gt;
exten =&amp;gt; s,1,SET(CALLERID(name)=${CURL(http://votreserveur/calling/calling.php?account=${USERNAME}&amp;amp;caller=${DOLI_CALLER}&amp;amp;callee=${DOLI_CALLE}&amp;amp;type=SETUP&amp;amp;callref=${DOLI_CALLER}&amp;amp;version=1)})&lt;br /&gt;
exten =&amp;gt; s,n,Answer()&lt;br /&gt;
; option : r pour sonnerie d&#039;attente&lt;br /&gt;
; option : e Execute &amp;quot;h&amp;quot; as the peer when this call ends&lt;br /&gt;
; option : t T transphert appelant / appelé&lt;br /&gt;
; option : M() Macro&lt;br /&gt;
; option S() raccorche apres x seconde&lt;br /&gt;
exten =&amp;gt; s,n,Dial(SIP/votreposte, 60,etTrM(dolinotif))&lt;br /&gt;
; put notif RELEASE&lt;br /&gt;
exten =&amp;gt; h,1,SET(CALLERID(name)=${CURL(http://votreserveur/calling/calling.php?account=${USERNAME}&amp;amp;caller=${DOLI_CALLER}&amp;amp;callee=${DOLI_CALLE}&amp;amp;type=RELEASE&amp;amp;callref=${DOLI_CALLER}&amp;amp;version=1)})&lt;br /&gt;
exten =&amp;gt; h,2,Hangup(16)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Under Module incoming call notifications ==&lt;br /&gt;
&lt;br /&gt;
The alert modules are modules that works in real time to inform you of incoming calls. He created a display featuring links to the customer record / contact, and possibly the employee initially called. Several modules are available in different contexts of use.&lt;br /&gt;
&lt;br /&gt;
 - Mod NoRun : Module example, to disable all JavaScript elements call notification&lt;br /&gt;
 - Mod Simplejs : Module original notification via a popup (modal box jquery) in full screen.  Intended for use by a single user of Dolibarr.  Based on a recurring ajax call&lt;br /&gt;
 - Mod Advancedjs : Module advanced reporting, providing a non-intrusive display (top right menu link, and incoming call details click on the link).  Operated mutli-user context.  Based on a recurring ajax call.&lt;br /&gt;
 - Mode Nodejs :  Module advanced notification, it is identical in terms of display module Advancedjs, but operates a complementary nodejs @ server to push information to the customer Dolibarr.  There is no recurring ajax call.  It requires a dedicated server, nodejs installed.  and the servelet provided in the package&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Submodule nodejs pre-requisite===&lt;br /&gt;
&lt;br /&gt;
This module exploits in technology node.js. It is therefore necessary that the server that hosts dolibarr, nodejs be installed. Otherwise, the client submodule dolibarr not work.&lt;br /&gt;
&lt;br /&gt;
==== Servelet Nodejs ====&lt;br /&gt;
&lt;br /&gt;
the configuration possibilities are numerous, we will present a basic installation quickly with these pre-requisite for this servelet. extract the zip nodejsd in your / var / nodejs&lt;br /&gt;
script execution call index.js&lt;br /&gt;
&lt;br /&gt;
Simply launch&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 node /var/nodejs/index.js&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
for the script starts. If you connect to your dolibarr (with nodejs client module enabled), you will see the server will inform the connection of your user id.&lt;br /&gt;
To start your production servelet used the famous &amp;quot;&amp;amp;&amp;quot; so that your servelet does not cut it when you log out of ssh.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt; node /var/nodejs/index.js &amp;amp; &amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once installed and configured your servelet (see config.js file), go to the Control Panel module calling dolibarr,  enable the module nodejs, then specify the url and port of your servelet&lt;br /&gt;
&lt;br /&gt;
===Note===&lt;br /&gt;
It is possible to modify this behavior with module named alert_xxx.php&lt;/div&gt;</summary>
		<author><name>Oscim</name></author>
	</entry>
	<entry>
		<id>https://wiki.dolibarr.org/index.php?title=Module_Calling_en&amp;diff=29122</id>
		<title>Module Calling en</title>
		<link rel="alternate" type="text/html" href="https://wiki.dolibarr.org/index.php?title=Module_Calling_en&amp;diff=29122"/>
		<updated>2013-04-02T12:50:35Z</updated>

		<summary type="html">&lt;p&gt;Oscim: /* Élément de configuration d&amp;#039;asterisk */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Modules complémentaires]]&lt;br /&gt;
[[Category:Prélèvements bancaires]]&lt;br /&gt;
{{TemplateDocDev}}&lt;br /&gt;
{{TemplateDocUtil}}&lt;br /&gt;
= Informations =&lt;br /&gt;
{{TemplateModuleInfo&lt;br /&gt;
|editor=Oscim &lt;br /&gt;
|web= oscim.fr&lt;br /&gt;
|status=stable&lt;br /&gt;
|prerequisites= module_clicktodial&lt;br /&gt;
|minversion=3.3.x&lt;br /&gt;
|note=&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
= Vocation =&lt;br /&gt;
Provides support for monitoring phone calls (incoming and outgoing).&lt;br /&gt;
An alert when an incoming call contains links to customer information and / or information known collaborator. Logging calls in sheets and in the third calendar&lt;br /&gt;
&lt;br /&gt;
= Install =&lt;br /&gt;
{{InstallModuleEn}}&lt;br /&gt;
&lt;br /&gt;
= Configuration =&lt;br /&gt;
{{ActivationModuleEn}}&lt;br /&gt;
&lt;br /&gt;
This module enables and configures the module clicktodial dolibarr already present during the installation. Once installed and configured the module, you will need to combine dolibarr your service provider voip telephony.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Config clicktocall ==&lt;br /&gt;
This module natively in st dolibarr on the record of each user&#039;s internal dolibarr you have a tab clicktocall.Il is necessary to fill the login information (login / pass / tel), and the phone number used. url trigger click to call is not defined module calling, so do not change the configuration items clicktocall&lt;br /&gt;
&lt;br /&gt;
== Configuration link by SIP provider  ==&lt;br /&gt;
Your choice of provider may limit the use of the module according to the API of the latter. This module comes with submodule to adjust it to your supplier. List of supplier supported to date:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 - Keyyo : Voir keyyo.fr -The API supports incoming and outgoing calls&lt;br /&gt;
 - OVH : Voir Ovh.fr  - The API supports [[ outgoing calls]]&lt;br /&gt;
 - OVH + @Asterisk : ovh extension module adds support outgoing calls through a PBX private.  Requires to install and configure a server asterisk - The API supports incoming and outgoing calls&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Link in Agenda and action ==&lt;br /&gt;
&lt;br /&gt;
Add an action in the dictionary &amp;quot;Action List&amp;quot; table llx_c_actioncomm to list the specific action to telephony;&lt;br /&gt;
 - code : AC_TEL&lt;br /&gt;
 - Libellé : Phone call&lt;br /&gt;
 - type : system&lt;br /&gt;
&lt;br /&gt;
This addition allows you to use the phone main menu button, which should limit the display to only telephony events.&lt;br /&gt;
&lt;br /&gt;
== Options module ==&lt;br /&gt;
&lt;br /&gt;
===Alert mode ===&lt;br /&gt;
&lt;br /&gt;
This option allows you to manage the behavior when incoming calls;&lt;br /&gt;
&lt;br /&gt;
 - No popup notification and no notification, you can choose in this case the module sub NoRun notification module&lt;br /&gt;
 - Only users are notified of the called station, only informs the user whose number is called.  This selection takes into account the extension configured on the user profile, and the line number specified in the tab clicktocall&lt;br /&gt;
 - All user configured for clicktodial are notified&lt;br /&gt;
 - All users are notified&lt;br /&gt;
&lt;br /&gt;
=== behavior on the number of employees and the company ===&lt;br /&gt;
This option sets the behavior when an incoming call to an employee (including mobile number with are), internal call, call an external site.&lt;br /&gt;
&lt;br /&gt;
 - Ignore incoming calls numbers business users (pro / personal / mobile), no notification or record in shares&lt;br /&gt;
 - Accept and notify unless the corresponding user&lt;br /&gt;
&lt;br /&gt;
=== Information collaborator called ===&lt;br /&gt;
Display additional information about the employee actually called by a third party (based on the number of phone contact).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Creating sheet ===&lt;br /&gt;
In the case of incoming call, the number is not found in the database, a listing can be created, with the name of the phone number.&lt;br /&gt;
&lt;br /&gt;
 - No creation of plug&lt;br /&gt;
 - Create the third number of the caller&lt;br /&gt;
 - Create a contact number of the caller&lt;br /&gt;
&lt;br /&gt;
=== Anonymous Calls  ===&lt;br /&gt;
Can create a form for anonymous calls.&lt;br /&gt;
&lt;br /&gt;
=== Trace calls ===&lt;br /&gt;
Trace calls in actions / agenda dolibarr; You can disable this option.&lt;br /&gt;
&lt;br /&gt;
= Utilisation =&lt;br /&gt;
&lt;br /&gt;
La manipulation et l&#039;utilisation de ce module reste simple, compte tenu qu&#039;il ne généré pas d&#039;action particulières. le clicktocall sur les numéro de téléphone vous assure la possibilité de lancer des appels en 1 clic. &#039;&#039;Attention toutefois les numéro de fax ce retrouvent aussi avec un liens de click to call&#039;&#039;. &lt;br /&gt;
&lt;br /&gt;
Lors d&#039;un appel entrant, en fonction de la configuration du mode d&#039;alerte, vous aurez une boite affichant le liens vers la fiche du contact et/ou de la société qui cherche à vous joindre. De plus les appels sont tracés dans l&#039;agenda.&lt;br /&gt;
&lt;br /&gt;
= Information Développement  =&lt;br /&gt;
&lt;br /&gt;
== Généralités ==&lt;br /&gt;
&lt;br /&gt;
Le fonctionnement du module s’appuie sur un fichier &amp;quot;calling.php&amp;quot; à la racine  public de dolibarr. Celui ci est donc accessible via http. Tous les appels de ce module transite par ce fichier, tant les appels entrant que les sortant.&lt;br /&gt;
Le module utilise une table de donnée supplémentaire (llx_calling ) afin de tracer les appels entrant, et l&#039;utilisateur  appelé. Un dossier calling est crée dans la dossier Documents afin de stocker des fichier javascript spécifique par utilisateur.&lt;br /&gt;
&lt;br /&gt;
== Sous Module de liaison vers api de voip ==&lt;br /&gt;
&lt;br /&gt;
Il est possible d&#039;ajouter et modifier les modules d&#039;interaction avec les api de VOIP.  les modules fournis assure une liaison vers des services precis, si vous utiliser une autre api, il sera necessaire de créer votre propre module de liaison.&lt;br /&gt;
&lt;br /&gt;
Le fichier d&#039;un module de gestion d&#039;api doit être nommé api_xxxx.php , ou xxxx représente le nom du fournisseur du service&lt;br /&gt;
&lt;br /&gt;
=== Émission d&#039;un appel  ===&lt;br /&gt;
Cette liaison exploite le module ClicktoCall. Il assure l’émission d&#039;un appel , qui une fois lancé fera sonner votre téléphone, et celui de l&#039;interlocuteur que vous appelez.&lt;br /&gt;
L&#039;utilisation du clicktodial complétera automatiquement la fiche action du tiers/contact.&lt;br /&gt;
&lt;br /&gt;
Pour la conservation des données, et l&#039;affichage du popup, un fichier est créer dans Documents/calling de dolibarr. Ce fichier assure le stockage des données temporaire. &lt;br /&gt;
&lt;br /&gt;
=== Réception d&#039;un appel  ===&lt;br /&gt;
Cette section un peu plus complexe sera très dépendante des service offert par l&#039;offre de VOIP à laquelle vous avez souscrit.&lt;br /&gt;
&lt;br /&gt;
L&#039;interception des appels, ne vous permettra pas de décrocher votre téléphone, mais vous proposera un popup de dialogue, vous fournissant le liens vers la fiche Tiers/contact correspondante, si celle ci existe dans la base de donnée.Dans le cas contraire, il sera possible de créer une fiche de tiers/contact basé sur le numéro de téléphone.&lt;br /&gt;
&lt;br /&gt;
Tous appel entrant viendra compléter la fiche action du tiers. En cas d&#039;appel non répondu, la tache restera ouverte. Dans le cas d&#039;un appel décroché, la tache sera clôturé.&lt;br /&gt;
&lt;br /&gt;
==== Configuration de l&#039;api tiers ====&lt;br /&gt;
&lt;br /&gt;
Il sera nécessaire pour rendre opérationnel la notification des appels entrant de préciser une URL de notification pour l&#039;api tiers, qui doit initier cette notification. Utiliser l&#039; URL entrant , afficher dans votre page de configuration . Celle ci étant générer par le module d&#039;une  api précise, les variables GET a remplacer, sont spécifique à ce fournisseur.&lt;br /&gt;
&lt;br /&gt;
===Note===&lt;br /&gt;
- Stockage des numéro de téléphone en base de donnée.&lt;br /&gt;
Pour pouvoir être extrait et reconnu, il est souhaitable d&#039;utiliser la nomenclature international / national des numéros.&lt;br /&gt;
02 35 98 63 65 ou 33 6 98 65 87 54 ou 002 65 98 32 78&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Configuration element asterisk ===&lt;br /&gt;
&lt;br /&gt;
Configuring Asterisk server is full and complex, the possibilities are huge, so I encourage you to read the tutorial specialist. Remember however that the PBX are highly contested and those that can generate significant cost if your server does this hack or is misconfigured, given that it is a gateway to the telephone network, and these rates vary (mobile, call overtaxed, international, etc. ..). For my own part, I use asterisk in the management of incoming calls, outgoing calls exploiting API ovh via click to call. Dolibarr calling module is designed to asterisk in this direction.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Fichier extensions.conf ====&lt;br /&gt;
following configuration elements start from the premise that you have installed an asterisk functional and configured your connection with your provider. It merely bring the basics to intercept incoming call and notification to Dolibarr. He must return at the same time to sip your line.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Context incoming call  =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
; appel entrant via numero provider&lt;br /&gt;
[process_entrant]&lt;br /&gt;
  exten =&amp;gt; _X.,1,NoOp()&lt;br /&gt;
  exten =&amp;gt;  _X.,n,Set(__DOLI_CALLER=${CUT(CUT(SIP_HEADER(From),@,1),:, 2)})&lt;br /&gt;
  exten =&amp;gt;  _X.,n,Set(__DOLI_CALLE=${CUT(CUT(SIP_HEADER(To),@,1),:, 2)})&lt;br /&gt;
&lt;br /&gt;
; REDIRECTION&lt;br /&gt;
exten =&amp;gt;  _X.,n,Goto(dolibarr_notification,s,1)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Context macro-notification  =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
; Doli&lt;br /&gt;
; macro pour event CONNECT&lt;br /&gt;
[macro-dolinotif]&lt;br /&gt;
exten =&amp;gt; s,1,SET(${CURL(http://votreserveur/calling/calling.php?account=${EXTEN}&amp;amp;caller=${DOLI_CALLER}&amp;amp;callee=${DOLI_CALLE}&amp;amp;type=CONNECT&amp;amp;callref=${DOLI_CALLER}&amp;amp;version=1)})&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Context notification  =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
; Doli&lt;br /&gt;
; Process&lt;br /&gt;
[dolibarr_notification]&lt;br /&gt;
; put notif SETUP&lt;br /&gt;
exten =&amp;gt; s,1,SET(CALLERID(name)=${CURL(http://votreserveur/calling/calling.php?account=${USERNAME}&amp;amp;caller=${DOLI_CALLER}&amp;amp;callee=${DOLI_CALLE}&amp;amp;type=SETUP&amp;amp;callref=${DOLI_CALLER}&amp;amp;version=1)})&lt;br /&gt;
exten =&amp;gt; s,n,Answer()&lt;br /&gt;
; option : r pour sonnerie d&#039;attente&lt;br /&gt;
; option : e Execute &amp;quot;h&amp;quot; as the peer when this call ends&lt;br /&gt;
; option : t T transphert appelant / appelé&lt;br /&gt;
; option : M() Macro&lt;br /&gt;
; option S() raccorche apres x seconde&lt;br /&gt;
exten =&amp;gt; s,n,Dial(SIP/votreposte, 60,etTrM(dolinotif))&lt;br /&gt;
; put notif RELEASE&lt;br /&gt;
exten =&amp;gt; h,1,SET(CALLERID(name)=${CURL(http://votreserveur/calling/calling.php?account=${USERNAME}&amp;amp;caller=${DOLI_CALLER}&amp;amp;callee=${DOLI_CALLE}&amp;amp;type=RELEASE&amp;amp;callref=${DOLI_CALLER}&amp;amp;version=1)})&lt;br /&gt;
exten =&amp;gt; h,2,Hangup(16)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Sous Module des notifications d&#039;appel entrant ==&lt;br /&gt;
&lt;br /&gt;
Les modules d&#039;alerte, sont les modules qui travaille en temps réel afin de vous informer des appels entrant. Il créer un affichage proposant les liens vers la fiche client/contact, et éventuellement celle du collaborateur initialement appelé. Plusieurs modules sont disponible en fonction des contextes d&#039;utilisation.&lt;br /&gt;
&lt;br /&gt;
 - Mod NoRun : Module d&#039;exemple, permettant de désactiver tout éléments JavaScript de notification des appels &lt;br /&gt;
 - Mod Simplejs : Module original de notification via un popup (modale box jquery) en pleine page. Destiné à l&#039;usage d&#039;un utilisateur unique de dolibarr. Basé sur un appel récurent en ajax.&lt;br /&gt;
 - Mod Advancedjs : Module de notification avancé, assurant un affichage non intrusif (lien menu haut droit, et détail appel entrant au click sur le lien).  Exploité en contexte mutli-utilisateurs. Basé sur un appel récurent en ajax.&lt;br /&gt;
 - Mode Nodejs : Module de notification avancé, il est identique en terme d&#039;affichage au module Advancedjs, mais exploite un serveur @nodejs complementaire afin de pousser les informations vers les client dolibarr.&lt;br /&gt;
 Il n&#039;y a aucun appel récurent en ajax. Il nécessite un serveur dedié, nodejs installé. le servelet et fourni dans le paquet. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Sous module Nodejs pre-requis===&lt;br /&gt;
&lt;br /&gt;
Ce sous module exploite la technologie node.js. Il est donc nécessaire que votre serveur qui héberge dolibarr, soit installé nodejs. Sans quoi, le sous module client de dolibarr ne fonctionnera pas. &lt;br /&gt;
&lt;br /&gt;
==== Servelet Nodejs ====&lt;br /&gt;
&lt;br /&gt;
les possibilité de configuration étant nombreuses, nous allons détailler rapidement une installation de base avec ces pre-requis pour ce servelet. &lt;br /&gt;
extraire le zip nodejsd dans votre dossier /var/nodejs&lt;br /&gt;
&lt;br /&gt;
le script d’exécution s&#039;appel index.js&lt;br /&gt;
&lt;br /&gt;
Il vous suffit de lancer&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 node /var/nodejs/index.js&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
pour que le script démarre. Si vous vous connecter à votre dolibarr (ayant activé le module client Nodejs), vous verrez alors le serveur vous informer le la connexion de l&#039;id de votre utilisateur. &lt;br /&gt;
&lt;br /&gt;
Pour lancer en production votre servelet, utilisé le fameux &amp;quot;&amp;amp;&amp;quot;, afin que votre servelet ne ce coupe pas lorsque vous vous déconnecterez du ssh.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt; node /var/nodejs/index.js &amp;amp; &amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Une fois installé et configuré votre servelet (voir fichier config.js), aller dans le panneau de configuration du module calling de dolibarr, activer le module nodejs, puis preciser l&#039;url et le port de votre servelet&lt;br /&gt;
&lt;br /&gt;
===Note===&lt;br /&gt;
Il est possible de moduler ce comportement avec  des module nommé alert_xxx.php&lt;/div&gt;</summary>
		<author><name>Oscim</name></author>
	</entry>
	<entry>
		<id>https://wiki.dolibarr.org/index.php?title=Module_Calling_en&amp;diff=29121</id>
		<title>Module Calling en</title>
		<link rel="alternate" type="text/html" href="https://wiki.dolibarr.org/index.php?title=Module_Calling_en&amp;diff=29121"/>
		<updated>2013-04-02T12:49:18Z</updated>

		<summary type="html">&lt;p&gt;Oscim: /* Installation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Modules complémentaires]]&lt;br /&gt;
[[Category:Prélèvements bancaires]]&lt;br /&gt;
{{TemplateDocDev}}&lt;br /&gt;
{{TemplateDocUtil}}&lt;br /&gt;
= Informations =&lt;br /&gt;
{{TemplateModuleInfo&lt;br /&gt;
|editor=Oscim &lt;br /&gt;
|web= oscim.fr&lt;br /&gt;
|status=stable&lt;br /&gt;
|prerequisites= module_clicktodial&lt;br /&gt;
|minversion=3.3.x&lt;br /&gt;
|note=&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
= Vocation =&lt;br /&gt;
Provides support for monitoring phone calls (incoming and outgoing).&lt;br /&gt;
An alert when an incoming call contains links to customer information and / or information known collaborator. Logging calls in sheets and in the third calendar&lt;br /&gt;
&lt;br /&gt;
= Install =&lt;br /&gt;
{{InstallModuleEn}}&lt;br /&gt;
&lt;br /&gt;
= Configuration =&lt;br /&gt;
{{ActivationModuleEn}}&lt;br /&gt;
&lt;br /&gt;
This module enables and configures the module clicktodial dolibarr already present during the installation. Once installed and configured the module, you will need to combine dolibarr your service provider voip telephony.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Config clicktocall ==&lt;br /&gt;
This module natively in st dolibarr on the record of each user&#039;s internal dolibarr you have a tab clicktocall.Il is necessary to fill the login information (login / pass / tel), and the phone number used. url trigger click to call is not defined module calling, so do not change the configuration items clicktocall&lt;br /&gt;
&lt;br /&gt;
== Configuration link by SIP provider  ==&lt;br /&gt;
Your choice of provider may limit the use of the module according to the API of the latter. This module comes with submodule to adjust it to your supplier. List of supplier supported to date:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 - Keyyo : Voir keyyo.fr -The API supports incoming and outgoing calls&lt;br /&gt;
 - OVH : Voir Ovh.fr  - The API supports [[ outgoing calls]]&lt;br /&gt;
 - OVH + @Asterisk : ovh extension module adds support outgoing calls through a PBX private.  Requires to install and configure a server asterisk - The API supports incoming and outgoing calls&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Link in Agenda and action ==&lt;br /&gt;
&lt;br /&gt;
Add an action in the dictionary &amp;quot;Action List&amp;quot; table llx_c_actioncomm to list the specific action to telephony;&lt;br /&gt;
 - code : AC_TEL&lt;br /&gt;
 - Libellé : Phone call&lt;br /&gt;
 - type : system&lt;br /&gt;
&lt;br /&gt;
This addition allows you to use the phone main menu button, which should limit the display to only telephony events.&lt;br /&gt;
&lt;br /&gt;
== Options module ==&lt;br /&gt;
&lt;br /&gt;
===Alert mode ===&lt;br /&gt;
&lt;br /&gt;
This option allows you to manage the behavior when incoming calls;&lt;br /&gt;
&lt;br /&gt;
 - No popup notification and no notification, you can choose in this case the module sub NoRun notification module&lt;br /&gt;
 - Only users are notified of the called station, only informs the user whose number is called.  This selection takes into account the extension configured on the user profile, and the line number specified in the tab clicktocall&lt;br /&gt;
 - All user configured for clicktodial are notified&lt;br /&gt;
 - All users are notified&lt;br /&gt;
&lt;br /&gt;
=== behavior on the number of employees and the company ===&lt;br /&gt;
This option sets the behavior when an incoming call to an employee (including mobile number with are), internal call, call an external site.&lt;br /&gt;
&lt;br /&gt;
 - Ignore incoming calls numbers business users (pro / personal / mobile), no notification or record in shares&lt;br /&gt;
 - Accept and notify unless the corresponding user&lt;br /&gt;
&lt;br /&gt;
=== Information collaborator called ===&lt;br /&gt;
Display additional information about the employee actually called by a third party (based on the number of phone contact).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Creating sheet ===&lt;br /&gt;
In the case of incoming call, the number is not found in the database, a listing can be created, with the name of the phone number.&lt;br /&gt;
&lt;br /&gt;
 - No creation of plug&lt;br /&gt;
 - Create the third number of the caller&lt;br /&gt;
 - Create a contact number of the caller&lt;br /&gt;
&lt;br /&gt;
=== Anonymous Calls  ===&lt;br /&gt;
Can create a form for anonymous calls.&lt;br /&gt;
&lt;br /&gt;
=== Trace calls ===&lt;br /&gt;
Trace calls in actions / agenda dolibarr; You can disable this option.&lt;br /&gt;
&lt;br /&gt;
= Utilisation =&lt;br /&gt;
&lt;br /&gt;
La manipulation et l&#039;utilisation de ce module reste simple, compte tenu qu&#039;il ne généré pas d&#039;action particulières. le clicktocall sur les numéro de téléphone vous assure la possibilité de lancer des appels en 1 clic. &#039;&#039;Attention toutefois les numéro de fax ce retrouvent aussi avec un liens de click to call&#039;&#039;. &lt;br /&gt;
&lt;br /&gt;
Lors d&#039;un appel entrant, en fonction de la configuration du mode d&#039;alerte, vous aurez une boite affichant le liens vers la fiche du contact et/ou de la société qui cherche à vous joindre. De plus les appels sont tracés dans l&#039;agenda.&lt;br /&gt;
&lt;br /&gt;
= Information Développement  =&lt;br /&gt;
&lt;br /&gt;
== Généralités ==&lt;br /&gt;
&lt;br /&gt;
Le fonctionnement du module s’appuie sur un fichier &amp;quot;calling.php&amp;quot; à la racine  public de dolibarr. Celui ci est donc accessible via http. Tous les appels de ce module transite par ce fichier, tant les appels entrant que les sortant.&lt;br /&gt;
Le module utilise une table de donnée supplémentaire (llx_calling ) afin de tracer les appels entrant, et l&#039;utilisateur  appelé. Un dossier calling est crée dans la dossier Documents afin de stocker des fichier javascript spécifique par utilisateur.&lt;br /&gt;
&lt;br /&gt;
== Sous Module de liaison vers api de voip ==&lt;br /&gt;
&lt;br /&gt;
Il est possible d&#039;ajouter et modifier les modules d&#039;interaction avec les api de VOIP.  les modules fournis assure une liaison vers des services precis, si vous utiliser une autre api, il sera necessaire de créer votre propre module de liaison.&lt;br /&gt;
&lt;br /&gt;
Le fichier d&#039;un module de gestion d&#039;api doit être nommé api_xxxx.php , ou xxxx représente le nom du fournisseur du service&lt;br /&gt;
&lt;br /&gt;
=== Émission d&#039;un appel  ===&lt;br /&gt;
Cette liaison exploite le module ClicktoCall. Il assure l’émission d&#039;un appel , qui une fois lancé fera sonner votre téléphone, et celui de l&#039;interlocuteur que vous appelez.&lt;br /&gt;
L&#039;utilisation du clicktodial complétera automatiquement la fiche action du tiers/contact.&lt;br /&gt;
&lt;br /&gt;
Pour la conservation des données, et l&#039;affichage du popup, un fichier est créer dans Documents/calling de dolibarr. Ce fichier assure le stockage des données temporaire. &lt;br /&gt;
&lt;br /&gt;
=== Réception d&#039;un appel  ===&lt;br /&gt;
Cette section un peu plus complexe sera très dépendante des service offert par l&#039;offre de VOIP à laquelle vous avez souscrit.&lt;br /&gt;
&lt;br /&gt;
L&#039;interception des appels, ne vous permettra pas de décrocher votre téléphone, mais vous proposera un popup de dialogue, vous fournissant le liens vers la fiche Tiers/contact correspondante, si celle ci existe dans la base de donnée.Dans le cas contraire, il sera possible de créer une fiche de tiers/contact basé sur le numéro de téléphone.&lt;br /&gt;
&lt;br /&gt;
Tous appel entrant viendra compléter la fiche action du tiers. En cas d&#039;appel non répondu, la tache restera ouverte. Dans le cas d&#039;un appel décroché, la tache sera clôturé.&lt;br /&gt;
&lt;br /&gt;
==== Configuration de l&#039;api tiers ====&lt;br /&gt;
&lt;br /&gt;
Il sera nécessaire pour rendre opérationnel la notification des appels entrant de préciser une URL de notification pour l&#039;api tiers, qui doit initier cette notification. Utiliser l&#039; URL entrant , afficher dans votre page de configuration . Celle ci étant générer par le module d&#039;une  api précise, les variables GET a remplacer, sont spécifique à ce fournisseur.&lt;br /&gt;
&lt;br /&gt;
===Note===&lt;br /&gt;
- Stockage des numéro de téléphone en base de donnée.&lt;br /&gt;
Pour pouvoir être extrait et reconnu, il est souhaitable d&#039;utiliser la nomenclature international / national des numéros.&lt;br /&gt;
02 35 98 63 65 ou 33 6 98 65 87 54 ou 002 65 98 32 78&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Élément de configuration d&#039;asterisk ===&lt;br /&gt;
&lt;br /&gt;
La configuration d&#039;&#039;&#039;&#039;asterisk&#039;&#039;&#039; reste un serveur &#039;&#039;&#039;complet et complexe&#039;&#039;&#039;, les possibilité sont énorme, aussi, je vous encourage à consulter les tuto spécialisés. N&#039;oubliez toutefois pas que les PBX sont très fortement attaqué, et que ceux si peuvent générer des coût important si votre serveur ce fait hacker ou est mal configuré, compte tenu qu&#039;il est une passerelle vers le réseau téléphonique, et ces tarifs variant (mobile, appel surtaxé, international, etc..). &lt;br /&gt;
Pour ma part, je n&#039;utilise asterisk que dans la prise en charge des appels entrants, les appels sortant exploitant l&#039;api d&#039;ovh via le click to call. Le module dolibarr calling d&#039;asterisk est conçut en ce sens. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Fichier extensions.conf ====&lt;br /&gt;
les éléments de configuration suivant parte du principe que vous avez installé un asterisk fonctionnel, et configuré votre liaison avec votre provider. Il ne font qu&#039;apporter les éléments de base pour l’interception des appel entrant et la notification vers dolibarr. &lt;br /&gt;
Il doivent renvoyer en même temps vers votre ligne sip.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Context appel entrant  =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
; appel entrant via numero provider&lt;br /&gt;
[process_entrant]&lt;br /&gt;
  exten =&amp;gt; _X.,1,NoOp()&lt;br /&gt;
  exten =&amp;gt;  _X.,n,Set(__DOLI_CALLER=${CUT(CUT(SIP_HEADER(From),@,1),:, 2)})&lt;br /&gt;
  exten =&amp;gt;  _X.,n,Set(__DOLI_CALLE=${CUT(CUT(SIP_HEADER(To),@,1),:, 2)})&lt;br /&gt;
&lt;br /&gt;
; REDIRECTION&lt;br /&gt;
exten =&amp;gt;  _X.,n,Goto(dolibarr_notification,s,1)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Context macro-notification  =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
; Doli&lt;br /&gt;
; macro pour event CONNECT&lt;br /&gt;
[macro-dolinotif]&lt;br /&gt;
exten =&amp;gt; s,1,SET(${CURL(http://votreserveur/calling/calling.php?account=${EXTEN}&amp;amp;caller=${DOLI_CALLER}&amp;amp;callee=${DOLI_CALLE}&amp;amp;type=CONNECT&amp;amp;callref=${DOLI_CALLER}&amp;amp;version=1)})&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Context notification  =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
; Doli&lt;br /&gt;
; Process&lt;br /&gt;
[dolibarr_notification]&lt;br /&gt;
; put notif SETUP&lt;br /&gt;
exten =&amp;gt; s,1,SET(CALLERID(name)=${CURL(http://votreserveur/calling/calling.php?account=${USERNAME}&amp;amp;caller=${DOLI_CALLER}&amp;amp;callee=${DOLI_CALLE}&amp;amp;type=SETUP&amp;amp;callref=${DOLI_CALLER}&amp;amp;version=1)})&lt;br /&gt;
exten =&amp;gt; s,n,Answer()&lt;br /&gt;
; option : r pour sonnerie d&#039;attente&lt;br /&gt;
; option : e Execute &amp;quot;h&amp;quot; as the peer when this call ends&lt;br /&gt;
; option : t T transphert appelant / appelé&lt;br /&gt;
; option : M() Macro&lt;br /&gt;
; option S() raccorche apres x seconde&lt;br /&gt;
exten =&amp;gt; s,n,Dial(SIP/votreposte, 60,etTrM(dolinotif))&lt;br /&gt;
; put notif RELEASE&lt;br /&gt;
exten =&amp;gt; h,1,SET(CALLERID(name)=${CURL(http://votreserveur/calling/calling.php?account=${USERNAME}&amp;amp;caller=${DOLI_CALLER}&amp;amp;callee=${DOLI_CALLE}&amp;amp;type=RELEASE&amp;amp;callref=${DOLI_CALLER}&amp;amp;version=1)})&lt;br /&gt;
exten =&amp;gt; h,2,Hangup(16)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Sous Module des notifications d&#039;appel entrant ==&lt;br /&gt;
&lt;br /&gt;
Les modules d&#039;alerte, sont les modules qui travaille en temps réel afin de vous informer des appels entrant. Il créer un affichage proposant les liens vers la fiche client/contact, et éventuellement celle du collaborateur initialement appelé. Plusieurs modules sont disponible en fonction des contextes d&#039;utilisation.&lt;br /&gt;
&lt;br /&gt;
 - Mod NoRun : Module d&#039;exemple, permettant de désactiver tout éléments JavaScript de notification des appels &lt;br /&gt;
 - Mod Simplejs : Module original de notification via un popup (modale box jquery) en pleine page. Destiné à l&#039;usage d&#039;un utilisateur unique de dolibarr. Basé sur un appel récurent en ajax.&lt;br /&gt;
 - Mod Advancedjs : Module de notification avancé, assurant un affichage non intrusif (lien menu haut droit, et détail appel entrant au click sur le lien).  Exploité en contexte mutli-utilisateurs. Basé sur un appel récurent en ajax.&lt;br /&gt;
 - Mode Nodejs : Module de notification avancé, il est identique en terme d&#039;affichage au module Advancedjs, mais exploite un serveur @nodejs complementaire afin de pousser les informations vers les client dolibarr.&lt;br /&gt;
 Il n&#039;y a aucun appel récurent en ajax. Il nécessite un serveur dedié, nodejs installé. le servelet et fourni dans le paquet. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Sous module Nodejs pre-requis===&lt;br /&gt;
&lt;br /&gt;
Ce sous module exploite la technologie node.js. Il est donc nécessaire que votre serveur qui héberge dolibarr, soit installé nodejs. Sans quoi, le sous module client de dolibarr ne fonctionnera pas. &lt;br /&gt;
&lt;br /&gt;
==== Servelet Nodejs ====&lt;br /&gt;
&lt;br /&gt;
les possibilité de configuration étant nombreuses, nous allons détailler rapidement une installation de base avec ces pre-requis pour ce servelet. &lt;br /&gt;
extraire le zip nodejsd dans votre dossier /var/nodejs&lt;br /&gt;
&lt;br /&gt;
le script d’exécution s&#039;appel index.js&lt;br /&gt;
&lt;br /&gt;
Il vous suffit de lancer&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 node /var/nodejs/index.js&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
pour que le script démarre. Si vous vous connecter à votre dolibarr (ayant activé le module client Nodejs), vous verrez alors le serveur vous informer le la connexion de l&#039;id de votre utilisateur. &lt;br /&gt;
&lt;br /&gt;
Pour lancer en production votre servelet, utilisé le fameux &amp;quot;&amp;amp;&amp;quot;, afin que votre servelet ne ce coupe pas lorsque vous vous déconnecterez du ssh.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt; node /var/nodejs/index.js &amp;amp; &amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Une fois installé et configuré votre servelet (voir fichier config.js), aller dans le panneau de configuration du module calling de dolibarr, activer le module nodejs, puis preciser l&#039;url et le port de votre servelet&lt;br /&gt;
&lt;br /&gt;
===Note===&lt;br /&gt;
Il est possible de moduler ce comportement avec  des module nommé alert_xxx.php&lt;/div&gt;</summary>
		<author><name>Oscim</name></author>
	</entry>
	<entry>
		<id>https://wiki.dolibarr.org/index.php?title=Module_Calling_en&amp;diff=29120</id>
		<title>Module Calling en</title>
		<link rel="alternate" type="text/html" href="https://wiki.dolibarr.org/index.php?title=Module_Calling_en&amp;diff=29120"/>
		<updated>2013-04-02T12:48:50Z</updated>

		<summary type="html">&lt;p&gt;Oscim: /* Configuration */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Modules complémentaires]]&lt;br /&gt;
[[Category:Prélèvements bancaires]]&lt;br /&gt;
{{TemplateDocDev}}&lt;br /&gt;
{{TemplateDocUtil}}&lt;br /&gt;
= Informations =&lt;br /&gt;
{{TemplateModuleInfo&lt;br /&gt;
|editor=Oscim &lt;br /&gt;
|web= oscim.fr&lt;br /&gt;
|status=stable&lt;br /&gt;
|prerequisites= module_clicktodial&lt;br /&gt;
|minversion=3.3.x&lt;br /&gt;
|note=&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
= Vocation =&lt;br /&gt;
Provides support for monitoring phone calls (incoming and outgoing).&lt;br /&gt;
An alert when an incoming call contains links to customer information and / or information known collaborator. Logging calls in sheets and in the third calendar&lt;br /&gt;
&lt;br /&gt;
= Installation =&lt;br /&gt;
{{InstallModuleEn}}&lt;br /&gt;
&lt;br /&gt;
= Configuration =&lt;br /&gt;
{{ActivationModuleEn}}&lt;br /&gt;
&lt;br /&gt;
This module enables and configures the module clicktodial dolibarr already present during the installation. Once installed and configured the module, you will need to combine dolibarr your service provider voip telephony.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Config clicktocall ==&lt;br /&gt;
This module natively in st dolibarr on the record of each user&#039;s internal dolibarr you have a tab clicktocall.Il is necessary to fill the login information (login / pass / tel), and the phone number used. url trigger click to call is not defined module calling, so do not change the configuration items clicktocall&lt;br /&gt;
&lt;br /&gt;
== Configuration link by SIP provider  ==&lt;br /&gt;
Your choice of provider may limit the use of the module according to the API of the latter. This module comes with submodule to adjust it to your supplier. List of supplier supported to date:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 - Keyyo : Voir keyyo.fr -The API supports incoming and outgoing calls&lt;br /&gt;
 - OVH : Voir Ovh.fr  - The API supports [[ outgoing calls]]&lt;br /&gt;
 - OVH + @Asterisk : ovh extension module adds support outgoing calls through a PBX private.  Requires to install and configure a server asterisk - The API supports incoming and outgoing calls&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Link in Agenda and action ==&lt;br /&gt;
&lt;br /&gt;
Add an action in the dictionary &amp;quot;Action List&amp;quot; table llx_c_actioncomm to list the specific action to telephony;&lt;br /&gt;
 - code : AC_TEL&lt;br /&gt;
 - Libellé : Phone call&lt;br /&gt;
 - type : system&lt;br /&gt;
&lt;br /&gt;
This addition allows you to use the phone main menu button, which should limit the display to only telephony events.&lt;br /&gt;
&lt;br /&gt;
== Options module ==&lt;br /&gt;
&lt;br /&gt;
===Alert mode ===&lt;br /&gt;
&lt;br /&gt;
This option allows you to manage the behavior when incoming calls;&lt;br /&gt;
&lt;br /&gt;
 - No popup notification and no notification, you can choose in this case the module sub NoRun notification module&lt;br /&gt;
 - Only users are notified of the called station, only informs the user whose number is called.  This selection takes into account the extension configured on the user profile, and the line number specified in the tab clicktocall&lt;br /&gt;
 - All user configured for clicktodial are notified&lt;br /&gt;
 - All users are notified&lt;br /&gt;
&lt;br /&gt;
=== behavior on the number of employees and the company ===&lt;br /&gt;
This option sets the behavior when an incoming call to an employee (including mobile number with are), internal call, call an external site.&lt;br /&gt;
&lt;br /&gt;
 - Ignore incoming calls numbers business users (pro / personal / mobile), no notification or record in shares&lt;br /&gt;
 - Accept and notify unless the corresponding user&lt;br /&gt;
&lt;br /&gt;
=== Information collaborator called ===&lt;br /&gt;
Display additional information about the employee actually called by a third party (based on the number of phone contact).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Creating sheet ===&lt;br /&gt;
In the case of incoming call, the number is not found in the database, a listing can be created, with the name of the phone number.&lt;br /&gt;
&lt;br /&gt;
 - No creation of plug&lt;br /&gt;
 - Create the third number of the caller&lt;br /&gt;
 - Create a contact number of the caller&lt;br /&gt;
&lt;br /&gt;
=== Anonymous Calls  ===&lt;br /&gt;
Can create a form for anonymous calls.&lt;br /&gt;
&lt;br /&gt;
=== Trace calls ===&lt;br /&gt;
Trace calls in actions / agenda dolibarr; You can disable this option.&lt;br /&gt;
&lt;br /&gt;
= Utilisation =&lt;br /&gt;
&lt;br /&gt;
La manipulation et l&#039;utilisation de ce module reste simple, compte tenu qu&#039;il ne généré pas d&#039;action particulières. le clicktocall sur les numéro de téléphone vous assure la possibilité de lancer des appels en 1 clic. &#039;&#039;Attention toutefois les numéro de fax ce retrouvent aussi avec un liens de click to call&#039;&#039;. &lt;br /&gt;
&lt;br /&gt;
Lors d&#039;un appel entrant, en fonction de la configuration du mode d&#039;alerte, vous aurez une boite affichant le liens vers la fiche du contact et/ou de la société qui cherche à vous joindre. De plus les appels sont tracés dans l&#039;agenda.&lt;br /&gt;
&lt;br /&gt;
= Information Développement  =&lt;br /&gt;
&lt;br /&gt;
== Généralités ==&lt;br /&gt;
&lt;br /&gt;
Le fonctionnement du module s’appuie sur un fichier &amp;quot;calling.php&amp;quot; à la racine  public de dolibarr. Celui ci est donc accessible via http. Tous les appels de ce module transite par ce fichier, tant les appels entrant que les sortant.&lt;br /&gt;
Le module utilise une table de donnée supplémentaire (llx_calling ) afin de tracer les appels entrant, et l&#039;utilisateur  appelé. Un dossier calling est crée dans la dossier Documents afin de stocker des fichier javascript spécifique par utilisateur.&lt;br /&gt;
&lt;br /&gt;
== Sous Module de liaison vers api de voip ==&lt;br /&gt;
&lt;br /&gt;
Il est possible d&#039;ajouter et modifier les modules d&#039;interaction avec les api de VOIP.  les modules fournis assure une liaison vers des services precis, si vous utiliser une autre api, il sera necessaire de créer votre propre module de liaison.&lt;br /&gt;
&lt;br /&gt;
Le fichier d&#039;un module de gestion d&#039;api doit être nommé api_xxxx.php , ou xxxx représente le nom du fournisseur du service&lt;br /&gt;
&lt;br /&gt;
=== Émission d&#039;un appel  ===&lt;br /&gt;
Cette liaison exploite le module ClicktoCall. Il assure l’émission d&#039;un appel , qui une fois lancé fera sonner votre téléphone, et celui de l&#039;interlocuteur que vous appelez.&lt;br /&gt;
L&#039;utilisation du clicktodial complétera automatiquement la fiche action du tiers/contact.&lt;br /&gt;
&lt;br /&gt;
Pour la conservation des données, et l&#039;affichage du popup, un fichier est créer dans Documents/calling de dolibarr. Ce fichier assure le stockage des données temporaire. &lt;br /&gt;
&lt;br /&gt;
=== Réception d&#039;un appel  ===&lt;br /&gt;
Cette section un peu plus complexe sera très dépendante des service offert par l&#039;offre de VOIP à laquelle vous avez souscrit.&lt;br /&gt;
&lt;br /&gt;
L&#039;interception des appels, ne vous permettra pas de décrocher votre téléphone, mais vous proposera un popup de dialogue, vous fournissant le liens vers la fiche Tiers/contact correspondante, si celle ci existe dans la base de donnée.Dans le cas contraire, il sera possible de créer une fiche de tiers/contact basé sur le numéro de téléphone.&lt;br /&gt;
&lt;br /&gt;
Tous appel entrant viendra compléter la fiche action du tiers. En cas d&#039;appel non répondu, la tache restera ouverte. Dans le cas d&#039;un appel décroché, la tache sera clôturé.&lt;br /&gt;
&lt;br /&gt;
==== Configuration de l&#039;api tiers ====&lt;br /&gt;
&lt;br /&gt;
Il sera nécessaire pour rendre opérationnel la notification des appels entrant de préciser une URL de notification pour l&#039;api tiers, qui doit initier cette notification. Utiliser l&#039; URL entrant , afficher dans votre page de configuration . Celle ci étant générer par le module d&#039;une  api précise, les variables GET a remplacer, sont spécifique à ce fournisseur.&lt;br /&gt;
&lt;br /&gt;
===Note===&lt;br /&gt;
- Stockage des numéro de téléphone en base de donnée.&lt;br /&gt;
Pour pouvoir être extrait et reconnu, il est souhaitable d&#039;utiliser la nomenclature international / national des numéros.&lt;br /&gt;
02 35 98 63 65 ou 33 6 98 65 87 54 ou 002 65 98 32 78&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Élément de configuration d&#039;asterisk ===&lt;br /&gt;
&lt;br /&gt;
La configuration d&#039;&#039;&#039;&#039;asterisk&#039;&#039;&#039; reste un serveur &#039;&#039;&#039;complet et complexe&#039;&#039;&#039;, les possibilité sont énorme, aussi, je vous encourage à consulter les tuto spécialisés. N&#039;oubliez toutefois pas que les PBX sont très fortement attaqué, et que ceux si peuvent générer des coût important si votre serveur ce fait hacker ou est mal configuré, compte tenu qu&#039;il est une passerelle vers le réseau téléphonique, et ces tarifs variant (mobile, appel surtaxé, international, etc..). &lt;br /&gt;
Pour ma part, je n&#039;utilise asterisk que dans la prise en charge des appels entrants, les appels sortant exploitant l&#039;api d&#039;ovh via le click to call. Le module dolibarr calling d&#039;asterisk est conçut en ce sens. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Fichier extensions.conf ====&lt;br /&gt;
les éléments de configuration suivant parte du principe que vous avez installé un asterisk fonctionnel, et configuré votre liaison avec votre provider. Il ne font qu&#039;apporter les éléments de base pour l’interception des appel entrant et la notification vers dolibarr. &lt;br /&gt;
Il doivent renvoyer en même temps vers votre ligne sip.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Context appel entrant  =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
; appel entrant via numero provider&lt;br /&gt;
[process_entrant]&lt;br /&gt;
  exten =&amp;gt; _X.,1,NoOp()&lt;br /&gt;
  exten =&amp;gt;  _X.,n,Set(__DOLI_CALLER=${CUT(CUT(SIP_HEADER(From),@,1),:, 2)})&lt;br /&gt;
  exten =&amp;gt;  _X.,n,Set(__DOLI_CALLE=${CUT(CUT(SIP_HEADER(To),@,1),:, 2)})&lt;br /&gt;
&lt;br /&gt;
; REDIRECTION&lt;br /&gt;
exten =&amp;gt;  _X.,n,Goto(dolibarr_notification,s,1)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Context macro-notification  =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
; Doli&lt;br /&gt;
; macro pour event CONNECT&lt;br /&gt;
[macro-dolinotif]&lt;br /&gt;
exten =&amp;gt; s,1,SET(${CURL(http://votreserveur/calling/calling.php?account=${EXTEN}&amp;amp;caller=${DOLI_CALLER}&amp;amp;callee=${DOLI_CALLE}&amp;amp;type=CONNECT&amp;amp;callref=${DOLI_CALLER}&amp;amp;version=1)})&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Context notification  =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
; Doli&lt;br /&gt;
; Process&lt;br /&gt;
[dolibarr_notification]&lt;br /&gt;
; put notif SETUP&lt;br /&gt;
exten =&amp;gt; s,1,SET(CALLERID(name)=${CURL(http://votreserveur/calling/calling.php?account=${USERNAME}&amp;amp;caller=${DOLI_CALLER}&amp;amp;callee=${DOLI_CALLE}&amp;amp;type=SETUP&amp;amp;callref=${DOLI_CALLER}&amp;amp;version=1)})&lt;br /&gt;
exten =&amp;gt; s,n,Answer()&lt;br /&gt;
; option : r pour sonnerie d&#039;attente&lt;br /&gt;
; option : e Execute &amp;quot;h&amp;quot; as the peer when this call ends&lt;br /&gt;
; option : t T transphert appelant / appelé&lt;br /&gt;
; option : M() Macro&lt;br /&gt;
; option S() raccorche apres x seconde&lt;br /&gt;
exten =&amp;gt; s,n,Dial(SIP/votreposte, 60,etTrM(dolinotif))&lt;br /&gt;
; put notif RELEASE&lt;br /&gt;
exten =&amp;gt; h,1,SET(CALLERID(name)=${CURL(http://votreserveur/calling/calling.php?account=${USERNAME}&amp;amp;caller=${DOLI_CALLER}&amp;amp;callee=${DOLI_CALLE}&amp;amp;type=RELEASE&amp;amp;callref=${DOLI_CALLER}&amp;amp;version=1)})&lt;br /&gt;
exten =&amp;gt; h,2,Hangup(16)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Sous Module des notifications d&#039;appel entrant ==&lt;br /&gt;
&lt;br /&gt;
Les modules d&#039;alerte, sont les modules qui travaille en temps réel afin de vous informer des appels entrant. Il créer un affichage proposant les liens vers la fiche client/contact, et éventuellement celle du collaborateur initialement appelé. Plusieurs modules sont disponible en fonction des contextes d&#039;utilisation.&lt;br /&gt;
&lt;br /&gt;
 - Mod NoRun : Module d&#039;exemple, permettant de désactiver tout éléments JavaScript de notification des appels &lt;br /&gt;
 - Mod Simplejs : Module original de notification via un popup (modale box jquery) en pleine page. Destiné à l&#039;usage d&#039;un utilisateur unique de dolibarr. Basé sur un appel récurent en ajax.&lt;br /&gt;
 - Mod Advancedjs : Module de notification avancé, assurant un affichage non intrusif (lien menu haut droit, et détail appel entrant au click sur le lien).  Exploité en contexte mutli-utilisateurs. Basé sur un appel récurent en ajax.&lt;br /&gt;
 - Mode Nodejs : Module de notification avancé, il est identique en terme d&#039;affichage au module Advancedjs, mais exploite un serveur @nodejs complementaire afin de pousser les informations vers les client dolibarr.&lt;br /&gt;
 Il n&#039;y a aucun appel récurent en ajax. Il nécessite un serveur dedié, nodejs installé. le servelet et fourni dans le paquet. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Sous module Nodejs pre-requis===&lt;br /&gt;
&lt;br /&gt;
Ce sous module exploite la technologie node.js. Il est donc nécessaire que votre serveur qui héberge dolibarr, soit installé nodejs. Sans quoi, le sous module client de dolibarr ne fonctionnera pas. &lt;br /&gt;
&lt;br /&gt;
==== Servelet Nodejs ====&lt;br /&gt;
&lt;br /&gt;
les possibilité de configuration étant nombreuses, nous allons détailler rapidement une installation de base avec ces pre-requis pour ce servelet. &lt;br /&gt;
extraire le zip nodejsd dans votre dossier /var/nodejs&lt;br /&gt;
&lt;br /&gt;
le script d’exécution s&#039;appel index.js&lt;br /&gt;
&lt;br /&gt;
Il vous suffit de lancer&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 node /var/nodejs/index.js&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
pour que le script démarre. Si vous vous connecter à votre dolibarr (ayant activé le module client Nodejs), vous verrez alors le serveur vous informer le la connexion de l&#039;id de votre utilisateur. &lt;br /&gt;
&lt;br /&gt;
Pour lancer en production votre servelet, utilisé le fameux &amp;quot;&amp;amp;&amp;quot;, afin que votre servelet ne ce coupe pas lorsque vous vous déconnecterez du ssh.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt; node /var/nodejs/index.js &amp;amp; &amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Une fois installé et configuré votre servelet (voir fichier config.js), aller dans le panneau de configuration du module calling de dolibarr, activer le module nodejs, puis preciser l&#039;url et le port de votre servelet&lt;br /&gt;
&lt;br /&gt;
===Note===&lt;br /&gt;
Il est possible de moduler ce comportement avec  des module nommé alert_xxx.php&lt;/div&gt;</summary>
		<author><name>Oscim</name></author>
	</entry>
	<entry>
		<id>https://wiki.dolibarr.org/index.php?title=Module_Calling_en&amp;diff=29119</id>
		<title>Module Calling en</title>
		<link rel="alternate" type="text/html" href="https://wiki.dolibarr.org/index.php?title=Module_Calling_en&amp;diff=29119"/>
		<updated>2013-04-02T12:42:33Z</updated>

		<summary type="html">&lt;p&gt;Oscim: Created page with &amp;quot;Category:Modules complémentaires Category:Prélèvements bancaires {{TemplateDocDev}} {{TemplateDocUtil}} = Informations = {{TemplateModuleInfo |editor=Oscim  |web= osci...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Modules complémentaires]]&lt;br /&gt;
[[Category:Prélèvements bancaires]]&lt;br /&gt;
{{TemplateDocDev}}&lt;br /&gt;
{{TemplateDocUtil}}&lt;br /&gt;
= Informations =&lt;br /&gt;
{{TemplateModuleInfo&lt;br /&gt;
|editor=Oscim &lt;br /&gt;
|web= oscim.fr&lt;br /&gt;
|status=stable&lt;br /&gt;
|prerequisites= module_clicktodial&lt;br /&gt;
|minversion=3.3.x&lt;br /&gt;
|note=&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
= Vocation =&lt;br /&gt;
Provides support for monitoring phone calls (incoming and outgoing).&lt;br /&gt;
An alert when an incoming call contains links to customer information and / or information known collaborator. Logging calls in sheets and in the third calendar&lt;br /&gt;
&lt;br /&gt;
= Installation =&lt;br /&gt;
{{InstallModuleEn}}&lt;br /&gt;
&lt;br /&gt;
= Configuration =&lt;br /&gt;
{{ActivationModuleEn}}&lt;br /&gt;
&lt;br /&gt;
Ce module active et configure le module clicktodial de dolibarr déjà présent lors de l&#039;installation.&lt;br /&gt;
Une fois installé et configuré le module, il vous sera nécessaire de coupler dolibarr à votre fournisseur de service de téléphonie en voip.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Configuration du clicktocall ==&lt;br /&gt;
Ce module st natif dans dolibarr, sur la fiche de chaque utilisateur interne de dolibarr vous avez un onglet clicktocall.Il est nécessaire de renseigner les informations de connexion (login/pass/tel), et le numéro de téléphone utilisé.  &lt;br /&gt;
l&#039;url de déclenchement du click to call est défini pas le module calling, aussi il ne faut pas modifié les éléments de configuration du clicktocall &lt;br /&gt;
&lt;br /&gt;
== Configuration de la liaison avec votre provider de SIP ==&lt;br /&gt;
Le choix de votre fournisseur peut limiter l&#039;usage du module en fonction de l&#039;api de ce dernier. Ce module est fourni avec des sous module permettant d&#039;ajuster celui-ci à votre fournisseur.&lt;br /&gt;
Liste des fournisseur supporté à ce jour:&lt;br /&gt;
&lt;br /&gt;
 - Keyyo : Voir keyyo.fr - L&#039;api supporte les appels entrant et sortant&lt;br /&gt;
 - OVH : Voir Ovh.fr  - L&#039;api supporte les [[appels sortant]]&lt;br /&gt;
 - OVH + @Asterisk : extension du module ovh, ajoute la prise en charge des appels sortant par l’intermédiaire d&#039;un pbx privé. Nécessite d&#039;installer et configurer un serveur asterisk - L&#039;api supporte les appels entrant et sortant&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Liaison Agenda et action ==&lt;br /&gt;
&lt;br /&gt;
Ajouter une action dans le dictionnaire &amp;quot;liste des action&amp;quot; de la table 	llx_c_actioncomm, afin de lister les actions spécifique à la téléphonie; &lt;br /&gt;
&lt;br /&gt;
 - code : AC_TEL&lt;br /&gt;
 - Libellé : Phone call&lt;br /&gt;
 - type : system&lt;br /&gt;
&lt;br /&gt;
Cet ajout vous permet d&#039;exploiter le bouton du menu principal téléphonie, qui devrait limiter l&#039;affichage aux seuls événements de téléphonie.&lt;br /&gt;
&lt;br /&gt;
== Les options du modules ==&lt;br /&gt;
&lt;br /&gt;
===le mode d&#039;alerte ===&lt;br /&gt;
&lt;br /&gt;
Cette option vous permet de gérer le comportement lors des appels entrant; &lt;br /&gt;
&lt;br /&gt;
 - Pas de notification en popup;  aucune notification , vous pouvez dans ce cas choisir le module norun des sous module de notification&lt;br /&gt;
 - Seul les utilisateurs du poste appelé sont notifiés; n&#039;informe que l&#039;utilisateur dont le numéro est appelé. cette sélection prend en compte le numéro de poste configuré sur la fiche utilisateur, et le numéro de ligne défini  dans l&#039;onglet clicktocall&lt;br /&gt;
 - Tous les utilisateur configuré pour le clicktodial sont notifiés&lt;br /&gt;
 - Tous les utilisateurs sont notifiés&lt;br /&gt;
&lt;br /&gt;
=== comportement sur les numéro des collaborateurs et de l&#039;entreprise ===&lt;br /&gt;
Cette option règle le comportement lors de l&#039;appel entrant d&#039;un collaborateur (y compris avec sont numéro de mobile), appel interne, appel d&#039;un site externe.&lt;br /&gt;
&lt;br /&gt;
 - Ignorer les appels entrant des numéros utilisateurs de l&#039;entreprise (pro/perso/mobile); aucune notification ni trace dans les actions&lt;br /&gt;
 - Accepter et notifier sauf l&#039;utilisateur correspondant&lt;br /&gt;
&lt;br /&gt;
=== Information du collaborateur appelé ===&lt;br /&gt;
Affichage d&#039;information complémentaire sur le collaborateur réellement appelé par un tiers (basé sur le numero de téléphone contacté).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Création de fiche ===&lt;br /&gt;
Dans le cas d&#039;appel entrant, dont le numéro n&#039;est pas trouvé dans la base de donnée, une fiche peut être créer, avec comme nom le numéro de téléphone. &lt;br /&gt;
&lt;br /&gt;
 - Pas de création de fiche&lt;br /&gt;
 - Créer un tiers avec le numéro de l&#039;appelant&lt;br /&gt;
 - Créer un contact avec le numéro de l&#039;appelant&lt;br /&gt;
&lt;br /&gt;
=== Appel Anonyme ===&lt;br /&gt;
Peut créer une fiche pour les appels anonyme. &lt;br /&gt;
&lt;br /&gt;
=== Trace les appels ===&lt;br /&gt;
Tracer les appels dans les actions/agenda de dolibarr; Vous pouvez désactiver cette option.&lt;br /&gt;
&lt;br /&gt;
= Utilisation =&lt;br /&gt;
&lt;br /&gt;
La manipulation et l&#039;utilisation de ce module reste simple, compte tenu qu&#039;il ne généré pas d&#039;action particulières. le clicktocall sur les numéro de téléphone vous assure la possibilité de lancer des appels en 1 clic. &#039;&#039;Attention toutefois les numéro de fax ce retrouvent aussi avec un liens de click to call&#039;&#039;. &lt;br /&gt;
&lt;br /&gt;
Lors d&#039;un appel entrant, en fonction de la configuration du mode d&#039;alerte, vous aurez une boite affichant le liens vers la fiche du contact et/ou de la société qui cherche à vous joindre. De plus les appels sont tracés dans l&#039;agenda.&lt;br /&gt;
&lt;br /&gt;
= Information Développement  =&lt;br /&gt;
&lt;br /&gt;
== Généralités ==&lt;br /&gt;
&lt;br /&gt;
Le fonctionnement du module s’appuie sur un fichier &amp;quot;calling.php&amp;quot; à la racine  public de dolibarr. Celui ci est donc accessible via http. Tous les appels de ce module transite par ce fichier, tant les appels entrant que les sortant.&lt;br /&gt;
Le module utilise une table de donnée supplémentaire (llx_calling ) afin de tracer les appels entrant, et l&#039;utilisateur  appelé. Un dossier calling est crée dans la dossier Documents afin de stocker des fichier javascript spécifique par utilisateur.&lt;br /&gt;
&lt;br /&gt;
== Sous Module de liaison vers api de voip ==&lt;br /&gt;
&lt;br /&gt;
Il est possible d&#039;ajouter et modifier les modules d&#039;interaction avec les api de VOIP.  les modules fournis assure une liaison vers des services precis, si vous utiliser une autre api, il sera necessaire de créer votre propre module de liaison.&lt;br /&gt;
&lt;br /&gt;
Le fichier d&#039;un module de gestion d&#039;api doit être nommé api_xxxx.php , ou xxxx représente le nom du fournisseur du service&lt;br /&gt;
&lt;br /&gt;
=== Émission d&#039;un appel  ===&lt;br /&gt;
Cette liaison exploite le module ClicktoCall. Il assure l’émission d&#039;un appel , qui une fois lancé fera sonner votre téléphone, et celui de l&#039;interlocuteur que vous appelez.&lt;br /&gt;
L&#039;utilisation du clicktodial complétera automatiquement la fiche action du tiers/contact.&lt;br /&gt;
&lt;br /&gt;
Pour la conservation des données, et l&#039;affichage du popup, un fichier est créer dans Documents/calling de dolibarr. Ce fichier assure le stockage des données temporaire. &lt;br /&gt;
&lt;br /&gt;
=== Réception d&#039;un appel  ===&lt;br /&gt;
Cette section un peu plus complexe sera très dépendante des service offert par l&#039;offre de VOIP à laquelle vous avez souscrit.&lt;br /&gt;
&lt;br /&gt;
L&#039;interception des appels, ne vous permettra pas de décrocher votre téléphone, mais vous proposera un popup de dialogue, vous fournissant le liens vers la fiche Tiers/contact correspondante, si celle ci existe dans la base de donnée.Dans le cas contraire, il sera possible de créer une fiche de tiers/contact basé sur le numéro de téléphone.&lt;br /&gt;
&lt;br /&gt;
Tous appel entrant viendra compléter la fiche action du tiers. En cas d&#039;appel non répondu, la tache restera ouverte. Dans le cas d&#039;un appel décroché, la tache sera clôturé.&lt;br /&gt;
&lt;br /&gt;
==== Configuration de l&#039;api tiers ====&lt;br /&gt;
&lt;br /&gt;
Il sera nécessaire pour rendre opérationnel la notification des appels entrant de préciser une URL de notification pour l&#039;api tiers, qui doit initier cette notification. Utiliser l&#039; URL entrant , afficher dans votre page de configuration . Celle ci étant générer par le module d&#039;une  api précise, les variables GET a remplacer, sont spécifique à ce fournisseur.&lt;br /&gt;
&lt;br /&gt;
===Note===&lt;br /&gt;
- Stockage des numéro de téléphone en base de donnée.&lt;br /&gt;
Pour pouvoir être extrait et reconnu, il est souhaitable d&#039;utiliser la nomenclature international / national des numéros.&lt;br /&gt;
02 35 98 63 65 ou 33 6 98 65 87 54 ou 002 65 98 32 78&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Élément de configuration d&#039;asterisk ===&lt;br /&gt;
&lt;br /&gt;
La configuration d&#039;&#039;&#039;&#039;asterisk&#039;&#039;&#039; reste un serveur &#039;&#039;&#039;complet et complexe&#039;&#039;&#039;, les possibilité sont énorme, aussi, je vous encourage à consulter les tuto spécialisés. N&#039;oubliez toutefois pas que les PBX sont très fortement attaqué, et que ceux si peuvent générer des coût important si votre serveur ce fait hacker ou est mal configuré, compte tenu qu&#039;il est une passerelle vers le réseau téléphonique, et ces tarifs variant (mobile, appel surtaxé, international, etc..). &lt;br /&gt;
Pour ma part, je n&#039;utilise asterisk que dans la prise en charge des appels entrants, les appels sortant exploitant l&#039;api d&#039;ovh via le click to call. Le module dolibarr calling d&#039;asterisk est conçut en ce sens. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Fichier extensions.conf ====&lt;br /&gt;
les éléments de configuration suivant parte du principe que vous avez installé un asterisk fonctionnel, et configuré votre liaison avec votre provider. Il ne font qu&#039;apporter les éléments de base pour l’interception des appel entrant et la notification vers dolibarr. &lt;br /&gt;
Il doivent renvoyer en même temps vers votre ligne sip.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Context appel entrant  =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
; appel entrant via numero provider&lt;br /&gt;
[process_entrant]&lt;br /&gt;
  exten =&amp;gt; _X.,1,NoOp()&lt;br /&gt;
  exten =&amp;gt;  _X.,n,Set(__DOLI_CALLER=${CUT(CUT(SIP_HEADER(From),@,1),:, 2)})&lt;br /&gt;
  exten =&amp;gt;  _X.,n,Set(__DOLI_CALLE=${CUT(CUT(SIP_HEADER(To),@,1),:, 2)})&lt;br /&gt;
&lt;br /&gt;
; REDIRECTION&lt;br /&gt;
exten =&amp;gt;  _X.,n,Goto(dolibarr_notification,s,1)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Context macro-notification  =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
; Doli&lt;br /&gt;
; macro pour event CONNECT&lt;br /&gt;
[macro-dolinotif]&lt;br /&gt;
exten =&amp;gt; s,1,SET(${CURL(http://votreserveur/calling/calling.php?account=${EXTEN}&amp;amp;caller=${DOLI_CALLER}&amp;amp;callee=${DOLI_CALLE}&amp;amp;type=CONNECT&amp;amp;callref=${DOLI_CALLER}&amp;amp;version=1)})&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Context notification  =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
; Doli&lt;br /&gt;
; Process&lt;br /&gt;
[dolibarr_notification]&lt;br /&gt;
; put notif SETUP&lt;br /&gt;
exten =&amp;gt; s,1,SET(CALLERID(name)=${CURL(http://votreserveur/calling/calling.php?account=${USERNAME}&amp;amp;caller=${DOLI_CALLER}&amp;amp;callee=${DOLI_CALLE}&amp;amp;type=SETUP&amp;amp;callref=${DOLI_CALLER}&amp;amp;version=1)})&lt;br /&gt;
exten =&amp;gt; s,n,Answer()&lt;br /&gt;
; option : r pour sonnerie d&#039;attente&lt;br /&gt;
; option : e Execute &amp;quot;h&amp;quot; as the peer when this call ends&lt;br /&gt;
; option : t T transphert appelant / appelé&lt;br /&gt;
; option : M() Macro&lt;br /&gt;
; option S() raccorche apres x seconde&lt;br /&gt;
exten =&amp;gt; s,n,Dial(SIP/votreposte, 60,etTrM(dolinotif))&lt;br /&gt;
; put notif RELEASE&lt;br /&gt;
exten =&amp;gt; h,1,SET(CALLERID(name)=${CURL(http://votreserveur/calling/calling.php?account=${USERNAME}&amp;amp;caller=${DOLI_CALLER}&amp;amp;callee=${DOLI_CALLE}&amp;amp;type=RELEASE&amp;amp;callref=${DOLI_CALLER}&amp;amp;version=1)})&lt;br /&gt;
exten =&amp;gt; h,2,Hangup(16)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Sous Module des notifications d&#039;appel entrant ==&lt;br /&gt;
&lt;br /&gt;
Les modules d&#039;alerte, sont les modules qui travaille en temps réel afin de vous informer des appels entrant. Il créer un affichage proposant les liens vers la fiche client/contact, et éventuellement celle du collaborateur initialement appelé. Plusieurs modules sont disponible en fonction des contextes d&#039;utilisation.&lt;br /&gt;
&lt;br /&gt;
 - Mod NoRun : Module d&#039;exemple, permettant de désactiver tout éléments JavaScript de notification des appels &lt;br /&gt;
 - Mod Simplejs : Module original de notification via un popup (modale box jquery) en pleine page. Destiné à l&#039;usage d&#039;un utilisateur unique de dolibarr. Basé sur un appel récurent en ajax.&lt;br /&gt;
 - Mod Advancedjs : Module de notification avancé, assurant un affichage non intrusif (lien menu haut droit, et détail appel entrant au click sur le lien).  Exploité en contexte mutli-utilisateurs. Basé sur un appel récurent en ajax.&lt;br /&gt;
 - Mode Nodejs : Module de notification avancé, il est identique en terme d&#039;affichage au module Advancedjs, mais exploite un serveur @nodejs complementaire afin de pousser les informations vers les client dolibarr.&lt;br /&gt;
 Il n&#039;y a aucun appel récurent en ajax. Il nécessite un serveur dedié, nodejs installé. le servelet et fourni dans le paquet. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Sous module Nodejs pre-requis===&lt;br /&gt;
&lt;br /&gt;
Ce sous module exploite la technologie node.js. Il est donc nécessaire que votre serveur qui héberge dolibarr, soit installé nodejs. Sans quoi, le sous module client de dolibarr ne fonctionnera pas. &lt;br /&gt;
&lt;br /&gt;
==== Servelet Nodejs ====&lt;br /&gt;
&lt;br /&gt;
les possibilité de configuration étant nombreuses, nous allons détailler rapidement une installation de base avec ces pre-requis pour ce servelet. &lt;br /&gt;
extraire le zip nodejsd dans votre dossier /var/nodejs&lt;br /&gt;
&lt;br /&gt;
le script d’exécution s&#039;appel index.js&lt;br /&gt;
&lt;br /&gt;
Il vous suffit de lancer&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 node /var/nodejs/index.js&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
pour que le script démarre. Si vous vous connecter à votre dolibarr (ayant activé le module client Nodejs), vous verrez alors le serveur vous informer le la connexion de l&#039;id de votre utilisateur. &lt;br /&gt;
&lt;br /&gt;
Pour lancer en production votre servelet, utilisé le fameux &amp;quot;&amp;amp;&amp;quot;, afin que votre servelet ne ce coupe pas lorsque vous vous déconnecterez du ssh.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt; node /var/nodejs/index.js &amp;amp; &amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Une fois installé et configuré votre servelet (voir fichier config.js), aller dans le panneau de configuration du module calling de dolibarr, activer le module nodejs, puis preciser l&#039;url et le port de votre servelet&lt;br /&gt;
&lt;br /&gt;
===Note===&lt;br /&gt;
Il est possible de moduler ce comportement avec  des module nommé alert_xxx.php&lt;/div&gt;</summary>
		<author><name>Oscim</name></author>
	</entry>
	<entry>
		<id>https://wiki.dolibarr.org/index.php?title=Module_Calling&amp;diff=29110</id>
		<title>Module Calling</title>
		<link rel="alternate" type="text/html" href="https://wiki.dolibarr.org/index.php?title=Module_Calling&amp;diff=29110"/>
		<updated>2013-04-02T09:58:01Z</updated>

		<summary type="html">&lt;p&gt;Oscim: /* Configuration */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Modules complémentaires]]&lt;br /&gt;
[[Category:Prélèvements bancaires]]&lt;br /&gt;
{{TemplateDocDev}}&lt;br /&gt;
{{TemplateDocUtil}}&lt;br /&gt;
= Informations =&lt;br /&gt;
{{TemplateModuleInfo&lt;br /&gt;
|editor=Oscim &lt;br /&gt;
|web= oscim.fr&lt;br /&gt;
|status=stable&lt;br /&gt;
|prerequisites= module_clicktodial&lt;br /&gt;
|minversion=3.3.x&lt;br /&gt;
|note=&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
= Vocation =&lt;br /&gt;
Assure la prise en charge du suivi des appels téléphonique( appels entrant et sortant).&lt;br /&gt;
&lt;br /&gt;
Une alerte lors d&#039;appel entrant contenant les liens vers les informations clients et/ou les informations du collaborateur appelé.&lt;br /&gt;
Historisation des appels dans les fiches de tiers et dans l&#039;agenda&lt;br /&gt;
&lt;br /&gt;
= Installation =&lt;br /&gt;
{{InstallModuleFr}}&lt;br /&gt;
&lt;br /&gt;
= Configuration =&lt;br /&gt;
{{ActivationModuleFr}}&lt;br /&gt;
&lt;br /&gt;
Ce module active et configure le module clicktodial de dolibarr déjà présent lors de l&#039;installation.&lt;br /&gt;
Une fois installé et configuré le module, il vous sera nécessaire de coupler dolibarr à votre fournisseur de service de téléphonie en voip.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Configuration du clicktocall ==&lt;br /&gt;
Ce module st natif dans dolibarr, sur la fiche de chaque utilisateur interne de dolibarr vous avez un onglet clicktocall.Il est nécessaire de renseigner les informations de connexion (login/pass/tel), et le numéro de téléphone utilisé.  &lt;br /&gt;
l&#039;url de déclenchement du click to call est défini pas le module calling, aussi il ne faut pas modifié les éléments de configuration du clicktocall &lt;br /&gt;
&lt;br /&gt;
== Configuration de la liaison avec votre provider de SIP ==&lt;br /&gt;
Le choix de votre fournisseur peut limiter l&#039;usage du module en fonction de l&#039;api de ce dernier. Ce module est fourni avec des sous module permettant d&#039;ajuster celui-ci à votre fournisseur.&lt;br /&gt;
Liste des fournisseur supporté à ce jour:&lt;br /&gt;
&lt;br /&gt;
 - Keyyo : Voir keyyo.fr - L&#039;api supporte les appels entrant et sortant&lt;br /&gt;
 - OVH : Voir Ovh.fr  - L&#039;api supporte les [[appels sortant]]&lt;br /&gt;
 - OVH + @Asterisk : extension du module ovh, ajoute la prise en charge des appels sortant par l’intermédiaire d&#039;un pbx privé. Nécessite d&#039;installer et configurer un serveur asterisk - L&#039;api supporte les appels entrant et sortant&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Liaison Agenda et action ==&lt;br /&gt;
&lt;br /&gt;
Ajouter une action dans le dictionnaire &amp;quot;liste des action&amp;quot; de la table 	llx_c_actioncomm, afin de lister les actions spécifique à la téléphonie; &lt;br /&gt;
&lt;br /&gt;
 - code : AC_TEL&lt;br /&gt;
 - Libellé : Phone call&lt;br /&gt;
 - type : system&lt;br /&gt;
&lt;br /&gt;
Cet ajout vous permet d&#039;exploiter le bouton du menu principal téléphonie, qui devrait limiter l&#039;affichage aux seuls événements de téléphonie.&lt;br /&gt;
&lt;br /&gt;
== Les options du modules ==&lt;br /&gt;
&lt;br /&gt;
===le mode d&#039;alerte ===&lt;br /&gt;
&lt;br /&gt;
Cette option vous permet de gérer le comportement lors des appels entrant; &lt;br /&gt;
&lt;br /&gt;
 - Pas de notification en popup;  aucune notification , vous pouvez dans ce cas choisir le module norun des sous module de notification&lt;br /&gt;
 - Seul les utilisateurs du poste appelé sont notifiés; n&#039;informe que l&#039;utilisateur dont le numéro est appelé. cette sélection prend en compte le numéro de poste configuré sur la fiche utilisateur, et le numéro de ligne défini  dans l&#039;onglet clicktocall&lt;br /&gt;
 - Tous les utilisateur configuré pour le clicktodial sont notifiés&lt;br /&gt;
 - Tous les utilisateurs sont notifiés&lt;br /&gt;
&lt;br /&gt;
=== comportement sur les numéro des collaborateurs et de l&#039;entreprise ===&lt;br /&gt;
Cette option règle le comportement lors de l&#039;appel entrant d&#039;un collaborateur (y compris avec sont numéro de mobile), appel interne, appel d&#039;un site externe.&lt;br /&gt;
&lt;br /&gt;
 - Ignorer les appels entrant des numéros utilisateurs de l&#039;entreprise (pro/perso/mobile); aucune notification ni trace dans les actions&lt;br /&gt;
 - Accepter et notifier sauf l&#039;utilisateur correspondant&lt;br /&gt;
&lt;br /&gt;
=== Information du collaborateur appelé ===&lt;br /&gt;
Affichage d&#039;information complémentaire sur le collaborateur réellement appelé par un tiers (basé sur le numero de téléphone contacté).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Création de fiche ===&lt;br /&gt;
Dans le cas d&#039;appel entrant, dont le numéro n&#039;est pas trouvé dans la base de donnée, une fiche peut être créer, avec comme nom le numéro de téléphone. &lt;br /&gt;
&lt;br /&gt;
 - Pas de création de fiche&lt;br /&gt;
 - Créer un tiers avec le numéro de l&#039;appelant&lt;br /&gt;
 - Créer un contact avec le numéro de l&#039;appelant&lt;br /&gt;
&lt;br /&gt;
=== Appel Anonyme ===&lt;br /&gt;
Peut créer une fiche pour les appels anonyme. &lt;br /&gt;
&lt;br /&gt;
=== Trace les appels ===&lt;br /&gt;
Tracer les appels dans les actions/agenda de dolibarr; Vous pouvez désactiver cette option.&lt;br /&gt;
&lt;br /&gt;
= Utilisation =&lt;br /&gt;
&lt;br /&gt;
La manipulation et l&#039;utilisation de ce module reste simple, compte tenu qu&#039;il ne généré pas d&#039;action particulières. le clicktocall sur les numéro de téléphone vous assure la possibilité de lancer des appels en 1 clic. &#039;&#039;Attention toutefois les numéro de fax ce retrouvent aussi avec un liens de click to call&#039;&#039;. &lt;br /&gt;
&lt;br /&gt;
Lors d&#039;un appel entrant, en fonction de la configuration du mode d&#039;alerte, vous aurez une boite affichant le liens vers la fiche du contact et/ou de la société qui cherche à vous joindre. De plus les appels sont tracés dans l&#039;agenda.&lt;br /&gt;
&lt;br /&gt;
= Information Développement  =&lt;br /&gt;
&lt;br /&gt;
== Généralités ==&lt;br /&gt;
&lt;br /&gt;
Le fonctionnement du module s’appuie sur un fichier &amp;quot;calling.php&amp;quot; à la racine  public de dolibarr. Celui ci est donc accessible via http. Tous les appels de ce module transite par ce fichier, tant les appels entrant que les sortant.&lt;br /&gt;
Le module utilise une table de donnée supplémentaire (llx_calling ) afin de tracer les appels entrant, et l&#039;utilisateur  appelé. Un dossier calling est crée dans la dossier Documents afin de stocker des fichier javascript spécifique par utilisateur.&lt;br /&gt;
&lt;br /&gt;
== Sous Module de liaison vers api de voip ==&lt;br /&gt;
&lt;br /&gt;
Il est possible d&#039;ajouter et modifier les modules d&#039;interaction avec les api de VOIP.  les modules fournis assure une liaison vers des services precis, si vous utiliser une autre api, il sera necessaire de créer votre propre module de liaison.&lt;br /&gt;
&lt;br /&gt;
Le fichier d&#039;un module de gestion d&#039;api doit être nommé api_xxxx.php , ou xxxx représente le nom du fournisseur du service&lt;br /&gt;
&lt;br /&gt;
=== Émission d&#039;un appel  ===&lt;br /&gt;
Cette liaison exploite le module ClicktoCall. Il assure l’émission d&#039;un appel , qui une fois lancé fera sonner votre téléphone, et celui de l&#039;interlocuteur que vous appelez.&lt;br /&gt;
L&#039;utilisation du clicktodial complétera automatiquement la fiche action du tiers/contact.&lt;br /&gt;
&lt;br /&gt;
Pour la conservation des données, et l&#039;affichage du popup, un fichier est créer dans Documents/calling de dolibarr. Ce fichier assure le stockage des données temporaire. &lt;br /&gt;
&lt;br /&gt;
=== Réception d&#039;un appel  ===&lt;br /&gt;
Cette section un peu plus complexe sera très dépendante des service offert par l&#039;offre de VOIP à laquelle vous avez souscrit.&lt;br /&gt;
&lt;br /&gt;
L&#039;interception des appels, ne vous permettra pas de décrocher votre téléphone, mais vous proposera un popup de dialogue, vous fournissant le liens vers la fiche Tiers/contact correspondante, si celle ci existe dans la base de donnée.Dans le cas contraire, il sera possible de créer une fiche de tiers/contact basé sur le numéro de téléphone.&lt;br /&gt;
&lt;br /&gt;
Tous appel entrant viendra compléter la fiche action du tiers. En cas d&#039;appel non répondu, la tache restera ouverte. Dans le cas d&#039;un appel décroché, la tache sera clôturé.&lt;br /&gt;
&lt;br /&gt;
==== Configuration de l&#039;api tiers ====&lt;br /&gt;
&lt;br /&gt;
Il sera nécessaire pour rendre opérationnel la notification des appels entrant de préciser une URL de notification pour l&#039;api tiers, qui doit initier cette notification. Utiliser l&#039; URL entrant , afficher dans votre page de configuration . Celle ci étant générer par le module d&#039;une  api précise, les variables GET a remplacer, sont spécifique à ce fournisseur.&lt;br /&gt;
&lt;br /&gt;
===Note===&lt;br /&gt;
- Stockage des numéro de téléphone en base de donnée.&lt;br /&gt;
Pour pouvoir être extrait et reconnu, il est souhaitable d&#039;utiliser la nomenclature international / national des numéros.&lt;br /&gt;
02 35 98 63 65 ou 33 6 98 65 87 54 ou 002 65 98 32 78&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Élément de configuration d&#039;asterisk ===&lt;br /&gt;
&lt;br /&gt;
La configuration d&#039;&#039;&#039;&#039;asterisk&#039;&#039;&#039; reste un serveur &#039;&#039;&#039;complet et complexe&#039;&#039;&#039;, les possibilité sont énorme, aussi, je vous encourage à consulter les tuto spécialisés. N&#039;oubliez toutefois pas que les PBX sont très fortement attaqué, et que ceux si peuvent générer des coût important si votre serveur ce fait hacker ou est mal configuré, compte tenu qu&#039;il est une passerelle vers le réseau téléphonique, et ces tarifs variant (mobile, appel surtaxé, international, etc..). &lt;br /&gt;
Pour ma part, je n&#039;utilise asterisk que dans la prise en charge des appels entrants, les appels sortant exploitant l&#039;api d&#039;ovh via le click to call. Le module dolibarr calling d&#039;asterisk est conçut en ce sens. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Fichier extensions.conf ====&lt;br /&gt;
les éléments de configuration suivant parte du principe que vous avez installé un asterisk fonctionnel, et configuré votre liaison avec votre provider. Il ne font qu&#039;apporter les éléments de base pour l’interception des appel entrant et la notification vers dolibarr. &lt;br /&gt;
Il doivent renvoyer en même temps vers votre ligne sip.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Context appel entrant  =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
; appel entrant via numero provider&lt;br /&gt;
[process_entrant]&lt;br /&gt;
  exten =&amp;gt; _X.,1,NoOp()&lt;br /&gt;
  exten =&amp;gt;  _X.,n,Set(__DOLI_CALLER=${CUT(CUT(SIP_HEADER(From),@,1),:, 2)})&lt;br /&gt;
  exten =&amp;gt;  _X.,n,Set(__DOLI_CALLE=${CUT(CUT(SIP_HEADER(To),@,1),:, 2)})&lt;br /&gt;
&lt;br /&gt;
; REDIRECTION&lt;br /&gt;
exten =&amp;gt;  _X.,n,Goto(dolibarr_notification,s,1)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Context macro-notification  =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
; Doli&lt;br /&gt;
; macro pour event CONNECT&lt;br /&gt;
[macro-dolinotif]&lt;br /&gt;
exten =&amp;gt; s,1,SET(${CURL(http://votreserveur/calling/calling.php?account=${EXTEN}&amp;amp;caller=${DOLI_CALLER}&amp;amp;callee=${DOLI_CALLE}&amp;amp;type=CONNECT&amp;amp;callref=${DOLI_CALLER}&amp;amp;version=1)})&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Context notification  =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
; Doli&lt;br /&gt;
; Process&lt;br /&gt;
[dolibarr_notification]&lt;br /&gt;
; put notif SETUP&lt;br /&gt;
exten =&amp;gt; s,1,SET(CALLERID(name)=${CURL(http://votreserveur/calling/calling.php?account=${USERNAME}&amp;amp;caller=${DOLI_CALLER}&amp;amp;callee=${DOLI_CALLE}&amp;amp;type=SETUP&amp;amp;callref=${DOLI_CALLER}&amp;amp;version=1)})&lt;br /&gt;
exten =&amp;gt; s,n,Answer()&lt;br /&gt;
; option : r pour sonnerie d&#039;attente&lt;br /&gt;
; option : e Execute &amp;quot;h&amp;quot; as the peer when this call ends&lt;br /&gt;
; option : t T transphert appelant / appelé&lt;br /&gt;
; option : M() Macro&lt;br /&gt;
; option S() raccorche apres x seconde&lt;br /&gt;
exten =&amp;gt; s,n,Dial(SIP/votreposte, 60,etTrM(dolinotif))&lt;br /&gt;
; put notif RELEASE&lt;br /&gt;
exten =&amp;gt; h,1,SET(CALLERID(name)=${CURL(http://votreserveur/calling/calling.php?account=${USERNAME}&amp;amp;caller=${DOLI_CALLER}&amp;amp;callee=${DOLI_CALLE}&amp;amp;type=RELEASE&amp;amp;callref=${DOLI_CALLER}&amp;amp;version=1)})&lt;br /&gt;
exten =&amp;gt; h,2,Hangup(16)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Sous Module des notifications d&#039;appel entrant ==&lt;br /&gt;
&lt;br /&gt;
Les modules d&#039;alerte, sont les modules qui travaille en temps réel afin de vous informer des appels entrant. Il créer un affichage proposant les liens vers la fiche client/contact, et éventuellement celle du collaborateur initialement appelé. Plusieurs modules sont disponible en fonction des contextes d&#039;utilisation.&lt;br /&gt;
&lt;br /&gt;
 - Mod NoRun : Module d&#039;exemple, permettant de désactiver tout éléments JavaScript de notification des appels &lt;br /&gt;
 - Mod Simplejs : Module original de notification via un popup (modale box jquery) en pleine page. Destiné à l&#039;usage d&#039;un utilisateur unique de dolibarr. Basé sur un appel récurent en ajax.&lt;br /&gt;
 - Mod Advancedjs : Module de notification avancé, assurant un affichage non intrusif (lien menu haut droit, et détail appel entrant au click sur le lien).  Exploité en contexte mutli-utilisateurs. Basé sur un appel récurent en ajax.&lt;br /&gt;
 - Mode Nodejs : Module de notification avancé, il est identique en terme d&#039;affichage au module Advancedjs, mais exploite un serveur @nodejs complementaire afin de pousser les informations vers les client dolibarr.&lt;br /&gt;
 Il n&#039;y a aucun appel récurent en ajax. Il nécessite un serveur dedié, nodejs installé. le servelet et fourni dans le paquet. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Sous module Nodejs pre-requis===&lt;br /&gt;
&lt;br /&gt;
Ce sous module exploite la technologie node.js. Il est donc nécessaire que votre serveur qui héberge dolibarr, soit installé nodejs. Sans quoi, le sous module client de dolibarr ne fonctionnera pas. &lt;br /&gt;
&lt;br /&gt;
==== Servelet Nodejs ====&lt;br /&gt;
&lt;br /&gt;
les possibilité de configuration étant nombreuses, nous allons détailler rapidement une installation de base avec ces pre-requis pour ce servelet. &lt;br /&gt;
extraire le zip nodejsd dans votre dossier /var/nodejs&lt;br /&gt;
&lt;br /&gt;
le script d’exécution s&#039;appel index.js&lt;br /&gt;
&lt;br /&gt;
Il vous suffit de lancer&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 node /var/nodejs/index.js&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
pour que le script démarre. Si vous vous connecter à votre dolibarr (ayant activé le module client Nodejs), vous verrez alors le serveur vous informer le la connexion de l&#039;id de votre utilisateur. &lt;br /&gt;
&lt;br /&gt;
Pour lancer en production votre servelet, utilisé le fameux &amp;quot;&amp;amp;&amp;quot;, afin que votre servelet ne ce coupe pas lorsque vous vous déconnecterez du ssh.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt; node /var/nodejs/index.js &amp;amp; &amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Une fois installé et configuré votre servelet (voir fichier config.js), aller dans le panneau de configuration du module calling de dolibarr, activer le module nodejs, puis preciser l&#039;url et le port de votre servelet&lt;br /&gt;
&lt;br /&gt;
===Note===&lt;br /&gt;
Il est possible de moduler ce comportement avec  des module nommé alert_xxx.php&lt;/div&gt;</summary>
		<author><name>Oscim</name></author>
	</entry>
	<entry>
		<id>https://wiki.dolibarr.org/index.php?title=Module_Calling&amp;diff=29108</id>
		<title>Module Calling</title>
		<link rel="alternate" type="text/html" href="https://wiki.dolibarr.org/index.php?title=Module_Calling&amp;diff=29108"/>
		<updated>2013-04-02T09:52:56Z</updated>

		<summary type="html">&lt;p&gt;Oscim: /* Élément de configuration d&amp;#039;asterisk */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Modules complémentaires]]&lt;br /&gt;
[[Category:Prélèvements bancaires]]&lt;br /&gt;
{{TemplateDocDev}}&lt;br /&gt;
{{TemplateDocUtil}}&lt;br /&gt;
= Informations =&lt;br /&gt;
{{TemplateModuleInfo&lt;br /&gt;
|editor=Oscim &lt;br /&gt;
|web= oscim.fr&lt;br /&gt;
|status=stable&lt;br /&gt;
|prerequisites= module_clicktodial&lt;br /&gt;
|minversion=3.3.x&lt;br /&gt;
|note=&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
= Vocation =&lt;br /&gt;
Assure la prise en charge du suivi des appels téléphonique( appels entrant et sortant).&lt;br /&gt;
&lt;br /&gt;
Une alerte lors d&#039;appel entrant contenant les liens vers les informations clients et/ou les informations du collaborateur appelé.&lt;br /&gt;
Historisation des appels dans les fiches de tiers et dans l&#039;agenda&lt;br /&gt;
&lt;br /&gt;
= Installation =&lt;br /&gt;
{{InstallModuleFr}}&lt;br /&gt;
&lt;br /&gt;
= Configuration =&lt;br /&gt;
{{ActivationModuleFr}}&lt;br /&gt;
&lt;br /&gt;
Ce module active et configure le module clicktodial de dolibarr déjà présent lors de l&#039;installation.&lt;br /&gt;
Une fois installé et configuré le module, il vous sera nécessaire de coupler dolibarr à votre fournisseur de service de téléphonie en voip.&lt;br /&gt;
&lt;br /&gt;
== Configuration de la liaison avec votre provider de SIP ==&lt;br /&gt;
Le choix de votre fournisseur peut limiter l&#039;usage du module en fonction de l&#039;api de ce dernier. Ce module est fourni avec des sous module permettant d&#039;ajuster celui-ci à votre fournisseur.&lt;br /&gt;
Liste des fournisseur supporté à ce jour:&lt;br /&gt;
&lt;br /&gt;
 - Keyyo : Voir keyyo.fr - L&#039;api supporte les appels entrant et sortant&lt;br /&gt;
 - OVH : Voir Ovh.fr  - L&#039;api supporte les [[appels sortant]]&lt;br /&gt;
 - OVH + @Asterisk : extension du module ovh, ajoute la prise en charge des appels sortant par l’intermédiaire d&#039;un pbx privé. Nécessite d&#039;installer et configurer un serveur asterisk - L&#039;api supporte les appels entrant et sortant&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Liaison Agenda et action ==&lt;br /&gt;
&lt;br /&gt;
Ajouter une action dans le dictionnaire &amp;quot;liste des action&amp;quot; de la table 	llx_c_actioncomm, afin de lister les actions spécifique à la téléphonie; &lt;br /&gt;
&lt;br /&gt;
 - code : AC_TEL&lt;br /&gt;
 - Libellé : Phone call&lt;br /&gt;
 - type : system&lt;br /&gt;
&lt;br /&gt;
Cet ajout vous permet d&#039;exploiter le bouton du menu principal téléphonie, qui devrait limiter l&#039;affichage aux seuls événements de téléphonie.&lt;br /&gt;
&lt;br /&gt;
== Les options du modules ==&lt;br /&gt;
&lt;br /&gt;
===le mode d&#039;alerte ===&lt;br /&gt;
&lt;br /&gt;
Cette option vous permet de gérer le comportement lors des appels entrant; &lt;br /&gt;
&lt;br /&gt;
 - Pas de notification en popup;  aucune notification , vous pouvez dans ce cas choisir le module norun des sous module de notification&lt;br /&gt;
 - Seul les utilisateurs du poste appelé sont notifiés; n&#039;informe que l&#039;utilisateur dont le numéro est appelé. cette sélection prend en compte le numéro de poste configuré sur la fiche utilisateur, et le numéro de ligne défini  dans l&#039;onglet clicktocall&lt;br /&gt;
 - Tous les utilisateur configuré pour le clicktodial sont notifiés&lt;br /&gt;
 - Tous les utilisateurs sont notifiés&lt;br /&gt;
&lt;br /&gt;
=== comportement sur les numéro des collaborateurs et de l&#039;entreprise ===&lt;br /&gt;
Cette option règle le comportement lors de l&#039;appel entrant d&#039;un collaborateur (y compris avec sont numéro de mobile), appel interne, appel d&#039;un site externe.&lt;br /&gt;
&lt;br /&gt;
 - Ignorer les appels entrant des numéros utilisateurs de l&#039;entreprise (pro/perso/mobile); aucune notification ni trace dans les actions&lt;br /&gt;
 - Accepter et notifier sauf l&#039;utilisateur correspondant&lt;br /&gt;
&lt;br /&gt;
=== Information du collaborateur appelé ===&lt;br /&gt;
Affichage d&#039;information complémentaire sur le collaborateur réellement appelé par un tiers (basé sur le numero de téléphone contacté).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Création de fiche ===&lt;br /&gt;
Dans le cas d&#039;appel entrant, dont le numéro n&#039;est pas trouvé dans la base de donnée, une fiche peut être créer, avec comme nom le numéro de téléphone. &lt;br /&gt;
&lt;br /&gt;
 - Pas de création de fiche&lt;br /&gt;
 - Créer un tiers avec le numéro de l&#039;appelant&lt;br /&gt;
 - Créer un contact avec le numéro de l&#039;appelant&lt;br /&gt;
&lt;br /&gt;
=== Appel Anonyme ===&lt;br /&gt;
Peut créer une fiche pour les appels anonyme. &lt;br /&gt;
&lt;br /&gt;
=== Trace les appels ===&lt;br /&gt;
Tracer les appels dans les actions/agenda de dolibarr; Vous pouvez désactiver cette option.&lt;br /&gt;
= Utilisation =&lt;br /&gt;
&lt;br /&gt;
La manipulation et l&#039;utilisation de ce module reste simple, compte tenu qu&#039;il ne généré pas d&#039;action particulières. le clicktocall sur les numéro de téléphone vous assure la possibilité de lancer des appels en 1 clic. &#039;&#039;Attention toutefois les numéro de fax ce retrouvent aussi avec un liens de click to call&#039;&#039;. &lt;br /&gt;
&lt;br /&gt;
Lors d&#039;un appel entrant, en fonction de la configuration du mode d&#039;alerte, vous aurez une boite affichant le liens vers la fiche du contact et/ou de la société qui cherche à vous joindre. De plus les appels sont tracés dans l&#039;agenda.&lt;br /&gt;
&lt;br /&gt;
= Information Développement  =&lt;br /&gt;
&lt;br /&gt;
== Généralités ==&lt;br /&gt;
&lt;br /&gt;
Le fonctionnement du module s’appuie sur un fichier &amp;quot;calling.php&amp;quot; à la racine  public de dolibarr. Celui ci est donc accessible via http. Tous les appels de ce module transite par ce fichier, tant les appels entrant que les sortant.&lt;br /&gt;
Le module utilise une table de donnée supplémentaire (llx_calling ) afin de tracer les appels entrant, et l&#039;utilisateur  appelé. Un dossier calling est crée dans la dossier Documents afin de stocker des fichier javascript spécifique par utilisateur.&lt;br /&gt;
&lt;br /&gt;
== Sous Module de liaison vers api de voip ==&lt;br /&gt;
&lt;br /&gt;
Il est possible d&#039;ajouter et modifier les modules d&#039;interaction avec les api de VOIP.  les modules fournis assure une liaison vers des services precis, si vous utiliser une autre api, il sera necessaire de créer votre propre module de liaison.&lt;br /&gt;
&lt;br /&gt;
Le fichier d&#039;un module de gestion d&#039;api doit être nommé api_xxxx.php , ou xxxx représente le nom du fournisseur du service&lt;br /&gt;
&lt;br /&gt;
=== Émission d&#039;un appel  ===&lt;br /&gt;
Cette liaison exploite le module ClicktoCall. Il assure l’émission d&#039;un appel , qui une fois lancé fera sonner votre téléphone, et celui de l&#039;interlocuteur que vous appelez.&lt;br /&gt;
L&#039;utilisation du clicktodial complétera automatiquement la fiche action du tiers/contact.&lt;br /&gt;
&lt;br /&gt;
Pour la conservation des données, et l&#039;affichage du popup, un fichier est créer dans Documents/calling de dolibarr. Ce fichier assure le stockage des données temporaire. &lt;br /&gt;
&lt;br /&gt;
=== Réception d&#039;un appel  ===&lt;br /&gt;
Cette section un peu plus complexe sera très dépendante des service offert par l&#039;offre de VOIP à laquelle vous avez souscrit.&lt;br /&gt;
&lt;br /&gt;
L&#039;interception des appels, ne vous permettra pas de décrocher votre téléphone, mais vous proposera un popup de dialogue, vous fournissant le liens vers la fiche Tiers/contact correspondante, si celle ci existe dans la base de donnée.Dans le cas contraire, il sera possible de créer une fiche de tiers/contact basé sur le numéro de téléphone.&lt;br /&gt;
&lt;br /&gt;
Tous appel entrant viendra compléter la fiche action du tiers. En cas d&#039;appel non répondu, la tache restera ouverte. Dans le cas d&#039;un appel décroché, la tache sera clôturé.&lt;br /&gt;
&lt;br /&gt;
==== Configuration de l&#039;api tiers ====&lt;br /&gt;
&lt;br /&gt;
Il sera nécessaire pour rendre opérationnel la notification des appels entrant de préciser une URL de notification pour l&#039;api tiers, qui doit initier cette notification. Utiliser l&#039; URL entrant , afficher dans votre page de configuration . Celle ci étant générer par le module d&#039;une  api précise, les variables GET a remplacer, sont spécifique à ce fournisseur.&lt;br /&gt;
&lt;br /&gt;
===Note===&lt;br /&gt;
- Stockage des numéro de téléphone en base de donnée.&lt;br /&gt;
Pour pouvoir être extrait et reconnu, il est souhaitable d&#039;utiliser la nomenclature international / national des numéros.&lt;br /&gt;
02 35 98 63 65 ou 33 6 98 65 87 54 ou 002 65 98 32 78&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Élément de configuration d&#039;asterisk ===&lt;br /&gt;
&lt;br /&gt;
La configuration d&#039;&#039;&#039;&#039;asterisk&#039;&#039;&#039; reste un serveur &#039;&#039;&#039;complet et complexe&#039;&#039;&#039;, les possibilité sont énorme, aussi, je vous encourage à consulter les tuto spécialisés. N&#039;oubliez toutefois pas que les PBX sont très fortement attaqué, et que ceux si peuvent générer des coût important si votre serveur ce fait hacker ou est mal configuré, compte tenu qu&#039;il est une passerelle vers le réseau téléphonique, et ces tarifs variant (mobile, appel surtaxé, international, etc..). &lt;br /&gt;
Pour ma part, je n&#039;utilise asterisk que dans la prise en charge des appels entrants, les appels sortant exploitant l&#039;api d&#039;ovh via le click to call. Le module dolibarr calling d&#039;asterisk est conçut en ce sens. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Fichier extensions.conf ====&lt;br /&gt;
les éléments de configuration suivant parte du principe que vous avez installé un asterisk fonctionnel, et configuré votre liaison avec votre provider. Il ne font qu&#039;apporter les éléments de base pour l’interception des appel entrant et la notification vers dolibarr. &lt;br /&gt;
Il doivent renvoyer en même temps vers votre ligne sip.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Context appel entrant  =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
; appel entrant via numero provider&lt;br /&gt;
[process_entrant]&lt;br /&gt;
  exten =&amp;gt; _X.,1,NoOp()&lt;br /&gt;
  exten =&amp;gt;  _X.,n,Set(__DOLI_CALLER=${CUT(CUT(SIP_HEADER(From),@,1),:, 2)})&lt;br /&gt;
  exten =&amp;gt;  _X.,n,Set(__DOLI_CALLE=${CUT(CUT(SIP_HEADER(To),@,1),:, 2)})&lt;br /&gt;
&lt;br /&gt;
; REDIRECTION&lt;br /&gt;
exten =&amp;gt;  _X.,n,Goto(dolibarr_notification,s,1)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Context macro-notification  =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
; Doli&lt;br /&gt;
; macro pour event CONNECT&lt;br /&gt;
[macro-dolinotif]&lt;br /&gt;
exten =&amp;gt; s,1,SET(${CURL(http://votreserveur/calling/calling.php?account=${EXTEN}&amp;amp;caller=${DOLI_CALLER}&amp;amp;callee=${DOLI_CALLE}&amp;amp;type=CONNECT&amp;amp;callref=${DOLI_CALLER}&amp;amp;version=1)})&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Context notification  =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
; Doli&lt;br /&gt;
; Process&lt;br /&gt;
[dolibarr_notification]&lt;br /&gt;
; put notif SETUP&lt;br /&gt;
exten =&amp;gt; s,1,SET(CALLERID(name)=${CURL(http://votreserveur/calling/calling.php?account=${USERNAME}&amp;amp;caller=${DOLI_CALLER}&amp;amp;callee=${DOLI_CALLE}&amp;amp;type=SETUP&amp;amp;callref=${DOLI_CALLER}&amp;amp;version=1)})&lt;br /&gt;
exten =&amp;gt; s,n,Answer()&lt;br /&gt;
; option : r pour sonnerie d&#039;attente&lt;br /&gt;
; option : e Execute &amp;quot;h&amp;quot; as the peer when this call ends&lt;br /&gt;
; option : t T transphert appelant / appelé&lt;br /&gt;
; option : M() Macro&lt;br /&gt;
; option S() raccorche apres x seconde&lt;br /&gt;
exten =&amp;gt; s,n,Dial(SIP/votreposte, 60,etTrM(dolinotif))&lt;br /&gt;
; put notif RELEASE&lt;br /&gt;
exten =&amp;gt; h,1,SET(CALLERID(name)=${CURL(http://votreserveur/calling/calling.php?account=${USERNAME}&amp;amp;caller=${DOLI_CALLER}&amp;amp;callee=${DOLI_CALLE}&amp;amp;type=RELEASE&amp;amp;callref=${DOLI_CALLER}&amp;amp;version=1)})&lt;br /&gt;
exten =&amp;gt; h,2,Hangup(16)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Sous Module des notifications d&#039;appel entrant ==&lt;br /&gt;
&lt;br /&gt;
Les modules d&#039;alerte, sont les modules qui travaille en temps réel afin de vous informer des appels entrant. Il créer un affichage proposant les liens vers la fiche client/contact, et éventuellement celle du collaborateur initialement appelé. Plusieurs modules sont disponible en fonction des contextes d&#039;utilisation.&lt;br /&gt;
&lt;br /&gt;
 - Mod NoRun : Module d&#039;exemple, permettant de désactiver tout éléments JavaScript de notification des appels &lt;br /&gt;
 - Mod Simplejs : Module original de notification via un popup (modale box jquery) en pleine page. Destiné à l&#039;usage d&#039;un utilisateur unique de dolibarr. Basé sur un appel récurent en ajax.&lt;br /&gt;
 - Mod Advancedjs : Module de notification avancé, assurant un affichage non intrusif (lien menu haut droit, et détail appel entrant au click sur le lien).  Exploité en contexte mutli-utilisateurs. Basé sur un appel récurent en ajax.&lt;br /&gt;
 - Mode Nodejs : Module de notification avancé, il est identique en terme d&#039;affichage au module Advancedjs, mais exploite un serveur @nodejs complementaire afin de pousser les informations vers les client dolibarr.&lt;br /&gt;
 Il n&#039;y a aucun appel récurent en ajax. Il nécessite un serveur dedié, nodejs installé. le servelet et fourni dans le paquet. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Sous module Nodejs pre-requis===&lt;br /&gt;
&lt;br /&gt;
Ce sous module exploite la technologie node.js. Il est donc nécessaire que votre serveur qui héberge dolibarr, soit installé nodejs. Sans quoi, le sous module client de dolibarr ne fonctionnera pas. &lt;br /&gt;
&lt;br /&gt;
==== Servelet Nodejs ====&lt;br /&gt;
&lt;br /&gt;
les possibilité de configuration étant nombreuses, nous allons détailler rapidement une installation de base avec ces pre-requis pour ce servelet. &lt;br /&gt;
extraire le zip nodejsd dans votre dossier /var/nodejs&lt;br /&gt;
&lt;br /&gt;
le script d’exécution s&#039;appel index.js&lt;br /&gt;
&lt;br /&gt;
Il vous suffit de lancer&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 node /var/nodejs/index.js&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
pour que le script démarre. Si vous vous connecter à votre dolibarr (ayant activé le module client Nodejs), vous verrez alors le serveur vous informer le la connexion de l&#039;id de votre utilisateur. &lt;br /&gt;
&lt;br /&gt;
Pour lancer en production votre servelet, utilisé le fameux &amp;quot;&amp;amp;&amp;quot;, afin que votre servelet ne ce coupe pas lorsque vous vous déconnecterez du ssh.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt; node /var/nodejs/index.js &amp;amp; &amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Une fois installé et configuré votre servelet (voir fichier config.js), aller dans le panneau de configuration du module calling de dolibarr, activer le module nodejs, puis preciser l&#039;url et le port de votre servelet&lt;br /&gt;
&lt;br /&gt;
===Note===&lt;br /&gt;
Il est possible de moduler ce comportement avec  des module nommé alert_xxx.php&lt;/div&gt;</summary>
		<author><name>Oscim</name></author>
	</entry>
	<entry>
		<id>https://wiki.dolibarr.org/index.php?title=Module_Calling&amp;diff=29107</id>
		<title>Module Calling</title>
		<link rel="alternate" type="text/html" href="https://wiki.dolibarr.org/index.php?title=Module_Calling&amp;diff=29107"/>
		<updated>2013-04-02T09:51:38Z</updated>

		<summary type="html">&lt;p&gt;Oscim: /* Utilisation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Modules complémentaires]]&lt;br /&gt;
[[Category:Prélèvements bancaires]]&lt;br /&gt;
{{TemplateDocDev}}&lt;br /&gt;
{{TemplateDocUtil}}&lt;br /&gt;
= Informations =&lt;br /&gt;
{{TemplateModuleInfo&lt;br /&gt;
|editor=Oscim &lt;br /&gt;
|web= oscim.fr&lt;br /&gt;
|status=stable&lt;br /&gt;
|prerequisites= module_clicktodial&lt;br /&gt;
|minversion=3.3.x&lt;br /&gt;
|note=&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
= Vocation =&lt;br /&gt;
Assure la prise en charge du suivi des appels téléphonique( appels entrant et sortant).&lt;br /&gt;
&lt;br /&gt;
Une alerte lors d&#039;appel entrant contenant les liens vers les informations clients et/ou les informations du collaborateur appelé.&lt;br /&gt;
Historisation des appels dans les fiches de tiers et dans l&#039;agenda&lt;br /&gt;
&lt;br /&gt;
= Installation =&lt;br /&gt;
{{InstallModuleFr}}&lt;br /&gt;
&lt;br /&gt;
= Configuration =&lt;br /&gt;
{{ActivationModuleFr}}&lt;br /&gt;
&lt;br /&gt;
Ce module active et configure le module clicktodial de dolibarr déjà présent lors de l&#039;installation.&lt;br /&gt;
Une fois installé et configuré le module, il vous sera nécessaire de coupler dolibarr à votre fournisseur de service de téléphonie en voip.&lt;br /&gt;
&lt;br /&gt;
== Configuration de la liaison avec votre provider de SIP ==&lt;br /&gt;
Le choix de votre fournisseur peut limiter l&#039;usage du module en fonction de l&#039;api de ce dernier. Ce module est fourni avec des sous module permettant d&#039;ajuster celui-ci à votre fournisseur.&lt;br /&gt;
Liste des fournisseur supporté à ce jour:&lt;br /&gt;
&lt;br /&gt;
 - Keyyo : Voir keyyo.fr - L&#039;api supporte les appels entrant et sortant&lt;br /&gt;
 - OVH : Voir Ovh.fr  - L&#039;api supporte les [[appels sortant]]&lt;br /&gt;
 - OVH + @Asterisk : extension du module ovh, ajoute la prise en charge des appels sortant par l’intermédiaire d&#039;un pbx privé. Nécessite d&#039;installer et configurer un serveur asterisk - L&#039;api supporte les appels entrant et sortant&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Liaison Agenda et action ==&lt;br /&gt;
&lt;br /&gt;
Ajouter une action dans le dictionnaire &amp;quot;liste des action&amp;quot; de la table 	llx_c_actioncomm, afin de lister les actions spécifique à la téléphonie; &lt;br /&gt;
&lt;br /&gt;
 - code : AC_TEL&lt;br /&gt;
 - Libellé : Phone call&lt;br /&gt;
 - type : system&lt;br /&gt;
&lt;br /&gt;
Cet ajout vous permet d&#039;exploiter le bouton du menu principal téléphonie, qui devrait limiter l&#039;affichage aux seuls événements de téléphonie.&lt;br /&gt;
&lt;br /&gt;
== Les options du modules ==&lt;br /&gt;
&lt;br /&gt;
===le mode d&#039;alerte ===&lt;br /&gt;
&lt;br /&gt;
Cette option vous permet de gérer le comportement lors des appels entrant; &lt;br /&gt;
&lt;br /&gt;
 - Pas de notification en popup;  aucune notification , vous pouvez dans ce cas choisir le module norun des sous module de notification&lt;br /&gt;
 - Seul les utilisateurs du poste appelé sont notifiés; n&#039;informe que l&#039;utilisateur dont le numéro est appelé. cette sélection prend en compte le numéro de poste configuré sur la fiche utilisateur, et le numéro de ligne défini  dans l&#039;onglet clicktocall&lt;br /&gt;
 - Tous les utilisateur configuré pour le clicktodial sont notifiés&lt;br /&gt;
 - Tous les utilisateurs sont notifiés&lt;br /&gt;
&lt;br /&gt;
=== comportement sur les numéro des collaborateurs et de l&#039;entreprise ===&lt;br /&gt;
Cette option règle le comportement lors de l&#039;appel entrant d&#039;un collaborateur (y compris avec sont numéro de mobile), appel interne, appel d&#039;un site externe.&lt;br /&gt;
&lt;br /&gt;
 - Ignorer les appels entrant des numéros utilisateurs de l&#039;entreprise (pro/perso/mobile); aucune notification ni trace dans les actions&lt;br /&gt;
 - Accepter et notifier sauf l&#039;utilisateur correspondant&lt;br /&gt;
&lt;br /&gt;
=== Information du collaborateur appelé ===&lt;br /&gt;
Affichage d&#039;information complémentaire sur le collaborateur réellement appelé par un tiers (basé sur le numero de téléphone contacté).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Création de fiche ===&lt;br /&gt;
Dans le cas d&#039;appel entrant, dont le numéro n&#039;est pas trouvé dans la base de donnée, une fiche peut être créer, avec comme nom le numéro de téléphone. &lt;br /&gt;
&lt;br /&gt;
 - Pas de création de fiche&lt;br /&gt;
 - Créer un tiers avec le numéro de l&#039;appelant&lt;br /&gt;
 - Créer un contact avec le numéro de l&#039;appelant&lt;br /&gt;
&lt;br /&gt;
=== Appel Anonyme ===&lt;br /&gt;
Peut créer une fiche pour les appels anonyme. &lt;br /&gt;
&lt;br /&gt;
=== Trace les appels ===&lt;br /&gt;
Tracer les appels dans les actions/agenda de dolibarr; Vous pouvez désactiver cette option.&lt;br /&gt;
= Utilisation =&lt;br /&gt;
&lt;br /&gt;
La manipulation et l&#039;utilisation de ce module reste simple, compte tenu qu&#039;il ne généré pas d&#039;action particulières. le clicktocall sur les numéro de téléphone vous assure la possibilité de lancer des appels en 1 clic. &#039;&#039;Attention toutefois les numéro de fax ce retrouvent aussi avec un liens de click to call&#039;&#039;. &lt;br /&gt;
&lt;br /&gt;
Lors d&#039;un appel entrant, en fonction de la configuration du mode d&#039;alerte, vous aurez une boite affichant le liens vers la fiche du contact et/ou de la société qui cherche à vous joindre. De plus les appels sont tracés dans l&#039;agenda.&lt;br /&gt;
&lt;br /&gt;
= Information Développement  =&lt;br /&gt;
&lt;br /&gt;
== Généralités ==&lt;br /&gt;
&lt;br /&gt;
Le fonctionnement du module s’appuie sur un fichier &amp;quot;calling.php&amp;quot; à la racine  public de dolibarr. Celui ci est donc accessible via http. Tous les appels de ce module transite par ce fichier, tant les appels entrant que les sortant.&lt;br /&gt;
Le module utilise une table de donnée supplémentaire (llx_calling ) afin de tracer les appels entrant, et l&#039;utilisateur  appelé. Un dossier calling est crée dans la dossier Documents afin de stocker des fichier javascript spécifique par utilisateur.&lt;br /&gt;
&lt;br /&gt;
== Sous Module de liaison vers api de voip ==&lt;br /&gt;
&lt;br /&gt;
Il est possible d&#039;ajouter et modifier les modules d&#039;interaction avec les api de VOIP.  les modules fournis assure une liaison vers des services precis, si vous utiliser une autre api, il sera necessaire de créer votre propre module de liaison.&lt;br /&gt;
&lt;br /&gt;
Le fichier d&#039;un module de gestion d&#039;api doit être nommé api_xxxx.php , ou xxxx représente le nom du fournisseur du service&lt;br /&gt;
&lt;br /&gt;
=== Émission d&#039;un appel  ===&lt;br /&gt;
Cette liaison exploite le module ClicktoCall. Il assure l’émission d&#039;un appel , qui une fois lancé fera sonner votre téléphone, et celui de l&#039;interlocuteur que vous appelez.&lt;br /&gt;
L&#039;utilisation du clicktodial complétera automatiquement la fiche action du tiers/contact.&lt;br /&gt;
&lt;br /&gt;
Pour la conservation des données, et l&#039;affichage du popup, un fichier est créer dans Documents/calling de dolibarr. Ce fichier assure le stockage des données temporaire. &lt;br /&gt;
&lt;br /&gt;
=== Réception d&#039;un appel  ===&lt;br /&gt;
Cette section un peu plus complexe sera très dépendante des service offert par l&#039;offre de VOIP à laquelle vous avez souscrit.&lt;br /&gt;
&lt;br /&gt;
L&#039;interception des appels, ne vous permettra pas de décrocher votre téléphone, mais vous proposera un popup de dialogue, vous fournissant le liens vers la fiche Tiers/contact correspondante, si celle ci existe dans la base de donnée.Dans le cas contraire, il sera possible de créer une fiche de tiers/contact basé sur le numéro de téléphone.&lt;br /&gt;
&lt;br /&gt;
Tous appel entrant viendra compléter la fiche action du tiers. En cas d&#039;appel non répondu, la tache restera ouverte. Dans le cas d&#039;un appel décroché, la tache sera clôturé.&lt;br /&gt;
&lt;br /&gt;
==== Configuration de l&#039;api tiers ====&lt;br /&gt;
&lt;br /&gt;
Il sera nécessaire pour rendre opérationnel la notification des appels entrant de préciser une URL de notification pour l&#039;api tiers, qui doit initier cette notification. Utiliser l&#039; URL entrant , afficher dans votre page de configuration . Celle ci étant générer par le module d&#039;une  api précise, les variables GET a remplacer, sont spécifique à ce fournisseur.&lt;br /&gt;
&lt;br /&gt;
===Note===&lt;br /&gt;
- Stockage des numéro de téléphone en base de donnée.&lt;br /&gt;
Pour pouvoir être extrait et reconnu, il est souhaitable d&#039;utiliser la nomenclature international / national des numéros.&lt;br /&gt;
02 35 98 63 65 ou 33 6 98 65 87 54 ou 002 65 98 32 78&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Élément de configuration d&#039;asterisk ===&lt;br /&gt;
&lt;br /&gt;
La configuration d&#039;asterisk reste un serveur complet et complexe, les possibilité sont énorme, aussi, je vous encourage a consulter les tuto spécialisés. N&#039;oubliez toutefois pas que les PBX sont très fortement attaqué, et que ceux si peuvent générer des coût important si votre serveur ce fait hacké ou est mal configurer, compte tenu qu&#039;il est une passerelle vers le réseau téléphonique, et ces tarif variant (mobile, appel surtaxé, international, etc..). &lt;br /&gt;
Pour ma part, je n&#039;utilise asterisk que dans la prise en charge des appels entrants, les appels sortant exploitant l&#039;api d&#039;ovh via le click to call. Le module dolibarr calling d&#039;asterisk est conçut en ce sens. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Fichier extensions.conf ====&lt;br /&gt;
les éléments de configuration suivant parte du principe que vous avez installé un asterisk fonctionnel, et configuré votre liaison avec votre provider. Il ne font qu&#039;apporter les éléments de base pour l’interception des appel entrant et la notification vers dolibarr. &lt;br /&gt;
Il doivent renvoyer en même temps vers votre ligne sip.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Context appel entrant  =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
; appel entrant via numero provider&lt;br /&gt;
[process_entrant]&lt;br /&gt;
  exten =&amp;gt; _X.,1,NoOp()&lt;br /&gt;
  exten =&amp;gt;  _X.,n,Set(__DOLI_CALLER=${CUT(CUT(SIP_HEADER(From),@,1),:, 2)})&lt;br /&gt;
  exten =&amp;gt;  _X.,n,Set(__DOLI_CALLE=${CUT(CUT(SIP_HEADER(To),@,1),:, 2)})&lt;br /&gt;
&lt;br /&gt;
; REDIRECTION&lt;br /&gt;
exten =&amp;gt;  _X.,n,Goto(dolibarr_notification,s,1)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Context macro-notification  =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
; Doli&lt;br /&gt;
; macro pour event CONNECT&lt;br /&gt;
[macro-dolinotif]&lt;br /&gt;
exten =&amp;gt; s,1,SET(${CURL(http://votreserveur/calling/calling.php?account=${EXTEN}&amp;amp;caller=${DOLI_CALLER}&amp;amp;callee=${DOLI_CALLE}&amp;amp;type=CONNECT&amp;amp;callref=${DOLI_CALLER}&amp;amp;version=1)})&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Context notification  =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
; Doli&lt;br /&gt;
; Process&lt;br /&gt;
[dolibarr_notification]&lt;br /&gt;
; put notif SETUP&lt;br /&gt;
exten =&amp;gt; s,1,SET(CALLERID(name)=${CURL(http://votreserveur/calling/calling.php?account=${USERNAME}&amp;amp;caller=${DOLI_CALLER}&amp;amp;callee=${DOLI_CALLE}&amp;amp;type=SETUP&amp;amp;callref=${DOLI_CALLER}&amp;amp;version=1)})&lt;br /&gt;
exten =&amp;gt; s,n,Answer()&lt;br /&gt;
; option : r pour sonnerie d&#039;attente&lt;br /&gt;
; option : e Execute &amp;quot;h&amp;quot; as the peer when this call ends&lt;br /&gt;
; option : t T transphert appelant / appelé&lt;br /&gt;
; option : M() Macro&lt;br /&gt;
; option S() raccorche apres x seconde&lt;br /&gt;
exten =&amp;gt; s,n,Dial(SIP/votreposte, 60,etTrM(dolinotif))&lt;br /&gt;
; put notif RELEASE&lt;br /&gt;
exten =&amp;gt; h,1,SET(CALLERID(name)=${CURL(http://votreserveur/calling/calling.php?account=${USERNAME}&amp;amp;caller=${DOLI_CALLER}&amp;amp;callee=${DOLI_CALLE}&amp;amp;type=RELEASE&amp;amp;callref=${DOLI_CALLER}&amp;amp;version=1)})&lt;br /&gt;
exten =&amp;gt; h,2,Hangup(16)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Sous Module des notifications d&#039;appel entrant ==&lt;br /&gt;
&lt;br /&gt;
Les modules d&#039;alerte, sont les modules qui travaille en temps réel afin de vous informer des appels entrant. Il créer un affichage proposant les liens vers la fiche client/contact, et éventuellement celle du collaborateur initialement appelé. Plusieurs modules sont disponible en fonction des contextes d&#039;utilisation.&lt;br /&gt;
&lt;br /&gt;
 - Mod NoRun : Module d&#039;exemple, permettant de désactiver tout éléments JavaScript de notification des appels &lt;br /&gt;
 - Mod Simplejs : Module original de notification via un popup (modale box jquery) en pleine page. Destiné à l&#039;usage d&#039;un utilisateur unique de dolibarr. Basé sur un appel récurent en ajax.&lt;br /&gt;
 - Mod Advancedjs : Module de notification avancé, assurant un affichage non intrusif (lien menu haut droit, et détail appel entrant au click sur le lien).  Exploité en contexte mutli-utilisateurs. Basé sur un appel récurent en ajax.&lt;br /&gt;
 - Mode Nodejs : Module de notification avancé, il est identique en terme d&#039;affichage au module Advancedjs, mais exploite un serveur @nodejs complementaire afin de pousser les informations vers les client dolibarr.&lt;br /&gt;
 Il n&#039;y a aucun appel récurent en ajax. Il nécessite un serveur dedié, nodejs installé. le servelet et fourni dans le paquet. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Sous module Nodejs pre-requis===&lt;br /&gt;
&lt;br /&gt;
Ce sous module exploite la technologie node.js. Il est donc nécessaire que votre serveur qui héberge dolibarr, soit installé nodejs. Sans quoi, le sous module client de dolibarr ne fonctionnera pas. &lt;br /&gt;
&lt;br /&gt;
==== Servelet Nodejs ====&lt;br /&gt;
&lt;br /&gt;
les possibilité de configuration étant nombreuses, nous allons détailler rapidement une installation de base avec ces pre-requis pour ce servelet. &lt;br /&gt;
extraire le zip nodejsd dans votre dossier /var/nodejs&lt;br /&gt;
&lt;br /&gt;
le script d’exécution s&#039;appel index.js&lt;br /&gt;
&lt;br /&gt;
Il vous suffit de lancer&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 node /var/nodejs/index.js&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
pour que le script démarre. Si vous vous connecter à votre dolibarr (ayant activé le module client Nodejs), vous verrez alors le serveur vous informer le la connexion de l&#039;id de votre utilisateur. &lt;br /&gt;
&lt;br /&gt;
Pour lancer en production votre servelet, utilisé le fameux &amp;quot;&amp;amp;&amp;quot;, afin que votre servelet ne ce coupe pas lorsque vous vous déconnecterez du ssh.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt; node /var/nodejs/index.js &amp;amp; &amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Une fois installé et configuré votre servelet (voir fichier config.js), aller dans le panneau de configuration du module calling de dolibarr, activer le module nodejs, puis preciser l&#039;url et le port de votre servelet&lt;br /&gt;
&lt;br /&gt;
===Note===&lt;br /&gt;
Il est possible de moduler ce comportement avec  des module nommé alert_xxx.php&lt;/div&gt;</summary>
		<author><name>Oscim</name></author>
	</entry>
</feed>