This commit is contained in:
Bo Yin 2024-08-30 13:18:55 -05:00
parent cdbf2567d8
commit 1306ef61d1

View file

@ -95,9 +95,11 @@ public class TwilioVoiceController : TwilioController
}
response = twilio.ReturnInstructions(speechPaths, $"twilio/voice/{conversationId}/receive/{seqNum}?states={states}", true);
}
response = twilio.ReturnInstructions(null, $"twilio/voice/{conversationId}/receive/{seqNum}?states={states}&attempts={++attempts}", true);
else
{
response = twilio.ReturnInstructions(null, $"twilio/voice/{conversationId}/receive/{seqNum}?states={states}&attempts={++attempts}", true);
}
}
return TwiML(response);
}