- Shellphone needs some informations about your Twilio account to securely use your phone numbers.
+
+ To connect your Twilio Account you will need to provide us your Twilio account SID and auth
+ token.
+
+
+ Both values can be found on your{" "}
+ Twilio account page.
+
{twilio !== null ? (
diff --git a/app/routes/webhook/call.ts b/app/routes/webhook/call.ts
index 0222560..32f131f 100644
--- a/app/routes/webhook/call.ts
+++ b/app/routes/webhook/call.ts
@@ -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" } });