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