Closed slash686 closed 3 years ago
Twilio call resource is missing some filters described in docs (https://www.twilio.com/docs/voice/api/call-resource#read-a-call-resource), e.g. direction, price e.t.c
Twilio\Rest\Api\V2010\Account\CallList::page(...) contains list of currently available filtering options. Sadly it is missing some of them.
$client = app(Twilio\Rest\Client::class); $calls = $client->calls->read([ 'direction' => 'trunking-originating', ], 20);
Running this snippet will return all calls without any filtering applied.
Hi @slash686
I'm looking at the documentation, and I'm not seeing direction as an filterable parameter on listing commands.
direction
Closing due to inactivity. Please open a new issue if you still need help.
Issue Summary
Twilio call resource is missing some filters described in docs (https://www.twilio.com/docs/voice/api/call-resource#read-a-call-resource), e.g. direction, price e.t.c
Twilio\Rest\Api\V2010\Account\CallList::page(...) contains list of currently available filtering options. Sadly it is missing some of them.
Code Snippet
Running this snippet will return all calls without any filtering applied.
Technical details: