aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/libbsc/abis_rsl.c
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2011-08-22 18:22:44 +0200
committerHolger Hans Peter Freyther <zecke@selfish.org>2011-08-22 18:22:44 +0200
commit128892f55f23ac24e6eb786ca3cf0841fbc45fd2 (patch)
tree866fc7fee30cd3d914f881a6900cbd044ea613f1 /openbsc/src/libbsc/abis_rsl.c
parent3488c3ddc46d74b7b2bbc879692dbf6e7ad2ecc3 (diff)
audio: Remove the hardcoding of the RTP Payload
The MGCP config must be correct and use 99 for RTP AMR.
Diffstat (limited to 'openbsc/src/libbsc/abis_rsl.c')
-rw-r--r--openbsc/src/libbsc/abis_rsl.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/openbsc/src/libbsc/abis_rsl.c b/openbsc/src/libbsc/abis_rsl.c
index b4babc301..2ce900c51 100644
--- a/openbsc/src/libbsc/abis_rsl.c
+++ b/openbsc/src/libbsc/abis_rsl.c
@@ -1580,10 +1580,6 @@ static uint8_t ipa_rtp_pt_for_lchan(struct gsm_lchan *lchan)
{
struct gsm_network *net = lchan->ts->trx->bts->network;
- /* allow to hardcode the rtp payload */
- if (net->hardcoded_rtp_payload != 0)
- return net->hardcoded_rtp_payload;
-
switch (lchan->tch_mode) {
case GSM48_CMODE_SPEECH_V1:
switch (lchan->type) {