Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Outdated examples #1

Open
indigator opened this issue May 14, 2020 · 0 comments
Open

Outdated examples #1

indigator opened this issue May 14, 2020 · 0 comments

Comments

@indigator
Copy link

The sample code is outdated and does not work. For example, you have used $_POST in examples whereas requests are sent as multi-form json data. $_POST is always empty. Correct usage is file_get_contents('php://input'). None of the commands work like play audio. Can you update and test it to work with your platform.

It will be quite appreciable if you can create some examples with webhooks for the following:

  • Accept incoming call, play audio and hangup
  • Outbound: bridge calls
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant