#[non_exhaustive]pub enum ChannelVariable {
Show 152 variants
Uuid,
CallUuid,
Direction,
IsOutbound,
CallerIdName,
CallerIdNumber,
CalleeIdName,
CalleeIdNumber,
EffectiveCallerIdName,
EffectiveCallerIdNumber,
EffectiveCalleeIdName,
EffectiveCalleeIdNumber,
EffectiveAni,
EffectiveAniii,
Ani,
Rdnis,
DestinationNumber,
ChannelName,
Context,
Dialplan,
DomainName,
UserName,
UserContext,
PresenceId,
Accountcode,
TollAllow,
HangupCause,
HangupCauseQ850,
EndpointDisposition,
CurrentApplication,
CurrentApplicationData,
LastApp,
LastArg,
TransferSource,
TransferHistory,
Recovered,
DigitsDialed,
ProcessCdr,
FailureCauses,
BridgeUuid,
SignalBond,
SignalBridge,
LastBridgeTo,
LastBridgeRole,
BridgeHangupCause,
BridgeTerminateKey,
BridgeFilterDtmf,
BridgeAnswerTimeout,
BridgeGenerateComfortNoise,
UuidBridgeContinueOnCancel,
UuidBridgeParkOnCancel,
HangupAfterBridge,
ParkAfterBridge,
ParkTimeout,
ReadCodec,
ReadRate,
WriteCodec,
WriteRate,
CodecString,
AbsoluteCodecString,
EpCodecString,
InheritCodec,
OriginalReadCodec,
OriginalReadRate,
VideoReadCodec,
VideoReadRate,
VideoWriteCodec,
VideoWriteRate,
DtmfType,
JitterbufferMsec,
VideoPossible,
TextPossible,
MediaWebrtc,
BypassMedia,
BypassMediaAfterBridge,
ProxyMedia,
RtpSecureMedia,
RtpUseCodecName,
RtpUseCodecRate,
RtpUseCodecPtime,
RtpUseCodecString,
RtpLocalSdpStr,
SendSilenceWhenIdle,
OriginateDisposition,
OriginateFailedCause,
OriginatedLegs,
OriginatingLegUuid,
OriginationUuid,
OriginationCallerIdName,
OriginationCallerIdNumber,
OriginationCalleeIdName,
OriginationCalleeIdNumber,
OriginationCancelKey,
OriginationChannelName,
Ringback,
TransferRingback,
LegTimeout,
LegDelayStart,
LegProgressTimeout,
LegRequired,
SoundPrefix,
TtsEngine,
TtsVoice,
Language,
DefaultLanguage,
PlaybackTerminators,
PlaybackTimeoutSec,
RecordingFollowTransfer,
RecordingFollowAttxfer,
ExportVars,
BridgeExportVars,
CallTimeout,
OriginateTimeout,
ContinueOnFail,
IgnoreEarlyMedia,
ProgressTimeout,
HoldMusic,
SocketResume,
StartEpoch,
StartUepoch,
AnswerEpoch,
AnswerUepoch,
BridgeEpoch,
BridgeUepoch,
EndEpoch,
EndUepoch,
ProgressEpoch,
ProgressUepoch,
ProgressMediaEpoch,
ProgressMediaUepoch,
Duration,
Billsec,
Billmsec,
Billusec,
FlowBillsec,
FlowBillmsec,
FlowBillusec,
Progresssec,
Progressmsec,
Progressusec,
ProgressMediasec,
ProgressMediamsec,
ProgressMediausec,
Waitsec,
Waitmsec,
Waitusec,
Answersec,
Answermsec,
Answerusec,
HoldAccumSeconds,
HoldAccumMs,
HoldAccumUsec,
}Expand description
Core FreeSWITCH channel variable names (the part after the variable_ prefix).
Use with HeaderLookup::variable() for type-safe lookups. Only includes
variables set by the FreeSWITCH core – module-specific variables (SIP,
conference, etc.) belong in separate enums.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Uuid
CallUuid
Direction
IsOutbound
CallerIdName
CallerIdNumber
CalleeIdName
CalleeIdNumber
EffectiveCallerIdName
EffectiveCallerIdNumber
EffectiveCalleeIdName
EffectiveCalleeIdNumber
EffectiveAni
EffectiveAniii
Ani
Rdnis
DestinationNumber
ChannelName
Context
Dialplan
DomainName
UserName
UserContext
PresenceId
Accountcode
TollAllow
HangupCause
HangupCauseQ850
EndpointDisposition
CurrentApplication
CurrentApplicationData
LastApp
LastArg
TransferSource
TransferHistory
Recovered
DigitsDialed
ProcessCdr
FailureCauses
BridgeUuid
SignalBond
SignalBridge
LastBridgeTo
LastBridgeRole
BridgeHangupCause
BridgeTerminateKey
BridgeFilterDtmf
BridgeAnswerTimeout
BridgeGenerateComfortNoise
UuidBridgeContinueOnCancel
UuidBridgeParkOnCancel
HangupAfterBridge
ParkAfterBridge
ParkTimeout
ReadCodec
ReadRate
WriteCodec
WriteRate
CodecString
AbsoluteCodecString
EpCodecString
InheritCodec
OriginalReadCodec
OriginalReadRate
VideoReadCodec
VideoReadRate
VideoWriteCodec
VideoWriteRate
DtmfType
JitterbufferMsec
VideoPossible
TextPossible
MediaWebrtc
BypassMedia
BypassMediaAfterBridge
ProxyMedia
RtpSecureMedia
RtpUseCodecName
RtpUseCodecRate
RtpUseCodecPtime
RtpUseCodecString
RtpLocalSdpStr
SendSilenceWhenIdle
OriginateDisposition
OriginateFailedCause
OriginatedLegs
OriginatingLegUuid
OriginationUuid
OriginationCallerIdName
OriginationCallerIdNumber
OriginationCalleeIdName
OriginationCalleeIdNumber
OriginationCancelKey
OriginationChannelName
Ringback
TransferRingback
LegTimeout
LegDelayStart
LegProgressTimeout
LegRequired
SoundPrefix
TtsEngine
TtsVoice
Language
DefaultLanguage
PlaybackTerminators
PlaybackTimeoutSec
RecordingFollowTransfer
RecordingFollowAttxfer
ExportVars
BridgeExportVars
CallTimeout
OriginateTimeout
ContinueOnFail
IgnoreEarlyMedia
ProgressTimeout
HoldMusic
SocketResume
StartEpoch
StartUepoch
AnswerEpoch
AnswerUepoch
BridgeEpoch
BridgeUepoch
EndEpoch
EndUepoch
ProgressEpoch
ProgressUepoch
ProgressMediaEpoch
ProgressMediaUepoch
Duration
Billsec
Billmsec
Billusec
FlowBillsec
FlowBillmsec
FlowBillusec
Progresssec
Progressmsec
Progressusec
ProgressMediasec
ProgressMediamsec
ProgressMediausec
Waitsec
Waitmsec
Waitusec
Answersec
Answermsec
Answerusec
HoldAccumSeconds
HoldAccumMs
HoldAccumUsec
Implementations§
Trait Implementations§
Source§impl AsRef<str> for ChannelVariable
impl AsRef<str> for ChannelVariable
Source§impl Clone for ChannelVariable
impl Clone for ChannelVariable
Source§fn clone(&self) -> ChannelVariable
fn clone(&self) -> ChannelVariable
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ChannelVariable
impl Debug for ChannelVariable
Source§impl<'de> Deserialize<'de> for ChannelVariable
impl<'de> Deserialize<'de> for ChannelVariable
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>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for ChannelVariable
impl Display for ChannelVariable
Source§impl FromStr for ChannelVariable
impl FromStr for ChannelVariable
Source§impl Hash for ChannelVariable
impl Hash for ChannelVariable
Source§impl PartialEq for ChannelVariable
impl PartialEq for ChannelVariable
Source§impl Serialize for ChannelVariable
impl Serialize for ChannelVariable
Source§impl VariableName for ChannelVariable
impl VariableName for ChannelVariable
impl Copy for ChannelVariable
impl Eq for ChannelVariable
impl StructuralPartialEq for ChannelVariable
Auto Trait Implementations§
impl Freeze for ChannelVariable
impl RefUnwindSafe for ChannelVariable
impl Send for ChannelVariable
impl Sync for ChannelVariable
impl Unpin for ChannelVariable
impl UnsafeUnpin for ChannelVariable
impl UnwindSafe for ChannelVariable
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
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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
Compare self to
key and return true if they are equal.