| @@ 640-651 (lines=12) @@ | ||
| 637 | * @throws ConflictException |
|
| 638 | * @throws UnprocessableEntityException |
|
| 639 | */ |
|
| 640 | public function record( |
|
| 641 | $name, |
|
| 642 | $format, |
|
| 643 | $maxDurationSeconds = null, |
|
| 644 | $maxSilenceSeconds = null, |
|
| 645 | $ifExists = null, |
|
| 646 | $beep = null, |
|
| 647 | $terminateOn = null |
|
| 648 | ) { |
|
| 649 | return $this->client->channels()->record($this->id, $name, $format, $maxDurationSeconds, $maxSilenceSeconds, |
|
| 650 | $ifExists, $beep, $terminateOn); |
|
| 651 | } |
|
| 652 | ||
| 653 | /** |
|
| 654 | * Get the value of a channel variable or function. |
|
| @@ 349-360 (lines=12) @@ | ||
| 346 | * @throws ConflictException |
|
| 347 | * @throws UnprocessableEntityException |
|
| 348 | */ |
|
| 349 | public function record( |
|
| 350 | $name, |
|
| 351 | $format, |
|
| 352 | $maxDurationSeconds = null, |
|
| 353 | $maxSilenceSeconds = null, |
|
| 354 | $ifExists = null, |
|
| 355 | $beep = null, |
|
| 356 | $terminateOn = null |
|
| 357 | ) { |
|
| 358 | return $this->client->bridges()->record($this->id, $name, $format, $maxDurationSeconds, $maxSilenceSeconds, |
|
| 359 | $ifExists, $beep, $terminateOn); |
|
| 360 | } |
|
| 361 | ||
| 362 | /** |
|
| 363 | * @param AriClient $client |
|