add todos and change wording

This commit is contained in:
m5r
2022-06-26 13:52:36 +02:00
parent 6cf2f8cb94
commit 590e92eea4
3 changed files with 10 additions and 2 deletions

View File

@ -190,7 +190,7 @@ async function handleOutgoingCall(formData: unknown, twilioSignature: string) {
answerOnBridge: true,
callerId: phoneNumber!.number,
});
dial.number(recipient);
dial.number(recipient); // TODO: si le device n'est pas registered => call failed *shrug*
console.log("twiml voiceResponse", voiceResponse.toString());
return new Response(voiceResponse.toString(), { headers: { "Content-Type": "text/xml" } });