Skip to contentSkip to navigationSkip to topbar
Page toolsOn this pageProducts used
Looking for more inspiration?Visit the

13211: Dial: Invalid ifMachine value


WARNING: 13211

warning-13211 page anchor
VOICE
WARNING

Twilio returns this warning when you set the <Dial> ifMachine value to anything other than hangup, continue, or false. Use ifMachine only with one of those supported values when you want call handling to change based on whether a machine answers.

Possible causes

possible-causes page anchor
  • You set ifMachine to a value outside the allowed set of hangup, continue, or false.
  • You passed a machine detection value intended for a different Voice parameter, such as Enable or DetectMessageEnd, instead of a supported ifMachine value.
  • Update the ifMachine value in your <Dial> TwiML to hangup, continue, or false.
  • If you need answering machine detection for an outbound call flow, use the supported machine detection settings for the API surface you are using. Use MachineDetection on the Calls API or machineDetection on <Dial><Number> where supported.
  • Review the TwiML or API request that creates the outbound leg and make sure the parameter name matches the feature you are using. TwiML verb and attribute names are case sensitive.

Additional resources

additional-resources page anchor