Module: Adhearsion::Twilio::ControllerMethods

Extended by:
ActiveSupport::Concern
Defined in:
lib/adhearsion/twilio/controller_methods.rb

Constant Summary collapse

INFINITY =
100
SLEEP_BETWEEN_REDIRECTS =
1
DEFAULT_TWILIO_RECORD_TIMEOUT =
5
DEFAULT_TWILIO_MAX_LENGTH =
3600
DEFAULT_TWILIO_VOICE =
"man".freeze
DEFAULT_TWILIO_LANGUAGE =
"en".freeze
DIAL_CALL_STATUSES =
{
  no_answer: "no-answer",
  answer: "completed",
  timeout: "no-answer",
  error: "failed",
  busy: "busy",
  in_progress: "in-progress",
  ringing: "ringing"
}.freeze