Official Documentation (Prime VoIP ENVIA)
Official Documentation (Prime VoIP ENVIA)
Operational guide for the nmsprime-provvoipenvia package (ProvVoipEnvia). Nested how-to pages under this section keep carrier-specific procedures.
Prerequisites
OS VoIP Provisioning (
nmsprime-provvoip) installed and phonenumbers/modems modelled.envia TEL credentials in
/etc/nmsprime/env/provvoipenvia.env(API URL, username, password).Roles that may create Envia orders and view Envia contracts.
Concepts
Concept | Meaning |
|---|---|
EnviaOrder | Workflow item for an Envia API method (create contract, create voip account, phonebook, port, …). |
EnviaContract | Local mirror of the wholesale contract identity returned by Envia. |
API method | Named Envia operation triggered from contract / modem / phonenumber / phonebookentry views (see |
Phonebook entry | Directory listing managed via phonebookentry_get / create / delete API actions. |
Availability | Probe whether a location/service can be ordered ( |
Typical order lifecycle
Operator creates or triggers an EnviaOrder from the contract / modem / phonenumber / phonebook context.
Queue / artisan runs
provvoipenvia:process_envia_orders(and related status refresh).Status and optional stored XML (when
PROVVOIPENVIA__STORE_XML_*is enabled) remain on the order.Successful creates update EnviaContract / phonenumber / modem links as applicable.
Console getters/updaters refresh references, orders, and voice data.
First-time setup
Follow the nested guide: Provisioning VoIP envia TEL Setup.
Summary of artisan commands used there / in modules/ProvVoipEnvia/Console:
Command | Purpose |
|---|---|
| Pull customer references |
| Pull contracts for customers |
| Pull contract references for phonenumbers |
| Refresh Envia orders (also drives Billing item date sync when Billing is active) |
| Process pending Envia orders |
| Refresh SIP/TRC / voice data |
| CSV-based customer reference update |
Related OS VoIP code tables (from the setup guide): provvoip:update_carrier_code_database, provvoip:update_ekp_code_database, provvoip:update_trc_class_database.
Verify credentials with the UI action Ping envia TEL API (misc_ping) — expect a “pong”.
Operations covered by nested guides
Topic | Nested page |
|---|---|
Initial envia TEL setup | |
Request new phonenumber | |
Port from another carrier | |
Change / cancel phonenumber | |
Voice / item dates → Billing | |
Flow diagram | |
Directory & carrier services |
Error handling
Failed API calls leave the EnviaOrder in an error / interaction-needed state with stored request/response when XML store is on.
Do not manually invent Envia contract IDs — create via successful API paths.
When Envia rejects an order, fix the business data (address, customer, number) and retry per Envia rules.
Related packages
Package | Role |
|---|---|
| Phonenumber / modem VoIP model (required) |
| Voice item date sync / settlement when installed |
| Contract / modem |
Source pointers
Models:
modules/ProvVoipEnvia/Entities/Controllers:
modules/ProvVoipEnvia/Http/Controllers/Console:
modules/ProvVoipEnvia/Console/Availability client:
modules/ProvVoipEnvia/Services/EnviaAvailabilityCheckClient.phpInstall config:
modules/ProvVoipEnvia/Install/config.cfg