{"id":29810014,"url":"https://github.com/wolftech-innovations/vlesim","last_synced_at":"2025-10-06T00:04:04.708Z","repository":{"id":291293612,"uuid":"977200545","full_name":"WolfTech-Innovations/VLeSIM","owner":"WolfTech-Innovations","description":null,"archived":false,"fork":false,"pushed_at":"2025-05-09T15:50:16.000Z","size":1112,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-28T16:31:38.503Z","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/WolfTech-Innovations.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,"zenodo":null}},"created_at":"2025-05-03T16:46:43.000Z","updated_at":"2025-05-26T02:16:53.000Z","dependencies_parsed_at":"2025-05-03T17:39:34.373Z","dependency_job_id":"a08b4f1d-85e3-4f3a-963c-68bc3740c041","html_url":"https://github.com/WolfTech-Innovations/VLeSIM","commit_stats":null,"previous_names":["wolftech-innovations/vlesim"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/WolfTech-Innovations/VLeSIM","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WolfTech-Innovations%2FVLeSIM","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WolfTech-Innovations%2FVLeSIM/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WolfTech-Innovations%2FVLeSIM/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WolfTech-Innovations%2FVLeSIM/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/WolfTech-Innovations","download_url":"https://codeload.github.com/WolfTech-Innovations/VLeSIM/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WolfTech-Innovations%2FVLeSIM/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278537774,"owners_count":26003250,"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-10-05T02:00:06.059Z","response_time":54,"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":"2025-07-28T16:15:59.839Z","updated_at":"2025-10-06T00:04:04.665Z","avatar_url":"https://github.com/WolfTech-Innovations.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# VoIP eSIM Framework\n\nA lightweight framework for provisioning virtual eSIMs with integrated VoIP and mobile data capabilities.\n\n## Overview\n\nThe VoIP eSIM Framework provides a complete solution for creating, managing, and provisioning virtual eSIM profiles with built-in VoIP (Voice over IP) functionality. It enables developers to implement software-based SIM cards that can handle voice calls and mobile data services without requiring physical SIM hardware.\n\n## Features\n\n- **Virtual eSIM Provisioning**: Generate and manage virtual eSIM profiles with ICCID, IMSI, and authentication keys\n- **SIP Server**: Built-in SIP (Session Initiation Protocol) server for handling voice calls\n- **Mobile Data Bridge**: Integrated data connectivity services for internet access\n- **External Call Routing**: Support for routing calls to external SIP networks\n- **Media Relay**: Handles audio streaming between call participants\n\n## Components\n\n### ESIMProvisioner\n\nResponsible for creating and managing eSIM profiles:\n- Generates cryptographically secure ICCID, IMSI, Ki, and OPc values\n- Maintains profile database with persistence\n- Provides activation data for device onboarding\n\n### SIPServer\n\nHandles SIP signaling for voice calls:\n- Supports both UDP and TCP transports\n- Manages user registrations\n- Routes calls between registered users\n- Handles call setup, maintenance, and termination\n- Routes external calls to other SIP networks\n\n### VoIPESIMProvider\n\nTop-level component that integrates provisioning and communication:\n- Manages phone number allocation\n- Handles eSIM provisioning requests via SIP\n- Links phone numbers to eSIM profiles\n\n### IntegratedMobileDataProvider\n\nProvides data connectivity for provisioned eSIMs:\n- Handles APN (Access Point Name) configuration\n- Manages data sessions\n- Integrates with the VoIP system\n\n## Configuration\n\nThe framework uses the following default configuration:\n\n```javascript\nconst CONFIG = {\n  SIP_SERVER_URL: '0.0.0.0', // Automatically updated to public IP\n  SIP_SERVER_PORT: 5052,\n  SIP_SERVER_PROTOCOL: 'udp',\n  PHONE_NUMBER_PREFIX: '935',\n  DATA_DIR: './data'\n};\n```\n\n## Usage\n\n### Basic Setup\n\n```javascript\nconst { VoIPESIMProvider } = require('./voip-esim-framework');\n\n// Create provider with default configurations\nconst provider = new VoIPESIMProvider({\n  sip: {\n    domain: 'your-sip-domain.com',\n    udpPort: 5052,\n    tcpPort: 5053\n  },\n  phoneNumberPrefix: '935'\n});\n\nconsole.log(`VoIP eSIM Provisioning Server started`);\n```\n\n### Provisioning a New eSIM\n\n```javascript\nconst provisioningData = provider.provisionNewESIM();\n\nconsole.log(`New eSIM provisioned:`);\nconsole.log(`- Phone Number: ${provisioningData.phoneNumber}`);\nconsole.log(`- ICCID: ${provisioningData.profile.iccid}`);\nconsole.log(`- SIP URL: ${provisioningData.activationData.sipServerUrl}`);\nconsole.log(`- Activation Code: ${provisioningData.activationData.activationCode}`);\n```\n\n### With Mobile Data Bridge\n\n```javascript\nconst { VoIPESIMProvider, IntegratedMobileDataProvider } = require('./voip-esim-framework');\n\n// Create VoIP provider\nconst provider = new VoIPESIMProvider({/* config */});\n\n// Add mobile data capabilities\nconst integratedProvider = new IntegratedMobileDataProvider(provider, {\n  ip: 'your-server-ip',\n  port: 5054,\n  apn: 'private.network.apn'\n});\n```\n\n## Client Integration\n\nClients can request eSIM provisioning by sending a special SIP INVITE message:\n\n```\nINVITE sip:provision@your-sip-domain.com SIP/2.0\n...headers...\n\nPROVISION-ESIM\n```\n\nThe server responds with the eSIM profile data:\n\n```\nSIP/2.0 200 OK\n...headers...\nContent-Type: application/esim-provision\n\nESIM-PROVISIONED\n\nPhone-Number: 935xxxx\nICCID: 00000000000\nIMSI: 0000000000000\nActivation-Code: a1b2c3d4e5f6\nSM-DP-Address: your-sip-domain.com\nSIP-URL: sip:9351001@your-sip-domain.com:5052;transport=udp\nEncoded-Profile: base64encodedprofiledata\n```\n\n## Installation\n\n1. Clone the repository\n2. Install dependencies: `npm install`\n3. Run the server: `node index.js`\n\n## Dependencies\n\n- Node.js (v14+)\n- Required npm packages:\n  - `public-ip`: For automatic public IP detection\n  - Standard Node.js modules: fs, path, crypto, dgram, net, events\n\n## License\n\n[MIT License](LICENSE)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwolftech-innovations%2Fvlesim","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwolftech-innovations%2Fvlesim","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwolftech-innovations%2Fvlesim/lists"}