cal-core 0.2.158

Callable core lib
Documentation
// Filename cal-core/src/lib.rs

pub mod account;
pub mod accounting;
pub mod auth;
pub mod core;
pub mod device;
pub mod organisation;
pub mod region;
pub mod sync;
pub mod utils;
pub mod shared;
pub mod routing;
pub mod user;
pub mod conversation;
pub mod authentication;
pub mod agent;
pub mod rest;
pub mod queue;
pub mod websocket;
pub mod contact;
pub mod jambonz;

use serde::{Deserialize, Serialize};

pub use account::*;
pub use accounting::code_deck::*;
pub use accounting::product::*;
pub use core::*;
pub use device::*;
pub use organisation::*;
pub use region::*;
pub use shared::*;
pub use sync::*;
pub use utils::*;
pub use routing::*;
pub use user::*;
pub use conversation::*;
pub use authentication::*;
pub use agent::*;
pub use rest::*;
pub use queue::*;
pub use websocket::*;
pub use contact::*;
pub use jambonz::*;

#[derive(Serialize, Deserialize, strum::IntoStaticStr)]
pub enum SipCallStatus {
    Trying,
    Ringing,
    #[serde(rename = "early-media")]
    EarlyMedia,
    #[serde(rename = "in-progress")]
    InProgress,
    Completed,
    Failed,
    #[serde(rename = "no-answer")]
    NoAnswer,
    Busy,
    Queued,
}