/plivohelper-php

Plivo PHP helper Library

Primary LanguagePHPMIT LicenseMIT

Plivo PHP Helper Library

Description

The Plivo PHP helper simplifies the process of making REST calls and generating RESTXML.

See Plivo Documentation for more information.

Usage

To use the Plivo helper library, just include plivohelper.php in the your current php file.

As shown in example-call.php, you will need to specify the ACCOUNT_ID and ACCOUNT_TOKEN, before you can make REST requests. Before you run the examples, you should have Plivo Running along with FreeSWITCH Running and an user 1000 logged in.

See Plivo Documentation for more information.

Files

plivohelper.php: include this library in your code

examples/example-call.php: example usage of REST Call

examples/example-bulkcalls.php: example usage of REST Bulk Calls

examples/example-transfercall.php: example usage of REST Transfer Live Call

examples/example-hangupcall.php: example usage of REST Hangup Live Call

examples/example-xml.php: example usage of the RESTXML generator

examples/example-utils.php: example usage of utilities

**examples/phonemenu/

Credits

Plivo PHP Helper Library is derived from Twilio PHP Helper

License

The Plivo Ruby Helper Library is distributed under the MIT License