update lock clucknut
All checks were successful
All checks were successful
This commit is contained in:
@@ -254,4 +254,61 @@ public function setInterruptSensitivity($interruptSensitivity): self {
|
||||
public function setDebug($debug): self {
|
||||
return $this->setAttribute('debug', $debug);
|
||||
}
|
||||
|
||||
/**
|
||||
* Add Backgroundnoisereduction attribute.
|
||||
*
|
||||
* @param string $backgroundnoisereduction This parameters enables background
|
||||
* noise filtering on the audio stream
|
||||
* before it reaches the STT engine,
|
||||
* improving transcription accuracy in
|
||||
* noisy environments
|
||||
*/
|
||||
public function setBackgroundnoisereduction($backgroundnoisereduction): self {
|
||||
return $this->setAttribute('backgroundnoisereduction', $backgroundnoisereduction);
|
||||
}
|
||||
|
||||
/**
|
||||
* Add Speechtimeout attribute.
|
||||
*
|
||||
* @param string $speechtimeout Set the duration of silence that indicates the
|
||||
* end of speech
|
||||
*/
|
||||
public function setSpeechtimeout($speechtimeout): self {
|
||||
return $this->setAttribute('speechtimeout', $speechtimeout);
|
||||
}
|
||||
|
||||
/**
|
||||
* Add Deepgramsmartformat attribute.
|
||||
*
|
||||
* @param string $deepgramsmartformat This parameter enables Deepgram's smart
|
||||
* formatting feature, which automatically
|
||||
* applies punctuation, capitalization, and
|
||||
* formatting (e.g. numbers, dates,
|
||||
* currency) to transcripts
|
||||
*/
|
||||
public function setDeepgramsmartformat($deepgramsmartformat): self {
|
||||
return $this->setAttribute('deepgramsmartformat', $deepgramsmartformat);
|
||||
}
|
||||
|
||||
/**
|
||||
* Add Ignorebackchannel attribute.
|
||||
*
|
||||
* @param string $ignorebackchannel This parameter brief caller acknowledgments
|
||||
* (e.g. "yeah", "uh-huh") are ignored and
|
||||
* will not interrupt the agent while it is
|
||||
* speaking.
|
||||
*/
|
||||
public function setIgnorebackchannel($ignorebackchannel): self {
|
||||
return $this->setAttribute('ignorebackchannel', $ignorebackchannel);
|
||||
}
|
||||
|
||||
/**
|
||||
* Add Events attribute.
|
||||
*
|
||||
* @param string $events This parameter allows you to enable event subscriptions
|
||||
*/
|
||||
public function setEvents($events): self {
|
||||
return $this->setAttribute('events', $events);
|
||||
}
|
||||
}
|
||||
@@ -83,7 +83,7 @@ public function sim($simSid): Sim {
|
||||
* @param array $attributes Optional attributes
|
||||
* @return Sip Child element.
|
||||
*/
|
||||
public function sip($sipUrl, $attributes = []): Sip {
|
||||
public function sip($sipUrl = null, $attributes = []): Sip {
|
||||
return $this->nest(new Sip($sipUrl, $attributes));
|
||||
}
|
||||
|
||||
|
||||
41
vendor/twilio/sdk/src/Twilio/TwiML/Voice/Header.php
vendored
Normal file
41
vendor/twilio/sdk/src/Twilio/TwiML/Voice/Header.php
vendored
Normal file
@@ -0,0 +1,41 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This code was generated by
|
||||
* \ / _ _ _| _ _
|
||||
* | (_)\/(_)(_|\/| |(/_ v1.0.0
|
||||
* / /
|
||||
*/
|
||||
|
||||
namespace Twilio\TwiML\Voice;
|
||||
|
||||
use Twilio\TwiML\TwiML;
|
||||
|
||||
class Header extends TwiML {
|
||||
/**
|
||||
* Header constructor.
|
||||
*
|
||||
* @param array $attributes Optional attributes
|
||||
*/
|
||||
public function __construct($attributes = []) {
|
||||
parent::__construct('Header', null, $attributes);
|
||||
}
|
||||
|
||||
/**
|
||||
* Add Name attribute.
|
||||
*
|
||||
* @param string $name The name of the custom header
|
||||
*/
|
||||
public function setName($name): self {
|
||||
return $this->setAttribute('name', $name);
|
||||
}
|
||||
|
||||
/**
|
||||
* Add Value attribute.
|
||||
*
|
||||
* @param string $value The value of the custom header
|
||||
*/
|
||||
public function setValue($value): self {
|
||||
return $this->setAttribute('value', $value);
|
||||
}
|
||||
}
|
||||
31
vendor/twilio/sdk/src/Twilio/TwiML/Voice/Headers.php
vendored
Normal file
31
vendor/twilio/sdk/src/Twilio/TwiML/Voice/Headers.php
vendored
Normal file
@@ -0,0 +1,31 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This code was generated by
|
||||
* \ / _ _ _| _ _
|
||||
* | (_)\/(_)(_|\/| |(/_ v1.0.0
|
||||
* / /
|
||||
*/
|
||||
|
||||
namespace Twilio\TwiML\Voice;
|
||||
|
||||
use Twilio\TwiML\TwiML;
|
||||
|
||||
class Headers extends TwiML {
|
||||
/**
|
||||
* Headers constructor.
|
||||
*/
|
||||
public function __construct() {
|
||||
parent::__construct('Headers', null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Add Header child.
|
||||
*
|
||||
* @param array $attributes Optional attributes
|
||||
* @return Header Child element.
|
||||
*/
|
||||
public function header($attributes = []): Header {
|
||||
return $this->nest(new Header($attributes));
|
||||
}
|
||||
}
|
||||
22
vendor/twilio/sdk/src/Twilio/TwiML/Voice/Sip.php
vendored
22
vendor/twilio/sdk/src/Twilio/TwiML/Voice/Sip.php
vendored
@@ -18,10 +18,30 @@ class Sip extends TwiML {
|
||||
* @param string $sipUrl SIP URL
|
||||
* @param array $attributes Optional attributes
|
||||
*/
|
||||
public function __construct($sipUrl, $attributes = []) {
|
||||
public function __construct($sipUrl = null, $attributes = []) {
|
||||
parent::__construct('Sip', $sipUrl, $attributes);
|
||||
}
|
||||
|
||||
/**
|
||||
* Add Uri child.
|
||||
*
|
||||
* @param string $sipUrl The SIP URI
|
||||
* @param array $attributes Optional attributes
|
||||
* @return SipUri Child element.
|
||||
*/
|
||||
public function uri($sipUrl = null, $attributes = []): SipUri {
|
||||
return $this->nest(new SipUri($sipUrl, $attributes));
|
||||
}
|
||||
|
||||
/**
|
||||
* Add Headers child.
|
||||
*
|
||||
* @return Headers Child element.
|
||||
*/
|
||||
public function headers(): Headers {
|
||||
return $this->nest(new Headers());
|
||||
}
|
||||
|
||||
/**
|
||||
* Add Username attribute.
|
||||
*
|
||||
|
||||
60
vendor/twilio/sdk/src/Twilio/TwiML/Voice/SipUri.php
vendored
Normal file
60
vendor/twilio/sdk/src/Twilio/TwiML/Voice/SipUri.php
vendored
Normal file
@@ -0,0 +1,60 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This code was generated by
|
||||
* \ / _ _ _| _ _
|
||||
* | (_)\/(_)(_|\/| |(/_ v1.0.0
|
||||
* / /
|
||||
*/
|
||||
|
||||
namespace Twilio\TwiML\Voice;
|
||||
|
||||
use Twilio\TwiML\TwiML;
|
||||
|
||||
class SipUri extends TwiML {
|
||||
/**
|
||||
* SipUri constructor.
|
||||
*
|
||||
* @param string $sipUrl The SIP URI
|
||||
* @param array $attributes Optional attributes
|
||||
*/
|
||||
public function __construct($sipUrl = null, $attributes = []) {
|
||||
parent::__construct('Uri', $sipUrl, $attributes);
|
||||
}
|
||||
|
||||
/**
|
||||
* Add Priority attribute.
|
||||
*
|
||||
* @param string $priority The priority of this SIP URI
|
||||
*/
|
||||
public function setPriority($priority): self {
|
||||
return $this->setAttribute('priority', $priority);
|
||||
}
|
||||
|
||||
/**
|
||||
* Add Weight attribute.
|
||||
*
|
||||
* @param string $weight The weight of this SIP URI
|
||||
*/
|
||||
public function setWeight($weight): self {
|
||||
return $this->setAttribute('weight', $weight);
|
||||
}
|
||||
|
||||
/**
|
||||
* Add Username attribute.
|
||||
*
|
||||
* @param string $username The username for authentication
|
||||
*/
|
||||
public function setUsername($username): self {
|
||||
return $this->setAttribute('username', $username);
|
||||
}
|
||||
|
||||
/**
|
||||
* Add Password attribute.
|
||||
*
|
||||
* @param string $password The password for authentication
|
||||
*/
|
||||
public function setPassword($password): self {
|
||||
return $this->setAttribute('password', $password);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user