comparison include/rtp_alloc.h @ 0:35c0d9f03c0a

beginning with sipout-test-voice, a copy of sip-manual-out from themwi-system-sw
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 03 Mar 2024 23:20:19 -0800
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:35c0d9f03c0a
1 /*
2 * This header file defines the ad hoc control interface
3 * to themwi-rtp-mgr over a dedicated local socket.
4 */
5
6 struct rtp_alloc_req {
7 uint32_t transact_ref;
8 uint32_t ep_type;
9 };
10
11 struct rtp_alloc_resp {
12 uint32_t transact_ref;
13 uint32_t res;
14 struct sockaddr_storage gsm_addr;
15 struct sockaddr_storage pstn_addr;
16 };
17
18 #define RTP_ALLOC_OK 0
19 #define RTP_ALLOC_ERR_PARAM 1
20 #define RTP_ALLOC_ERR_RSRC 2