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