Module OVH (SMS, ClickToDial, ...)

From Dolibarr Open Source ERP CRM Wiki

Return to developer
documentation index

File Doc dev.png

Return to user
documentation index

File Doc user.png



Module name OVH
Editor / Editeur NLTechno -
Download or buy page / Page achat ou téléchargement
Status / Statut / Estado Stable
Prerequisites / Prérequis
  • An OVH account.
  • To use Click2Dial, you also need an OVH SIP subscription and id provided by OVH
  • For module 3.7 or lower: Your Dolibarr server must be able to contact OVH server with port 1664.
  • For module 3.8 or higher: need PHP 5.4+ Dolibarr min version 3.8.0   
Last update date / Date mise à jour fiche / Fecha última actualización 2017-06-13
Note / Nota


Add features to link Dolibarr between OVH web hosting services. Current version allows to:

  • Send SMS to a thirdparty or member
  • Import your OVH invoices
  • Use the ClickToDial OVH system


  • Télécharger le fichier archive du module (.zip) depuis le site web ou le récupérer par tout autre manière.
  • Placer le répertoire du module dans le répertoire racine de dolibarr ou dans le répertoire "custom" si le module est compatible (recommandé)
  • Decompressez le fichier par la commande
  • Le module est opérationnel et peut être activé.


To use this module, you must first enable it. For this, with an administrator account, go on page "Home - Setup - Modules".

Choose the tab where the module stand. Then click on "Activate".

The module is now activated.

If an icon appears at end of module line, click on it to access the setup page, specific to this module.

Common setup

All services of this module use OVH API. So you must have an OVH ( account.

For module version 3.7.0 or less (use old OVH API soAPI)

Then go on Dolibarr, OVH module setup, tab "Common", and add your OVH account:

* Nic handle
* Mot de passe

For field "URL of SOAP OVH service", type the value provided as example.


Once information are input, you can click onto "Test connexion" to check that Dolibarr can communicate with OVH server.

Warning.png Your Dolibarr server must be able to contact OVH server on port 1664.


  • If your server is not allowed to reach HTTPS web site and you get a "timeout" or "connection refused" error, try with this URL
  • Your Dolibarr sevrer may not be able to contact OVH server on port 1664. Check your firewall setup.

For module version 3.8.0 or more (using new OVH API REST v6)

Go on Dolibarr, OVH module setup, tab "Authentication", and add the following keys:

* Application name
* Application key
* Application secret

To get those 3 values, you must go on page

Click and save once the 3 values are entered.

A 4th field to fill will appear. To get value of this field, click on link Click here to login and get a new consumer key (You must choose UNLIMITED validity). This will open an OVH authentication window. Enter your NICHandle and password and duration "UNLIMITED". When going back from this page, the 4th field will be defined.

SMS setup

Sending of SMS need to buy SMS packages at OVH, so with your OVH account, select number of SMS to buy at OVH website. OVH commercial page for this is

Once your pack of SMS has been paied, you must enter on the OVH panel, the list of sender labels that may appears to your recipient when you will send SMS. Note: A validation by OVH may be required (it is done once for each different "sender label" you want to use).

Once this is done, go into Dolibarr, setup of module OVH, "SMS" tab and add name of SMS group to use (groups created from your online OVH manager).

Screen shot sms setup.png

ClickToDial setup

To use ClickToDial, go on ClickToDial tab,

  • Note URL suggested
  • Go into setup of module ClickToDial (you must enable module) and paste URL provided, into field "Link by default".

You can copy URL as it is. If you do so, you must also go into the user card to fill the OVH SIP login (and eventually the password) into tab "ClickTodial" of user card. Or, you can also replace into the pasted URL, the field __LOGIN__ (and __PASS__) into URL with this value directly (in such case, this couple login/pass that will be used will be same for everybody).

Note: to get the couple login/pass, go into documentation provided by OVH and available here:

Screen shot click2dial.png

Warning.png Check also your OVH phone service is setup has a SIP service and not as an Analogic service.

Import OVH invoices setup

Just select the supplier third party to have imported invoices linked to.



  • Go into card of a Thirdparty, Contact or Member. A new tab is visible to send SMS.

Screen shot sms.png


  • If the ClickToDial module (it's another module provided by default with all Dolibarr) was also activated, and URL provided by at previous chapter was filled into its setup page, a picto must be visible near to each phone number. Clicking on picto will launch phone numbering and launch your OVH phoning system.

Fetching invoices

Go into menu "Home - Modules tools - OVH invoices import". If this menu does not exists onto your instance, call URL page http://yourdolibarr/ovh/importovhinvoice.php

You can the choose which invoice to import.

Screen shot invoiceimport.png


Development of this module is not included inside the standard GIT repository of Dolibarr but inside a repository dedicated to modules not supported by the Dolibarr development team but supported by NLTechno on platform Git by Framasoft:

Note this is a private repository, so to contribute and/or get sources, you must create an account on web site.


If you are on debian or ubuntu and get this error

Error creating resource: [message] fopen(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed [file]
.../htdocs/ovh/includes/guzzlehttp/ringphp/src/Client/StreamHandler.php [line] 406 [message] fopen(): Failed to enable crypto [file] 
.../ovh/includes/guzzlehttp/ringphp/src/Client/StreamHandler.php [line] 406 [message] fopen( failed to open stream: operation failed [file]
.../ovh/includes/guzzlehttp/ringphp/src/Client/StreamHandler.php [line] 406 [message] Undefined variable: http_response_header [file] 
.../ovh/includes/guzzlehttp/ringphp/src/Client/StreamHandler.php [line] 407

Check that package "ca-certificates" is installed.

Personal tools
  • Ask to to request an account to contribute to this documentation
  • Log in
In other languages
No translation in Spanish.
No translation in Deutsch.
No translation in Italian.
No translation in Greek.
No translation in &lt;multilanguagemanager_cn&gt;.

Social networks
Follow us on Google+ Follow us on Facebook Follow us on LinkedIn Follow us on Twitter