1. Go to this page and download the library: Download dialonce/sdk library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
dialonce / sdk example snippets
$application = new DialOnce\Application('API_KEY', 'API_SECRET');
$application = new DialOnce\Application('API_TOKEN');
$ivr = new DialOnce\IVR($application, $callerNumber, $calledNumber);
$ivr->log('call-start');
$ivr->log('call-end');
$ivr->log('call-error');
//etc.
$ivr = new DialOnce\IVR($application, $callerNumber, $calledNumber);
if ( $ivr->isEligible() ) {
}
$ivr = new DialOnce\IVR($application, $callerNumber, $calledNumber);
$ivr->serviceRequest();
$ivr = new DialOnce\IVR($application, $callerNumber, $calledNumber);
if ($ivr->isMobile()) {
}
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.