cal_core/
lib.rs

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