{"id":23177672,"url":"https://github.com/dimitrisniras/inbound-call-example","last_synced_at":"2025-09-04T06:34:31.531Z","repository":{"id":83095307,"uuid":"388084169","full_name":"dimitrisniras/inbound-call-example","owner":"dimitrisniras","description":"React example of an inbound call using Vonage JS SDK","archived":false,"fork":false,"pushed_at":"2021-07-21T14:49:21.000Z","size":2044,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-04T21:54:36.953Z","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":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dimitrisniras.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2021-07-21T10:44:28.000Z","updated_at":"2021-07-21T14:49:24.000Z","dependencies_parsed_at":null,"dependency_job_id":"73348f6b-a7df-47a5-a9f2-5277217f2bb4","html_url":"https://github.com/dimitrisniras/inbound-call-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dimitrisniras/inbound-call-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimitrisniras%2Finbound-call-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimitrisniras%2Finbound-call-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimitrisniras%2Finbound-call-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimitrisniras%2Finbound-call-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dimitrisniras","download_url":"https://codeload.github.com/dimitrisniras/inbound-call-example/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimitrisniras%2Finbound-call-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273566755,"owners_count":25128629,"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","status":"online","status_checked_at":"2025-09-04T02:00:08.968Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":"2024-12-18T06:36:02.928Z","updated_at":"2025-09-04T06:34:31.500Z","avatar_url":"https://github.com/dimitrisniras.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# inbound-call-example\n\nThis React application allows you to receive inbound calls using the Vonage Client SDK. During the initial login, you pass a user token and the user is waiting for the inbound call. When you call the predefined LVN `Answer Call` and `Reject Call` buttons will appear to the right top corner. If you click answer then the call will be estabilished and you will see a `Hangup Call` button in case you want to terminate the call, otherwise if you click on the reject, the call will be rejected and no media will be exchanged. You can also see all the socket events that are coming through.\n\n## Capabilities\n\nAdds Voice capability to your nexmo application and configures the Voice `Answer URL` and `Event URL` webhooks with a connect action on a single hardcoded user (`voiceAnswer` and `voiceEvent` in `index.js`).\n\n## To run the server\n\nPre-requisite: node version \u003e= 14 `nvm use`\n\n`npm run server`\n\n## To run the client\n\nIn the project directory, you can run:\n\n### `npm start`\n\nRuns the app in the development mode.\u003cbr /\u003e\nOpen [http://localhost:3000](http://localhost:3000) to view it in the browser.\n\nThe page will reload if you make edits.\u003cbr /\u003e\nYou will also see any lint errors in the console.\n\n### `npm test`\n\nLaunches the test runner in the interactive watch mode.\u003cbr /\u003e\nSee the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.\n\n### `npm run build`\n\nBuilds the app for production to the `build` folder.\u003cbr /\u003e\nIt correctly bundles React in production mode and optimizes the build for the best performance.\n\nThe build is minified and the filenames include the hashes.\u003cbr /\u003e\nYour app is ready to be deployed!\n\nSee the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.\n\n### `npm run eject`\n\n**Note: this is a one-way operation. Once you `eject`, you can’t go back!**\n\nIf you aren’t satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.\n\nInstead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own.\n\nYou don’t have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdimitrisniras%2Finbound-call-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdimitrisniras%2Finbound-call-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdimitrisniras%2Finbound-call-example/lists"}