diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2009-11-19 20:29:30 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2009-11-20 17:35:47 +0100 |
commit | 7f71d99cc3f8bface8eda3004ae51c26ce9bb698 (patch) | |
tree | c5e969e657c4769c5b6cda1985caabe6decb20fd /openbsc/include/openbsc | |
parent | b92167cf80a7d1d8b562c1cfac1b1fcd85abee97 (diff) |
[bsc] Add a rtp base port to the BSC config too
Stop having a global variable... keep it in the
gsm network or the mgcp
Diffstat (limited to 'openbsc/include/openbsc')
-rw-r--r-- | openbsc/include/openbsc/gsm_data.h | 1 | ||||
-rw-r--r-- | openbsc/include/openbsc/mgcp.h | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/openbsc/include/openbsc/gsm_data.h b/openbsc/include/openbsc/gsm_data.h index 32b05d4da..1e66fa482 100644 --- a/openbsc/include/openbsc/gsm_data.h +++ b/openbsc/include/openbsc/gsm_data.h @@ -465,6 +465,7 @@ struct gsm_network { struct gsm_audio_support **audio_support; int audio_length; int rtp_payload; + int rtp_base_port; /* layer 4 */ int (*mncc_recv) (struct gsm_network *net, int msg_type, void *arg); diff --git a/openbsc/include/openbsc/mgcp.h b/openbsc/include/openbsc/mgcp.h index fa6224c12..3cba203de 100644 --- a/openbsc/include/openbsc/mgcp.h +++ b/openbsc/include/openbsc/mgcp.h @@ -21,8 +21,6 @@ * */ -unsigned int rtp_base_port = 4000; - /** * Calculate the RTP audio port for the given multiplex * and the direction. This allows a semi static endpoint |