DevSteven Services

Call-processing software · SIP · media

Your call core, built for operator networks.

We modify the SIP and media core of Asterisk-based call-processing platforms in C. Mobile codecs, signalling headers, early media, fax and SDP behaviour are implemented in the core, not patched around it with dialplan workarounds.

  • 5+ years in operator voice
  • 10+ production deployments
  • 24/7 support contracts
; 183 Session Progress, after our changes
SIP/2.0 183 Session Progress
Via: SIP/2.0/UDP 192.0.2.10:5060;branch=z9hG4bK7a1
From: <sip:+37360000000@ims.example.net;user=phone>
To: <sip:+37360111222@ims.example.net>;tag=8c2
P-Early-Media: sendrecv
Content-Type: application/sdp

m=audio 16384 RTP/AVP 98 96
a=rtpmap:98 AMR-WB/16000/1
a=fmtp:98 mode-set=0,1,2;mode-change-capability=2
a=rtpmap:96 telephone-event/16000
Highlighted lines are behaviour stock Asterisk does not give you.

In the core, in C

Changes are made in the channel drivers, RTP and codec layers with full logic, not as configuration tricks. They keep up with call volume.

Based on Asterisk 16 LTS

Both chan_sip and chan_pjsip are supported. Other Asterisk versions on request.

Live in mobile networks

The modifications run in production inside operator environments, where interoperability faults show up as dropped or silent calls.

Capabilities

Each one exists because an operator interconnect needed it. Every item can be delivered alone or combined.

Codecs

AMR, AMR-WB and EVS

Problem
Mobile and VoLTE/VoWiFi networks offer AMR, AMR-WB or EVS. A platform that cannot negotiate them forces transcoding in a separate box, or the call fails.
What we change
Native codec support in the RTP and format layers, with 16 kHz telephone-event for DTMF, following the current RFC and 3GPP payload formats (for example RFC 4867, RFC 4733).
Result
Wideband calls pass through and bridge end to end without an extra transcoding hop.
Read the details →
; SDP answer
m=audio 16384 RTP/AVP 98 96
a=rtpmap:98 AMR-WB/16000/1
a=fmtp:98 mode-set=0,1,2,8;octet-align=1
a=rtpmap:96 telephone-event/16000
a=fmtp:96 0-15

Codecs

EVS Compact mode and mode requests

Problem
Operators send EVS and AMR-WB IO in both Compact and Header-Full framing, and use Codec Mode Requests (CMR) to steer the sender's bit rate. A decoder that guesses the framing or ignores CMR produces garbled audio or the wrong rate.
What we change
Compact and Header-Full are detected per packet. AMR-WB IO Compact byte order is handled correctly. Incoming CMR is honoured, so the encoder follows the peer's requested bit rate and bandwidth. The decoder rejects malformed input: bit rates outside the allowed set, reserved ToC modes and bad payload lengths.
Result
EVS tested in production under load, without the periodic restarts a fragile decoder causes. The EVS library ships as RPMs, built reproducibly, so it is not compiled on every server.
Read the details →
; negotiated EVS, Compact framing
a=rtpmap:100 EVS/16000/1
a=fmtp:100 br=13.2;bw=wb;hf-only=0

Codecs

Opus, including recording

Problem
WebRTC and modern endpoints use Opus. Without it, every such call is transcoded and loses quality.
What we change
Opus negotiation and media handling, plus saving call audio in Opus format.
Result
Better quality at lower bandwidth, and smaller recordings with highest fidelity kept.
Read the details →
; SDP offer
m=audio 20000 RTP/AVP 111
a=rtpmap:111 opus/48000/2
a=fmtp:111 minptime=10;useinbandfec=1

Signalling

From / P-Asserted-Identity control

Problem
Some networks reject or misroute calls unless the identity headers carry user=phone, regardless of what number is in them.
What we change
The usereqphonefrom option sets user=phone in From and PAI independently of the number. Additional custom header data can be added in the same place.
Result
Calls are accepted and routed by the far side on the first attempt.
Read the details →
From: <sip:+37360000000@ims.example.net;user=phone>;tag=1c9
P-Asserted-Identity: <sip:+37360000000@ims.example.net;user=phone>

Signalling

P-Early-Media

Problem
Without the right early-media authorisation, callers hear no ringback or announcement on 183 responses, or the network cuts the media.
What we change
A P-Early-Media implementation (RFC 5009) for 183 responses on incoming calls. It can answer with any option the remote party requires, and other custom SIP headers can be added.
Result
Precise control over when early media flows, as the interconnect expects.
Read the details →
SIP/2.0 183 Session Progress
P-Early-Media: sendrecv
Content-Type: application/sdp

