| @@ 297-308 (lines=12) @@ | ||
| 294 | * @throws ConflictException |
|
| 295 | * @throws UnprocessableEntityException |
|
| 296 | */ |
|
| 297 | public function record( |
|
| 298 | $name, |
|
| 299 | $format, |
|
| 300 | $maxDurationSeconds = null, |
|
| 301 | $maxSilenceSeconds = null, |
|
| 302 | $ifExists = null, |
|
| 303 | $beep = null, |
|
| 304 | $terminateOn = null |
|
| 305 | ) { |
|
| 306 | return $this->client->bridges()->record($this->id, $name, $format, $maxDurationSeconds, $maxSilenceSeconds, |
|
| 307 | $ifExists, $beep, $terminateOn); |
|
| 308 | } |
|
| 309 | ||
| 310 | /** |
|
| 311 | * @param AriClient $client |
|
| @@ 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. |
|