view include/pstn_defs.h @ 3:d10ea5dc61b3

twjit: initial import from previous work repository The initial development of twjit was done in a private branch of osmo-bts git repository; the intent was to prototype twjit in osmo-bts. However, as I am getting a better feel for the full scope of the problem (producing a replacement for libortp), I changed course to the present themwi-rtp-lib (libtwrtp) approach.
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 05 Jul 2024 18:50:48 +0000
parents e05dde97739d
children
line wrap: on
line source

/* misc PSTN definitions */

#pragma once

#define	PSTN_CODEC_PCMU		0
#define	PSTN_CODEC_PCMA		8

#define	FRAME_20MS	160	/* samples per RTP packet */