Media negotiation

Remote SDP codec priority

Problem
Answering with your own codec order can lead to a mismatch, a re-INVITE, and a late start of audio.
What we change
The answer follows the codec priority of the remote SDP, chosen dynamically per call.
Result
No time or traffic spent on codec renegotiation, and audio starts sooner.
Read the details →
; remote offer
m=audio 30000 RTP/AVP 98 8 0
; our answer keeps their order
m=audio 16384 RTP/AVP 98 8 0

Media

Fax

Problem
Fax still runs through some operator and enterprise routes, and a stock platform has no fax engine.
What we change
Fax capability is added with the spandsp library, enabling the res_fax_spandsp module in the build.
Result
Fax calls are sent and received on the same platform, with no separate fax gateway.
Read the details →
; module available after the build
res_fax_spandsp.so

Delivery

One portable build for the whole fleet

Problem
Operator estates run a mix of old and new Linux: CentOS 7 next to Rocky 9, Ubuntu 14.04 next to 24.04. Building per server is slow and every host drifts.
What we change
A static build whose only runtime dependency is a very old glibc, packaged as both .deb and .rpm. It installs on CentOS 7 to Rocky 9 and Ubuntu 14.04 to 24.04 from the same sources.
Result
The same tested binary everywhere, installed with the system package manager. Configs are left untouched on upgrade.
Read the details →
$ ldd asterisk
  libc.so.6 => (old glibc only)
$ rpm -i asterisk-*.rpm   # CentOS 7 .. Rocky 9
$ dpkg -i asterisk-*.deb  # Ubuntu 14.04 .. 24.04

Anything else

Custom modifications

Problem
Your network has a requirement no stock build covers.
What we change
New protocol support, changes to existing behaviour, or performance work, designed against your traces and your counterparties.
Result
A change specified, tested on your staging and shipped like the items above.
Read the details →
; send us a pcap and the symptom.
; we come back with a spec.

Platform

What the changes are built on and how they are delivered.

BaseAsterisk 16 LTS. Other versions on request.
SIP stackschan_sip and chan_pjsip
CodecsAMR, AMR-WB, EVS (Compact and Header-Full), Opus, plus the standard Asterisk set
DTMFRFC 4733 telephone-event, events 0–15, at 8 and 16 kHz
Faxspandsp via res_fax_spandsp
PackagingPortable static build as .deb and .rpm (CentOS 7 to Rocky 9, Ubuntu 14.04 to 24.04); EVS library as reproducible RPMs
LanguageC, in the Asterisk core, channel drivers and codec modules
Where the work happensOn your infrastructure, under your security rules
LicensingGPL-respecting. We provide customization services, not a resold binary. You own the customized installation.
After go-liveMaintenance contracts: updates, bug fixes, compatibility, 24/7 support

How a project runs

  1. Scope

    You send the symptom, a pcap or the requirement. We tell you what is needed and what is not.

  2. Spec and quote

    A written spec with expected SIP/SDP behaviour, a fixed scope and a price.

  3. Build and test

    Developed and tested on your staging over VPN, Citrix, WebEx/AnyConnect or SSH.

  4. Rollout and support

    Production rollout with you, then maintenance.

Typical effort: simple additions such as one codec take 1–2 weeks. Comprehensive implementations take 4–8 weeks.

FAQ

Which Asterisk versions do you support?

Mainly Asterisk 16 LTS, which has both chan_sip and chan_pjsip. Other versions are possible; ask.

How do you handle licensing?

All work respects Asterisk's GPL licence. We provide customization services rather than selling modified software, and your organisation owns the customized installation.

How do you get access to our systems?

Remotely via VPN, Citrix, Cisco WebEx/AnyConnect, SSH or any secure method you prefer. Work is done on your infrastructure under your security protocols.

Do you offer ongoing support?

Yes. Maintenance contracts cover updates, bug fixes and compatibility, with 24/7 support.

How long does it take?

1–2 weeks for simple additions such as codec support, 4–8 weeks for comprehensive implementations.

Can you name your customers?

No. Our work is inside operator networks and is covered by confidentiality. We can describe the problem and the fix in technical detail instead.

Request a quote

Tell us what your network needs. We reply within 24 hours.

Capabilities needed *