Module OVH (SMS, ClickToDial, ...)

= Informations =

= Features = 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

= Installation =

= Setup =

Common setup
All services of this module use OVH API. So you must have an OVH (www.ovh.com) account.

Then go on Dolibarr, OVH module setup, tab "Common", and add your OVH account: 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.
 * Nic handle
 * Mot de passe
 * https://www.ovh.com/soapi/soapi-re-1.26.wsdl

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 http://www.ovh.co.uk/sms_and_fax/

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).

ClickToDial setup
To use ClickToDial, go on ClickToDial tab, 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/pass 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, ce couple login/pass that will be used will be same for everybody).
 * Note URL suggested
 * Go into setup of module ClickToDial (you must enable module) and paste URL provided, into field "Link by default".

Note: to get the couple login/pass, go into documentation provided by OVH and available here: http://guides.ovh.com/TelFaqClick2Call

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

= Usage =

SMS

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

ClickToDial

 * 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.

= Development =