You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 29, 2019. It is now read-only.
// Works with the Mac OS X AddressBook and Dolibarr for example
// SETTINGS AND INFOS
// Think about protecting access to this script with a .htaccess file for example
// For this script to work you need to configure it with your click2call credentials, you can obtain them on OVH's manager in the telephone section and then "line", "call in a click"
// You need to replace userclick2call, passclick2call and phone by your own
if(isset($_REQUEST['n'])) {
$telephone = $_GET["telephone"];
echo 'Number ' .$telephone. '<br>';
try {
$soap = new SoapClient("https://www.ovh.com/soapi/soapi-re-1.14.wsdl");
// Parameters are to be defined below for the 3 variables