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