epictest/mango-vpbx

Library for Mango Office VPBX Api

v0.1.4 2021-09-22 16:23 UTC

This package is auto-updated.

Last update: 2024-04-22 22:19:13 UTC


README

PHP (>=8.0) library for Mango Office VPBX Api

composer require epictest/mango-vpbx

MangoOffice\Call

params type info
$key string ID
$salt string Signature

Init

use Epictest\MangoVpbx\MangoOffice\Call as MangoCall;

$mangoVpbx = new MangoCall($apiKey, $apiSalt);

Methods

sendCall (Start call)

params type example
$from string,array caller extension or phone number
if integer is used as extension
$to string number to call
$response = $this->mangoVpbx->sendCall(to: "79991113366", from: "111");