cal_core/
lib.rs

1pub mod account;
2pub mod accounting;
3pub mod auth;
4pub mod core;
5pub mod device;
6pub mod organisation;
7pub mod region;
8pub mod sync;
9pub mod utils;
10pub mod shared;
11pub mod routing;
12
13use serde::{Deserialize, Serialize};
14
15pub use account::*;
16pub use accounting::code_deck::*;
17pub use accounting::product::*;
18pub use core::*;
19pub use device::*;
20pub use organisation::*;
21pub use region::*;
22pub use shared::*;
23pub use sync::*;
24pub use utils::*;
25pub use routing::*;
26
27#[derive(Serialize, Deserialize, strum::IntoStaticStr)]
28pub enum SipCallStatus {
29    Trying,
30    Ringing,
31    #[serde(rename = "early-media")]
32    EarlyMedia,
33    #[serde(rename = "in-progress")]
34    InProgress,
35    Completed,
36    Failed,
37    #[serde(rename = "no-answer")]
38    NoAnswer,
39    Busy,
40    Queued,
41}