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