Download Latest Version asterisk-audiosocket-main.zip (21.6 kB)
Email in envelope

Get an email when there's a new version of asterisk-audiosocket

Home / v0.1.0
Name Modified Size InfoDownloads / Week
Parent folder
asterisk-audiosocket-main.zip 2026-08-11 21.6 kB
README.md 2026-08-09 569 Bytes
v0.1.0 source code.tar.gz 2026-08-09 15.8 kB
v0.1.0 source code.zip 2026-08-09 21.5 kB
Totals: 4 Items   59.5 kB 0

Initial release. Extracted from the ICTContact AI Voice Agent media sidecar.

  • AudioSocketServer - event-driven TCP server for the Asterisk AudioSocket protocol.
  • AudioSocketConnection - per-call id / audio / hangup / error events.
  • play() - deadline-paced 20 ms outbound audio writer with a per-frame clamp.
  • FrameParser, encodeFrame, encodeAudio, encodeHangup, parseUuid - low-level codec.
  • Full protocol support: UUID, AUDIO, HANGUP, ERROR frames.
  • Zero runtime dependencies; ESM + type declarations.

npm install asterisk-audiosocket

Source: README.md, updated 2026-08-09