Giter VIP home page Giter VIP logo

voys's Introduction

JCID ♥️ Voys

Scrutinizer build status Scrutinizer quality score Software license Packagist version Packagist total downloads StyleCI SymfonyInsight

Voys call API wrapper

An Voys API wrapper for the click to dial flow.

Installation

Using Composer:

composer require jcid/voys

Example usages

Fill in your Voys login credentials, with your e-mail address and password. Fill in the phone number you want to call to go and see will get additional outgoing phone which others in their display. Note, this should be a number of Voys.

use Jcid\Voys\Voys;

$voys = new Voys('[email protected]', 'password');
$callId = $voys->callPhonenumer('0123456789', '0123456789');

echo $callId;

Fetch the status of the call by the returned $callId after you have started an call.

use Jcid\Voys\Voys;

$voys = new Voys('[email protected]', 'password');
$callId = $voys->callPhonenumer('0123456789', '0123456789');
$callStatus = $voys->getCallStatus($callId);

echo $callStatus;

The possible statussen of an call could be one of the following

use Jcid\Voys\VoysCallStatus;

VoysCallStatus::STATUS_NULL
VoysCallStatus::DIALING_A
VoysCallStatus::DIALING_B
VoysCallStatus::CONNECTED
VoysCallStatus::DISCONNECTED
VoysCallStatus::FAILING_A
VoysCallStatus::FAILING_B

Voys documentation

Check out the 'Klik en bel' documentation by Voys

voys's People

Contributors

cafferata avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

ywatchman

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.