{"id":24719575,"url":"https://github.com/binzcodes/twilio-serverless-ivr","last_synced_at":"2026-05-13T07:05:32.180Z","repository":{"id":38367567,"uuid":"453515655","full_name":"binzcodes/twilio-serverless-ivr","owner":"binzcodes","description":"Forward calls to wherever I am in the world, at local rates.","archived":false,"fork":false,"pushed_at":"2024-12-31T03:31:08.000Z","size":530,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-27T11:18:22.743Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/binzcodes.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-01-29T20:51:39.000Z","updated_at":"2024-12-31T03:31:11.000Z","dependencies_parsed_at":"2024-12-31T04:26:29.459Z","dependency_job_id":"0e6ec164-5f17-44b0-bba8-a9a84fbea723","html_url":"https://github.com/binzcodes/twilio-serverless-ivr","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/binzcodes%2Ftwilio-serverless-ivr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/binzcodes%2Ftwilio-serverless-ivr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/binzcodes%2Ftwilio-serverless-ivr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/binzcodes%2Ftwilio-serverless-ivr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/binzcodes","download_url":"https://codeload.github.com/binzcodes/twilio-serverless-ivr/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244952574,"owners_count":20537469,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-01-27T11:18:25.101Z","updated_at":"2026-05-13T07:05:32.140Z","avatar_url":"https://github.com/binzcodes.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Serverless \u0026 Twilio - IVR\n\n[Twilio](https://www.twilio.com) allows developers to easily integrate phone calls, SMS and more into using [TwiML](https://www.twilio.com/docs/glossary/what-is-twilio-markup-language-twiml).\n\nThis project deploys a serverless function using Twilio serverless runtime as the provider. The function responds with TwiML instructions to [forward the phone call](https://www.twilio.com/docs/voice/tutorials/call-forwarding) to any overseas number.\n\n## Install\nInstall Twilio Node.js Provider Plugin \u0026 Service Dependencies\n```\nnpm i -g serverless\nnpm i\n```\n\nSet environment variables locally (Twilio account credentials can be found [here](https://twilio.com/console/)).\n\n- `TWILIO_ACCOUNT_SID`\n- `TWILIO_AUTH_TOKEN`\n- `MY_PHONE_NUMBER`\n\n\n## Deploy\nDeploy directly with \n`sls deploy`\n\nEnsure the function responds with expected Twiml with \n`sls invoke -f forward-call`\nExpected response\n\n```xml\n\u003c?xml version=\"1.0\" encoding=\"UTF-8\"?\u003e\u003cResponse\u003e\u003cSay\u003eHello...\u003c/Say\u003e\u003cDial\u003e+441...\u003c/Dial\u003e\u003c/Response\u003e\n```\n\nConfigure phone numbers in [Twilio Console](https://console.twilio.com/) selecting  Function and this service\n\n## TODO:\n- fix [github actions](https://github.com/marketplace/actions/serverless)\n\n## Further reading\n* [github.com/twilio-labs/serverless-framework-integration](https://github.com/twilio-labs/serverless-framework-integration).\n- [serverless docs on CI/CD](https://www.serverless.com/framework/docs/guides/cicd/running-in-your-own-cicd)\n- Due to poor actions support from sls it's likely sensible to [move to twilio-cli](https://www.twilio.com/blog/an-introduction-to-ci-cd-for-twilio-functions-using-github-actions) or host TwiML function on aws","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbinzcodes%2Ftwilio-serverless-ivr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbinzcodes%2Ftwilio-serverless-ivr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbinzcodes%2Ftwilio-serverless-ivr/lists"}