Skip to main content

Tone

Enum Tone 

Source
pub enum Tone {
Show 60 variants Silence, Dtmf1, Dtmf2, Dtmf3, Dtmf4, Dtmf5, Dtmf6, Dtmf7, Dtmf8, Dtmf9, Dtmf0, DtmfStar, DtmfPound, DtmfA, DtmfB, DtmfC, DtmfD, InsideDial, OutsideDial, LineBusy, Alerting, Reorder, RecorderWarning, RecorderDetected, Reverting, ReceiverOffHook, PartialDial, NoSuchNumber, BusyVerification, CallWaiting, Confirmation, CampOn, RecallDial, ZipZip, Zip, BeepBonk, Music, Hold, Test, MonitorWarning, AddCallWaiting, PriorityCallWaiting, BargeIn, DistinctAlert, PriorityAlert, ReminderRing, PrecedenceRingback, Preemption, NoTone, MeetMeGreeting, MeetMeNumberInvalid, MeetMeNumberFailed, MeetMeEnterPin, MeetMeInvalidPin, MeetMeFailedPin, MeetMeCfbFailed, MeetMeEnterAccessCode, MeetMeAccessCodeInvalid, MeetMeAccessCodeFailed, Unknown(u32),
}
Expand description

Tone identifier used by tone and announcement commands.

Variants§

§

Silence

Stops any current station tone; the server uses this as the explicit silent tone request.

§

Dtmf1

The DTMF 1 signal: 697 Hz row tone combined with a 1,209 Hz column tone.

§

Dtmf2

The DTMF 2 signal: 697 Hz row tone combined with a 1,336 Hz column tone.

§

Dtmf3

The DTMF 3 signal: 697 Hz row tone combined with a 1,477 Hz column tone.

§

Dtmf4

The DTMF 4 signal: 770 Hz row tone combined with a 1,209 Hz column tone.

§

Dtmf5

The DTMF 5 signal: 770 Hz row tone combined with a 1,336 Hz column tone.

§

Dtmf6

The DTMF 6 signal: 770 Hz row tone combined with a 1,477 Hz column tone.

§

Dtmf7

The DTMF 7 signal: 852 Hz row tone combined with a 1,209 Hz column tone.

§

Dtmf8

The DTMF 8 signal: 852 Hz row tone combined with a 1,336 Hz column tone.

§

Dtmf9

The DTMF 9 signal: 852 Hz row tone combined with a 1,477 Hz column tone.

§

Dtmf0

The DTMF 0 signal: 941 Hz row tone combined with a 1,336 Hz column tone.

§

DtmfStar

The DTMF * signal: 941 Hz row tone combined with a 1,209 Hz column tone.

§

DtmfPound

The DTMF # signal: 941 Hz row tone combined with a 1,477 Hz column tone.

§

DtmfA

The DTMF A signal from the fourth keypad column used by AUTOVON and control systems. Combines a 697 Hz row tone with a 1,633 Hz column tone.

§

DtmfB

The DTMF B signal from the fourth keypad column used by AUTOVON and control systems. Combines a 770 Hz row tone with a 1,633 Hz column tone.

§

DtmfC

The DTMF C signal from the fourth keypad column used by AUTOVON and control systems. Combines an 852 Hz row tone with a 1,633 Hz column tone.

§

DtmfD

The DTMF D signal from the fourth keypad column used by AUTOVON and control systems. Combines a 941 Hz row tone with a 1,633 Hz column tone.

§

InsideDial

Dial tone indicating that the caller may dial an internal extension.

§

OutsideDial

Dial tone indicating access to an external or public telephone network.

§

LineBusy

Busy tone indicating that the called line cannot accept the call.

§

Alerting

Audible ringback indicating that the remote endpoint is being alerted.

§

Reorder

Fast-busy or reorder tone indicating congestion or an unusable dialing sequence.

§

RecorderWarning

Periodic warning beep informing participants that the call is being recorded.

§

RecorderDetected

Station feedback indicating that a recording device or recording service was detected.

§

Reverting

Recall tone used when a held, parked, or transferred call reverts to the station.

§

ReceiverOffHook

