cal_core/
lib.rs

1// Filename cal-core/src/lib.rs
2
3pub mod account;
4pub mod accounting;
5pub mod auth;
6pub mod core;
7pub mod device;
8pub mod organisation;
9pub mod region;
10pub mod sync;
11pub mod utils;
12pub mod shared;
13pub mod routing;
14pub mod user;
15pub mod conversation;
16pub mod authentication;
17pub mod agent;
18pub mod rest;
19pub mod queue;
20pub mod websocket;
21pub mod contact;
22pub mod jambonz;
23
24use serde::{Deserialize, Serialize};
25
26pub use account::*;
27pub use accounting::code_deck::*;
28pub use accounting::product::*;
29pub use core::*;
30pub use device::*;
31pub use organisation::*;
32pub use region::*;
33pub use shared::*;
34pub use sync::*;
35pub use utils::*;
36pub use routing::*;
37pub use user::*;
38pub use conversation::*;
39pub use authentication::*;
40pub use agent::*;
41pub use rest::*;
42pub use queue::*;
43pub use websocket::*;
44pub use contact::*;
45pub use jambonz::*;
46
47#[derive(Serialize, Deserialize, strum::IntoStaticStr)]
48pub enum SipCallStatus {
49    Trying,
50    Ringing,
51    #[serde(rename = "early-media")]
52    EarlyMedia,
53    #[serde(rename = "in-progress")]
54    InProgress,
55    Completed,
56    Failed,
57    #[serde(rename = "no-answer")]
58    NoAnswer,
59    Busy,
60    Queued,
61}