FreeCalypso > hg > sipout-test-utils
view include/rtp_alloc.h @ 16:4f81b959a5f5
sipout-test-voice: implement PCMU GSM uplink catcher
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Mon, 13 May 2024 22:10:25 -0800 |
parents | 35c0d9f03c0a |
children |
line wrap: on
line source
/* * This header file defines the ad hoc control interface * to themwi-rtp-mgr over a dedicated local socket. */ struct rtp_alloc_req { uint32_t transact_ref; uint32_t ep_type; }; struct rtp_alloc_resp { uint32_t transact_ref; uint32_t res; struct sockaddr_storage gsm_addr; struct sockaddr_storage pstn_addr; }; #define RTP_ALLOC_OK 0 #define RTP_ALLOC_ERR_PARAM 1 #define RTP_ALLOC_ERR_RSRC 2