pub enum Mode {
BlindTransfer,
BlindTransferAddSummaryToSipHeader,
WarmTransferSayMessage,
WarmTransferSaySummary,
WarmTransferTwiml,
WarmTransferWaitForOperatorToSpeakFirstAndThenSayMessage,
WarmTransferWaitForOperatorToSpeakFirstAndThenSaySummary,
}Expand description
This configures how transfer is executed and the experience of the destination party receiving the call. Usage: - blind-transfer: The assistant forwards the call to the destination without any message or summary. - blind-transfer-add-summary-to-sip-header: The assistant forwards the call to the destination and adds a SIP header X-Transfer-Summary to the call to include the summary. - warm-transfer-say-message: The assistant dials the destination, delivers the message to the destination party, connects the customer, and leaves the call. - warm-transfer-say-summary: The assistant dials the destination, provides a summary of the call to the destination party, connects the customer, and leaves the call. - warm-transfer-wait-for-operator-to-speak-first-and-then-say-message: The assistant dials the destination, waits for the operator to speak, delivers the message to the destination party, and then connects the customer. - warm-transfer-wait-for-operator-to-speak-first-and-then-say-summary: The assistant dials the destination, waits for the operator to speak, provides a summary of the call to the destination party, and then connects the customer. - warm-transfer-twiml: The assistant dials the destination, executes the twiml instructions on the destination call leg, connects the customer, and leaves the call. @default ‘blind-transfer’
Variants§
BlindTransfer
BlindTransferAddSummaryToSipHeader
WarmTransferSayMessage
WarmTransferSaySummary
WarmTransferTwiml
WarmTransferWaitForOperatorToSpeakFirstAndThenSayMessage
WarmTransferWaitForOperatorToSpeakFirstAndThenSaySummary
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Mode
impl<'de> Deserialize<'de> for Mode
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl Ord for Mode
impl Ord for Mode
Source§impl PartialOrd for Mode
impl PartialOrd for Mode
impl Copy for Mode
impl Eq for Mode
impl StructuralPartialEq for Mode
Auto Trait Implementations§
impl Freeze for Mode
impl RefUnwindSafe for Mode
impl Send for Mode
impl Sync for Mode
impl Unpin for Mode
impl UnwindSafe for Mode
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.