| @@ 608-619 (lines=12) @@ | ||
| 605 | * @throws ConflictException |
|
| 606 | * @throws UnprocessableEntityException |
|
| 607 | */ |
|
| 608 | public function record( |
|
| 609 | $name, |
|
| 610 | $format, |
|
| 611 | $maxDurationSeconds = null, |
|
| 612 | $maxSilenceSeconds = null, |
|
| 613 | $ifExists = null, |
|
| 614 | $beep = null, |
|
| 615 | $terminateOn = null |
|
| 616 | ) { |
|
| 617 | return $this->client->channels()->record($this->id, $name, $format, $maxDurationSeconds, $maxSilenceSeconds, |
|
| 618 | $ifExists, $beep, $terminateOn); |
|
| 619 | } |
|
| 620 | ||
| 621 | /** |
|
| 622 | * Get the value of a channel variable or function. |
|
| @@ 317-328 (lines=12) @@ | ||
| 314 | * @throws ConflictException |
|
| 315 | * @throws UnprocessableEntityException |
|
| 316 | */ |
|
| 317 | public function record( |
|
| 318 | $name, |
|
| 319 | $format, |
|
| 320 | $maxDurationSeconds = null, |
|
| 321 | $maxSilenceSeconds = null, |
|
| 322 | $ifExists = null, |
|
| 323 | $beep = null, |
|
| 324 | $terminateOn = null |
|
| 325 | ) { |
|
| 326 | return $this->client->bridges()->record($this->id, $name, $format, $maxDurationSeconds, $maxSilenceSeconds, |
|
| 327 | $ifExists, $beep, $terminateOn); |
|
| 328 | } |
|
| 329 | ||
| 330 | /** |
|
| 331 | * @param AriClient $client |
|