package gammu

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Call entries manipulation.

type status =
  1. | Incoming
    (*

    Somebody calls to us.

    *)
  2. | Outgoing
    (*

    We call somewhere.

    *)
  3. | Started
    (*

    Call started.

    *)
  4. | Ended
    (*

    End of call from unknown side.

    *)
  5. | RemoteEnded of int
    (*

    End of call from remote side. Parameter is status code.

    *)
  6. | LocalEnded
    (*

    End of call from our side.

    *)
  7. | Established
    (*

    Call established. Waiting for answer or dropping.

    *)
  8. | Held
    (*

    Call held.

    *)
  9. | Resumed
    (*

    Call resumed.

    *)
  10. | Switched
    (*

    We switch to call.

    *)

Status of call.

type call = {
  1. status : status;
    (*

    Call status.

    *)
  2. call_id : int option;
    (*

    Call ID, None when not available.

    *)
  3. number : string;
    (*

    Remote phone number.

    *)
}

Call information.

OCaml

Innovation. Community. Security.