Merge branch 'master' of https://github.com/SciSharp/BotSharp into features/refine-audio-handler

This commit is contained in:
Jicheng Lu 2024-08-30 16:12:30 -05:00
commit 817f1a75fb

View file

@ -101,9 +101,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);
}