diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-09-20 02:59:25 +0800 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-09-20 02:59:25 +0800 |
commit | af8a0104481846858bfe3ada9ddf3a2a42c38818 (patch) | |
tree | e74d583fa34f24095056cec9922db58db88a9978 /openbsc/include/openbsc/mgcp.h | |
parent | e02860af0011e968dd21c33fa65aee8e106dab7e (diff) | |
parent | 9aa8a9c5a7f35770582bdb6d564f13caf852f91d (diff) |
Merge branch 'zecke/mgcp-transcoder'openbsc/0.9.8
Diffstat (limited to 'openbsc/include/openbsc/mgcp.h')
-rw-r--r-- | openbsc/include/openbsc/mgcp.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/mgcp.h b/openbsc/include/openbsc/mgcp.h index 0a0032211..850396a8a 100644 --- a/openbsc/include/openbsc/mgcp.h +++ b/openbsc/include/openbsc/mgcp.h @@ -25,6 +25,7 @@ #define OPENBSC_MGCP_H #include <osmocore/msgb.h> +#include <osmocore/write_queue.h> #include "debug.h" @@ -114,8 +115,16 @@ struct mgcp_config { 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; struct mgcp_port_range net_ports; + struct mgcp_port_range transcoder_ports; int endp_dscp; /* spec handling */ @@ -137,6 +146,7 @@ int mgcp_parse_config(const char *config_file, struct mgcp_config *cfg); int mgcp_vty_init(void); int mgcp_endpoints_allocate(struct mgcp_config *cfg); void mgcp_free_endp(struct mgcp_endpoint *endp); +int mgcp_reset_transcoder(struct mgcp_config *cfg); /* * format helper functions |