aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include/openbsc/mgcp.h
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-09-19 04:21:39 +0800
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-09-20 02:51:30 +0800
commitb98ba72e0a413a9d325fa8ed20cb77d28d472e2f (patch)
treee58442a78127d1c19886cd48c10f727c7718c87c /openbsc/include/openbsc/mgcp.h
parent3b5e3c4d6ff7835b8139a0d97a78cabac737a7ff (diff)
mgcp: Make the base port of the transcoder configurable
The code assumes a static mapping from endpoint to RTP port, be able to configure the start of such a mapping.
Diffstat (limited to 'openbsc/include/openbsc/mgcp.h')
-rw-r--r--openbsc/include/openbsc/mgcp.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/openbsc/include/openbsc/mgcp.h b/openbsc/include/openbsc/mgcp.h
index 0e45f521d..4adea96b8 100644
--- a/openbsc/include/openbsc/mgcp.h
+++ b/openbsc/include/openbsc/mgcp.h
@@ -109,14 +109,17 @@ struct mgcp_config {
unsigned int number_endpoints;
char *bts_ip;
char *call_agent_addr;
- char *transcoder_ip;
struct in_addr bts_in;
- struct in_addr transcoder_in;
char *audio_name;
int audio_payload;
int audio_loop;
+ /* transcoder handling */
+ char *transcoder_ip;
+ struct in_addr transcoder_in;
+ int transcoder_remote_base;
+
struct write_queue gw_fd;
struct mgcp_port_range bts_ports;