view include/pstn_defs.h @ 37:8f1700a42ca5 default tip

set_remote: add functions for IPv6 and for sockaddr_{in,in6} A convenient way to pass in remote end address as struct sockaddr_in is needed for tw-border-mgw; IPv6 support will be needed in order to bring twrtp_endp into Osmocom mainline.
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 23 Nov 2024 19:08:28 +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 */