Layag

A CRM for small fiber networks, with direct OLT integration. Registering a customer sets up their modem on the OLT. Marking an account suspended slows the line down, and paying restores it. Nobody types commands into the OLT. Every morning at 8:00, the technician gets a list of lines that are down, keep dropping, or have weak signal.

  • 2 live sites
  • In production since

Customer names, phones, addresses and MAC addresses are anonymized.

The Problem

Payments were recorded in the collector’s notebook. Modems were managed on the OLT through a terminal. To check a customer’s connection, someone had to find their modem on the OLT and read its status and signal.

New installs and account changes needed separate work on the OLT. Every new modem was configured by hand. When an account went unpaid, someone lowered its speed, then restored it when they paid.

Layag links each customer to their modem, NAP box and payments. Registering a customer names the modem on the OLT and sets its speed. Marking an account suspended slows the line down, and paying returns it to its plan speed.

Layag also checks every modem on the network. Every morning at 8:00, a line check goes to the team chat: lines still down, lines that keep dropping, and weak signals. The technician works from that list instead of waiting for a customer to call.

See the Screens

From the customer record down to the OLT. Pick a part to see its screen from one of the live installations.

layag/customers/0412
Customers screen in Layag

Part 01 of 09

Customers

Everything about one subscriber on one page.

What Changed

Know Before the Customer Calls

Layag checks every modem on both networks every minute, and saves its signal every five minutes. When a line drops, it looks at why. A modem that loses power at the house sends one last message before it goes, and those drops are left out.

Every morning at 8:00, a line check goes to the team chat: lines still down, lines that keep dropping, and weak signals worth a look. The technician works from that list.

On the phone, in the field

Technicians and collectors get their own screens, built for one hand at a NAP box or a gate.

Network check phone screen in Layag. Problems first. Parked modems hidden unless asked.

Network check

Problems first. Parked modems hidden unless asked.

At the box phone screen in Layag. What hangs off this box, what each reads, and room left.

At the box

What hangs off this box, what each reads, and room left.

Payment phone screen in Layag. Find the customer, plan price filled in.

Payment

Find the customer, plan price filled in.

A New Install in One Click

After an install, the new modem shows up in Layag as online but not linked to anyone.

One form takes the name, plan, NAP box and install date. One click then creates the customer, names the modem on the OLT and sets its speed. Nobody types commands into the OLT.

Billing and the Network Agree

When an account goes unpaid, we mark it Suspended. Layag tells the OLT right away: upload drops to 512 kbps, the lowest the OLT allows, and download to 1 kbps. When they pay, the line goes back to its plan speed.

Every hour, Layag checks every modem against its plan and fixes any that drifted, like a modem that was offline when the change went out.

How It’s Run

Separate installations

Each network has its own installation and database. Both use the same codebase, and we deploy updates to each site.

Network monitoring

We collect modem status, signal readings and OLT logs so we can investigate connection problems. Alerts go to the team chat.

OLT integration

Layag supports two HiOSO OLT models through a shared interface. A new OLT brand is one new driver. Customer and billing code stays the same.

Under the hood

Backend
Laravel 12 on PHP 8.5
Screens
Livewire 3 with Flux UI, maps with Leaflet and OpenStreetMap
Database
SQLite, one per site
Hardware
HiOSO HA7304V and HA7302CST OLTs, over telnet and the OLT web interface
Monitoring
Prometheus, Loki and Grafana, with alerts to chat
Deploy
Pushed once to our own Forgejo; each site pulls over VPN and migrates

Still checking the OLT by hand?

We’re setting up Layag with a few partners running small fiber networks. Each one gets its own installation and database. If your team still types OLT commands for new customers or account changes, email us your OLT model and how you handle those tasks today.

Get in Touch