How adithyapi4/network-provisioning-system works
AirConnect is a console-based telecom connection request and provisioning simulator. Customers submit KYC details for new-number or port-in requests; requests receive a CRN, pass the applicable checks, and require card payment before provisioning. Provisioners authenticate, review requests, and provision or reject them; customers can track status by CRN. The sampled code also loads and saves requests in an encrypted, key-checked local file. The README describes some workflow details not visible in the excerpts; links based only on those descriptions are cited to the README.
Main entry points: main.cpp Console Workflow · misc_functions.cpp Payment Selection · Customer.cpp KYC and Email OTP · Mobile.cpp Request Status and CRN
Components 13
Request Intake
- KYC and Email OTP
Customer.cpp - Request and Port Checks
Mobile.cpp - Request Intake Helpers
misc_functions.cpp
Provisioning Operations
- Console Workflow
main.cpp - Provisioner Authentication
misc_functions.cpp - Provision and Activation
misc_functions.cpp - Request Status and CRN
Mobile.cpp
Payment
- Payment Selection
misc_functions.cpp - Payment Interface
Payment.h - Card Validation
Card.cpp
Persistence
- Encrypted Request File
misc_functions.cpp
Other components
- Customer
- Provisioner
Connections 17
- Customer → Console Workflow: submits request
README.md - Console Workflow → KYC and Email OTP: collects KYC
- KYC and Email OTP → Request Intake Helpers: provides details
misc_functions.cpp - Request Intake Helpers → Request and Port Checks: creates request
misc_functions.cpp - Request and Port Checks → KYC and Email OTP: inherits customer
Mobile.cpp - Console Workflow → Request Intake Helpers: selects request type
main.cpp - Console Workflow → Payment Selection: starts payment
main.cpp - Payment Selection → Payment Interface: creates payment
misc_functions.cpp - Payment Selection → Card Validation: selects card
misc_functions.cpp - Card Validation → Payment Interface: implements
Card.cpp - Console Workflow → Request Status and CRN: tracks CRN
main.cpp - Provisioner → Console Workflow: reviews requests
README.md - Console Workflow → Provisioner Authentication: checks credentials
- Console Workflow → Provision and Activation: provisions request
main.cpp - Provision and Activation → Request Status and CRN: sets activation state
misc_functions.cpp - Console Workflow → Encrypted Request File: loads and saves
main.cpp - Encrypted Request File → Request Status and CRN: restores requests
misc_functions.cpp