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