Loud off-hook warning tone played when the handset remains off hook without a call.

§

PartialDial

Intercept tone indicating that the supplied address or digit sequence is incomplete.

§

NoSuchNumber

Intercept tone indicating that the dialed number does not exist.

§

BusyVerification

Special tone used while an operator performs busy-line verification.

§

CallWaiting

Brief in-call alert indicating that another call is waiting.

§

Confirmation

Positive confirmation tone indicating that a requested feature was accepted.

§

CampOn

Tone indicating that the call is camped on a busy destination awaiting availability.

§

RecallDial

Dial tone presented after recall or hook flash so the caller can enter another destination.

§

ZipZip

Cisco’s two-part “zip-zip” feature alert. The exact user-facing meaning depends on the call feature that requests it.

§

Zip

Cisco’s short “zip” feature alert. The exact user-facing meaning depends on the call feature that requests it.

§

BeepBonk

Cisco’s paired positive/negative feature-feedback sound.

§

Music

Requests the station’s built-in music tone rather than an RTP music-on-hold stream.

§

Hold

Audible indication associated with placing or leaving a call on hold.

§

Test

A station test tone used for diagnostics rather than normal call progress.

§

MonitorWarning

Warning tone indicating that the call is being monitored.

§

AddCallWaiting

Call-waiting alert used when another waiting call is added.

§

PriorityCallWaiting

Higher-priority call-waiting alert for precedence-aware call handling.

§

BargeIn

Warning tone indicating that another party has barged into the call.

§

DistinctAlert

Distinctive alerting cadence used to distinguish a call class from normal ringing.

§

PriorityAlert

Priority alerting cadence used for a higher-precedence incoming call.

§

ReminderRing

Short reminder ring for a held, parked, forwarded, or otherwise pending call.

§

PrecedenceRingback

Ringback used by Multilevel Precedence and Preemption calls.

§

Preemption

Warning tone indicating that a lower-precedence call is being preempted.

§

NoTone

Sentinel indicating that no call-progress tone is assigned. Unlike Silence, it does not request an active silence tone.

§

MeetMeGreeting

Conference-service greeting played when entering a Meet-Me flow.

§

MeetMeNumberInvalid

Conference prompt indicating that the entered Meet-Me number is invalid.

§

MeetMeNumberFailed

Conference prompt indicating that the entered Meet-Me number could not be used.

§

MeetMeEnterPin

Conference prompt requesting the participant PIN.

§

MeetMeInvalidPin

Conference prompt indicating that the participant PIN is invalid.

§

MeetMeFailedPin

Conference prompt indicating that PIN validation failed.

§

MeetMeCfbFailed

Conference prompt indicating that allocation of the conference bridge failed.

§

MeetMeEnterAccessCode

Conference prompt requesting an access code.

§

MeetMeAccessCodeInvalid

Conference prompt indicating that the supplied access code is invalid.

§

MeetMeAccessCodeFailed

Conference prompt indicating that access-code validation failed.

§

Unknown(u32)

Preserves an SCCP numeric value not recognized by this crate. Allows newer or vendor-specific values to round-trip without loss.

Implementations§

Source§

impl Tone

Source

pub const ALL_KNOWN: &'static [Self]

Source

pub const fn wire_value(self) -> u32

Source

pub const fn is_known(self) -> bool

Trait Implementations§

Source§

impl Clone for Tone

Source§

fn clone(&self) -> Tone

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Copy for Tone

Source§

impl Debug for Tone

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Eq for Tone

Source§

impl From<Tone> for u32

Source§

fn from(value: Tone) -> Self

Converts to this type from the input type.
Source§

impl From<u32> for Tone

Source§

fn from(value: u32) -> Self

Converts to this type from the input type.
Source§

impl Hash for Tone

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl PartialEq for Tone

Source§

fn eq(&self, other: &Tone) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl StructuralPartialEq for Tone

Auto Trait Implementations§

§

impl Freeze for Tone

§

impl RefUnwindSafe for Tone

§

impl Send for Tone

§

impl Sync for Tone

§

impl Unpin for Tone

§

impl UnsafeUnpin for Tone

§

impl UnwindSafe for Tone

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more