Most of the information associated with VoIP Drupal calls are stored in objects of type VoipCall.

Among other things, VoipCall instances keep track of the following elements:

  • The id of the node associated with the call
  • A unique identifier associated with the call
  • The destination name and number of the call
  • The caller name and number
  • The call status (dialing, completed, etc.)
  • Whether or not the call has been answered by a human or machine
  • The source of the call (drupal, twilio, etc.)
  • The direction of the call (inbound, outbound)
  • The dialplan script (aka. VoipScript) of the call
  • Start time and duration
  • Hangup reason (invalid number, busy, etc.)
  • Error messages associated with the call