mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-11-02 07:50:37 +00:00
18 lines
396 B
PHP
18 lines
396 B
PHP
<?php
|
|
use Volc\Service\Vms\Vms;
|
|
|
|
require('../../../vendor/autoload.php');
|
|
require('../../../src/Service/Vms/Vms.php');
|
|
|
|
$client = Vms::getInstance();
|
|
$client->setAccessKey("your ak");
|
|
$client->setSecretKey("your sk");
|
|
|
|
$body = [
|
|
'Caller' => '137XXXX8257',
|
|
'Callee' => '158XXXX9130',
|
|
'NumberPoolNo' => 'NPXXXXX810901043',
|
|
];
|
|
|
|
$response = $client->Click2CallLite($body);
|
|
echo $response; |