| @@ 334-345 (lines=12) @@ | ||
| 331 | * @throws ConflictException |
|
| 332 | * @throws UnprocessableEntityException |
|
| 333 | */ |
|
| 334 | public function record( |
|
| 335 | $name, |
|
| 336 | $format, |
|
| 337 | $maxDurationSeconds = null, |
|
| 338 | $maxSilenceSeconds = null, |
|
| 339 | $ifExists = null, |
|
| 340 | $beep = null, |
|
| 341 | $terminateOn = null |
|
| 342 | ) { |
|
| 343 | return $this->client->bridges()->record($this->id, $name, $format, $maxDurationSeconds, $maxSilenceSeconds, |
|
| 344 | $ifExists, $beep, $terminateOn); |
|
| 345 | } |
|
| 346 | ||
| 347 | /** |
|
| 348 | * @param AriClient $client |
|
| @@ 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. |
|