aws-samples / aws-samples/sample-amazon-nova-sonic-twilio-integration
on calling the twilio number - call is being disconnected
- Dominant language
- TypeScript
- Stars
- 22
- Forks
- 8
- PR merge metrics
- No merged PRs in 30d
Description
Hi, i have followed all the steps for signing up in a twilio account and claiming a number
I had clone the repo and run the following commands
npm run build
npm start
I used ngrok http 3000 to tunnel the app instead of localtunnel (as local tunnel was not giving any response)
I got the endpoints as “https://blossom-soapless-alaine.ngrok-free.dev”
I have configured the endpoint in voice configuration for active phone number in twilio account as well.
“https://blossom-soapless-alaine.ngrok-free.dev/incoming-call”
Now on calling the active phone number, my call is simply getting disconnected. On checking the logs in twilio account - it says call completed, but I am not able to hear any welcome message.
I rechecked the environment variables and those are setup correctly. Since our use case is for incoming calls I had set AWS_PROFILE, AWS_REGION, TWILIO_ACCOUNT_SID, TWILIO_API_SID, TWILIO_API_SECRET
Could you please let me know what could be the possible reason?
Contributor guide
Research direction
Start by running npm run build and npm start, then inspect the Twilio request and application handling for the /incoming-call endpoint. Compare the endpoint configuration with the server logs and Twilio call logs; done means identifying the cause of the disconnect and documenting or implementing the confirmed fix.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, typescript
- Domain
- audio-video-rtc, backend, cloud
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100