Signalling, media and the pipeline
How a call travels through Open Voice Shield
Open Voice Shield sits between your switch and your carrier as one SIP hop. Your switch sends each call to it first, as to any carrier. It checks the call comes from your whitelist, passes the audio through while recording it, and sends the call on. After hangup it transcribes the recording, reads it, and marks the call block, review or allow.
Open Voice Shield is in the media path
The RTP goes through our media server both ways, which is how the call is recorded. If you need a service that never touches your audio, this is not it.
The diagram
The path, end to end
- During the call it works like any transit proxy: authorize, anchor the media, relay onward, tear down.
- After hangup a separate job decodes, transcribes, analyzes and notifies, so a fault there can never affect a live call.
Every routing decision is logged with an OVS: prefix, so you can read the reasoning behind any call.
While the call is up
Step by step, from INVITE to BYE
- Your switch sends the INVITE to the ingress shown on your Network page.
- We authorize it by source IP, account state, port limit and balance.
- The media server anchors and records the audio, one capture per stream.
- The call is routed on to the destination your own rules pick.
- Hangup closes the capture and starts the analysis.
Each step in detail, and every refusal code
1. Your switch sends the INVITE
Point a trunk, route or carrier entry at the ingress host and port shown on your Network page. The initial INVITE must carry SDP; one without it is answered 488. Out-of-dialog OPTIONS gets 200 OK, so your keepalive works as usual. REGISTER gets 403, because Open Voice Shield is a proxy and not a registrar.
2. We authorize it by source IP
The proxy asks the API to authorize the call, passing the source IP, the Call-ID, the From user, the dialled number, the From tag and any configured captured headers. The API matches the source IP against your CIDR allow-list, checks account state, the concurrent-port limit and the balance, then creates the call record and resolves the destination. The From tag tells a retransmission apart from a new call that reuses a Call-ID.
| Condition | SIP response | In the CDR |
|---|---|---|
| Source IP not whitelisted, or account suspended | 403 | no call record is created |
| Insufficient prepaid balance | 402 | no call record is created |
| Concurrent port limit reached | 486 | no call record is created |
| ANI under an active block control | 403 | blocked_by_rule |
| API unreachable or answering badly | 503 | no call record is created |
| Destination is loopback, link-local or the proxy itself | 403 | call failed |
| Media relay unavailable, or the onward leg cannot be reached | 503 | call failed |
3. The media server anchors and records the media
Before relaying, the proxy hands the SDP to the media server with recording switched on. The media server rewrites the connection information so both parties send their RTP to it, and writes one pcap per media stream. Re-INVITEs and UPDATEs take the same path, so a mid-call codec or address change stays in the capture.
4. The call is routed on to your destination
The destination comes from your own configuration, in this order: the routing rule whose prefix is the longest match for the dialled number; the destination attached to that whitelisted IP; your account default; otherwise back to the source IP. If the destination has a tech prefix, it is added to the Request-URI user just before relay. The proxy record-routes and relays the call (it proxies, it does not re-originate) and tracks the dialog for credit cut-off and teardown.
5. Hangup
A BYE from either side ends the dialog. The proxy tears down the media session, which flushes the capture, and reports the call to the API with the duration, the SIP code and the reason. If the call hits the credit or dialog limit first, the proxy sends BYE to both sides and reports reason timeout. Either way, the analysis starts next.
Watching it happen
The line inspector
On the Live page every licensed port is an indicator. Click a lit one to open the inspector for that call.
Where the inspector's numbers come from
The ladder is the proxy's trace. The post-dial delay and codec are read from it the moment the 180 and 200 arrive. The media lanes and packet counts come from the relay while the call is up. The panel opens beneath the port bank.
The full tour
Six minutes, start to finish
A recorded walk through the customer portal, from a live call to its verdict, alerts, the API and billing. Every screen is the real product and every call is a real call.
What the tour covers
A live call on the port bank, the verdict on a real scam call, the recording and transcript, quality per leg, alerts, automation, connecting a switch, the API and billing. It plays from YouTube's privacy-enhanced domain.
After the call has ended
Decode, transcribe, analyze
A worker outside the signalling path decodes the recording, transcribes each side and scores it. A failure here never affects a call.
The pipeline stages and what fails in each
A failure in any stage marks the analysis failed with a readable error.
| Stage | What it does | Failure mode |
|---|---|---|
| Locate | Finds the captures for that call on the node that recorded them, retrying with backoff. | recording_not_found |
| Decode | Groups RTP by stream, decodes G.711 to PCM, rebuilds timing from RTP timestamps, writes a stereo 8 kHz WAV. Earliest stream left, the other right. | unsupported_codec:<pt> |
| Transcribe | Transcribes each channel separately, merges by start time, labels every line caller or callee. | job failure with the provider's error |
| Analyze | Sends the labelled transcript and call metadata to the analysis engine under a strict JSON schema, then stores the verdict. | job failure; a refusal is stored as review |
| Deliver | Charges the analysis fee, evaluates alert and automation rules, POSTs the webhook. | alert recorded as failed; webhook retried |
A call shorter than the configured minimum is marked skipped and is not analyzed. The verdict schema, field by field, is on the features page. Measured end-to-end timings are available on request.
Both channels are read. If the callee side switches from conversation to looping playback, the call also carries a route alert aimed at the vendor. How delayed-playback FAS detection works.
More on the callee channel check
The Analyze stage reads the callee channel as well as the caller's. It checks for a mid-call switch from interactive conversation to looping or non-responsive playback. That is the delayed-playback form of false answer supervision, where a route's vendor swaps the callee for a recording to keep minutes billing. The route alert sits beside the verdict and is aimed at the vendor serving the route, not at the caller.
What changes in the inspector after hangup
The relay's live counters give way to the jitter, packet loss and estimated MOS of each leg. The decode, transcribe and analyze stages complete in turn, and the verdict lands where the call was, with a link to the call record.
Getting connected
What you configure, once
- Whitelist your SIP server's public IP, one CIDR per entry. Entries that overlap another tenant's are rejected.
- Add the destination we forward to: host, port and transport of your switch or carrier.
- Point a trunk at the ingress shown, with a copy button, on the Network page.
- Optionally add routing rules to send different prefixes to different destinations.
- Send one call through and watch it in the live view, then in the CDR with its verdict.
There is no software to install. If your switch can send a call to a carrier, it can send one to Open Voice Shield.
No card is needed to create an account. The getting started guide covers all eight steps. For volume pricing, a security review or an invoice, talk to us first.