{"id":22085628,"url":"https://github.com/nexmo/node-call-tracker","last_synced_at":"2025-07-24T17:31:34.261Z","repository":{"id":11049708,"uuid":"67294471","full_name":"Nexmo/node-call-tracker","owner":"Nexmo","description":"A Call Tracking example using the Nexmo Voice API written in Node","archived":false,"fork":false,"pushed_at":"2025-01-22T21:39:51.000Z","size":11,"stargazers_count":34,"open_issues_count":4,"forks_count":21,"subscribers_count":24,"default_branch":"main","last_synced_at":"2025-05-22T22:06:19.089Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Nexmo.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":"2016-09-03T14:30:30.000Z","updated_at":"2025-04-17T15:57:22.000Z","dependencies_parsed_at":"2025-01-22T22:33:54.895Z","dependency_job_id":null,"html_url":"https://github.com/Nexmo/node-call-tracker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Nexmo/node-call-tracker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nexmo%2Fnode-call-tracker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nexmo%2Fnode-call-tracker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nexmo%2Fnode-call-tracker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nexmo%2Fnode-call-tracker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Nexmo","download_url":"https://codeload.github.com/Nexmo/node-call-tracker/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nexmo%2Fnode-call-tracker/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266878570,"owners_count":23999619,"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-07-24T02:00:09.469Z","response_time":99,"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-01T01:15:24.398Z","updated_at":"2025-07-24T17:31:33.937Z","avatar_url":"https://github.com/Nexmo.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Calling Tracking Demo using Node and the Nexmo Voice API\n\nThis app used the Nexmo Voice API to demonstrate how a call tracking application could be built.\n\n* The call is tracked\n* Incoming calls are proxied to a destination number\n\nYou can read the [detailed tutorial on Nexmo's Developer Portal](https://developer.nexmo.com/tutorials/call-tracking) about call tracking; this repo is the sample code to accompany that tutorial.\n\n## Prerequisites\n\nYou will need:\n\n* At least one Nexmo Virtual Number (Phone Number)\n* The [Nexmo CLI](https://github.com/Nexmo/nexmo-cli/) installed\n* Somewhere to host this web app, Heroku or Your Local Machine with ngrok both work well\n\n## Installation\n\n```sh\ngit clone https://github.com/nexmo/node-call-tracker.git\ncd node-call-tracker\nnpm install\n```\n\n## Setup\n\nRename the config file:\n\n```sh\ncp example.env .env\n```\n\nFill in the values in `.env` as appropriate.\n\nEdit the following command to use the URL of where your application is hosted. Then run the [Nexmo CLI](https://github.com/nexmo/nexmo-cli) command below and take note of the application universally unique identifier (UUID) it returns:\n\n```sh\nnexmo app:create demo-app --keyfile private.key http://your-url-here/track-call http://your-url-here/event\n```\n\nBuy numbers for calls that you would like to track. The following example buys the first available number in a given country by country code.\n\n```sh\nnexmo number:buy --country_code [YOUR_COUNTRY_CODE]\n```\n\nLink each number to the application by running a command like this with the application UUID and the number to link.\n\n```sh\nnexmo link:app [NUMBER] [app-id]\n```\n\n### Running the App\n\n```sh\nnpm start\n```\n\nThe application should be available on \u003chttp://localhost:5000\u003e.\n\n### Using the App\n\nCall one of the virtual numbers that you rented. The call will be tracked and forwarded to the desired destination number.\n\nYou can see a list of tracked calls by accessing \u003chttp://localhost:5000/tracked-calls\u003e.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnexmo%2Fnode-call-tracker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnexmo%2Fnode-call-tracker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnexmo%2Fnode-call-tracker/lists"}