i want call details of bunch of twilio numbers. using php-twilio library. here code,
$array = array('num1','num2'); foreach ($client->account->calls->getiterator(0, 10, array( 'from' => $array )) $call) { }
but not working. returns everything.
twilio developer evangelist here.
i'm afraid the calls endpoint takes 1 "from" number filter, can't pass list of numbers it. might want return calls , filter manually or alternatively loop through numbers want return calls , make list calls each of them.