Git Product home page Git Product logo

plivo-examples-php's Introduction

php_examples

plivo-examples-php's People

Contributors

cachrisman avatar huzaif-plivo avatar nixonsam avatar ramya-raghu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

plivo-examples-php's Issues

Example does not use plivo

All that the example does is load the plivo.php functions, assign some variables and then echo those variables into a sentence without using any plivo functions. It is a nice rudimentary demonstration of PHP's $_REQUEST super global, the echo function and the require_once function, but it does not demonstrate ANY plivo code whatsoever.

Callback doesn't work

I use plivo for linked two telephone numbers by callback function.
But code preview in example:
https://www.plivo.com/docs/getting-started/making-outbound-calls/

'+7926*******', # The phone numer to which the all has to be placed 'from' => '+7925*******', # The phone number to be used as the caller id 'answer_url' => "http://caringfarmer.ru/testing/answer.xml", # The URL invoked by Plivo when the outbound call is answered 'answer_method' => "GET" # The method used to call the answer_url ); // $response = $p->make_call($params); // echo "
";
// print_r ($response);
// echo "
"; ``` I use: "plivo/plivo-php": "^1.1", "guzzlehttp/guzzle": "^6.1" But when I started code in work, on my telephone arrived call from +7925, I take phone, but don't listen voice, and calling interrupted through 5 seconds. In debug on site plivo I found INFO - code 600 XML : response is empty from GET http://caringfarmer.ru/testing/answer.xml I use POST metod also. Did not help. What is it, and as I may resolve this problem?

This doesn't work at all

I have try to work with this file and is very confusing.

  1. Why are 2 files in one instead of of 2 separate files, ex: phone_ivr.php, phone_tree.php?
    If they are 2 files, please can you separate them.
  2. Why you are you changing the REQUEST_METHOD?
    For GET you have POST and for POST you have GET.
  3. Also, why is the file called phone_ivr.php do the phone part need to be the actual phone number that will be using the service?

I sign up for PLIVO service and I have spend crazy hours trying to make this thing work, and is useless. This is a very poor example.

Examples outdated?

All the examples reference the following line to load the plivo library
require 'vendor/autoload.php';

Which SDK is this using? It doesn't seem to match the plivo-php repo?

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.