imsd/interfaces
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jorijn van der Graaf daaba2d657 engine/sdp: accept AMR-NB and G.711 offers; name the offered codecs on 488
An incoming INVITE whose offer carried no AMR-WB was refused with 488
before ringing. A landline caller arrives through the PSTN gateway, which
offers narrowband — AMR (NB) and/or G.711 — so every landline call was
refused, deterministically. Field report 2026-09-01 (Telia Norge): a
doctor's office called twice, both 488; a mobile caller rang fine.

The parser now recognises PCMA/PCMU by rtpmap name or by static payload
type (a G.711 offer may carry no rtpmap line at all, RFC 3551 §6), matches
encoding names case-insensitively (RFC 4566 §6), and prefers
AMR-WB > AMR > PCMA > PCMU with octet-aligned first within AMR — a mobile
caller offering everything still lands on AMR-WB. The engine accepts any
codec the media leg plays and answers at the offer's own payload type with
the DTMF clock matching the codec (8 kHz for narrowband). A refused offer
now logs what WAS offered ('offered: 18 G729, 101 TELEPHONE-EVENT'), so a
field journal answers 'which codec did the gateway want' without a raw SIP
dump.

The media leg gains the matching codecs in the next commit.
2026-09-02 03:11:11 +02:00
..
Imsd-Aka.cppm imsd 0.2.7 — initial public snapshot 2026-07-22 23:04:21 +02:00
Imsd-Engine.cppm engine/sdp: accept AMR-NB and G.711 offers; name the offered codecs on 488 2026-09-02 03:11:11 +02:00
Imsd-Ipsec.cppm imsd 0.2.7 — initial public snapshot 2026-07-22 23:04:21 +02:00
Imsd-Messages.cppm Emergency calling, stage 1: urn:service:sos with a digits fallback 2026-08-03 09:27:03 +02:00
Imsd-Sdp.cppm engine/sdp: accept AMR-NB and G.711 offers; name the offered codecs on 488 2026-09-02 03:11:11 +02:00
Imsd-Sip.cppm imsd 0.2.7 — initial public snapshot 2026-07-22 23:04:21 +02:00
Imsd-Util.cppm imsd 0.2.7 — initial public snapshot 2026-07-22 23:04:21 +02:00
Imsd.cppm imsd 0.2.7 — initial public snapshot 2026-07-22 23:04:21 +02:00