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

Support for "AsyncAmdPartialResults" parameter #138

Merged
merged 1 commit into from
Jul 7, 2023
Merged

Conversation

iAmmar7
Copy link
Collaborator

@iAmmar7 iAmmar7 commented Jul 4, 2023

@iAmmar7 iAmmar7 requested review from danieleds and edolix July 4, 2023 15:28
@danieleds
Copy link
Contributor

@iAmmar7 I'm getting this error when trying create-call-amd.php:

Fatal error: Uncaught TypeError: Twilio\Rest\Api\V2010\Account\CallInstance::__construct(): Argument #2 ($payload) must be of type array, null given, called in /usr/src/myapp/src/Rest/Api/V2010/Account/CallList.php on line 69 and defined in /usr/src/myapp/vendor/twilio/sdk/src/Twilio/Rest/Api/V2010/Account/CallInstance.php:70
Stack trace:
#0 /usr/src/myapp/src/Rest/Api/V2010/Account/CallList.php(69): Twilio\Rest\Api\V2010\Account\CallInstance->__construct(Object(SignalWire\Rest\Api\V2010), NULL, 'YourProjectID')
#1 /usr/src/myapp/examples/laml/create-call-amd.php(11): SignalWire\Rest\Api\V2010\Account\CallList->create('+1+++', '+1+++', Object(Twilio\Values))
#2 {main}
  thrown in /usr/src/myapp/vendor/twilio/sdk/src/Twilio/Rest/Api/V2010/Account/CallInstance.php on line 70

@iAmmar7
Copy link
Collaborator Author

iAmmar7 commented Jul 5, 2023

@iAmmar7 I'm getting this error when trying create-call-amd.php:

I think you forgot to pass the data (project id, token, space url, from and to numbers).

@danieleds
Copy link
Contributor

@iAmmar7 I was testing with webhook.site. I confirm that with the correct URL it works

@danieleds danieleds merged commit dbbd645 into master Jul 7, 2023
3 checks passed
@danieleds danieleds deleted the aa/amd-partial branch July 7, 2023 16:49
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

Successfully merging this pull request may close these issues.

None yet

2 participants