diff options
-rw-r--r-- | openbsc/include/openbsc/rtp_proxy.h | 3 | ||||
-rw-r--r-- | openbsc/src/libbsc/abis_rsl.c | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/openbsc/include/openbsc/rtp_proxy.h b/openbsc/include/openbsc/rtp_proxy.h index 94d2579ff..26cac0df4 100644 --- a/openbsc/include/openbsc/rtp_proxy.h +++ b/openbsc/include/openbsc/rtp_proxy.h @@ -32,8 +32,7 @@ #define RTP_PT_GSM_FULL 3 #define RTP_PT_GSM_HALF 96 #define RTP_PT_GSM_EFR 97 -#define RTP_PT_AMR_FULL 98 -#define RTP_PT_AMR_HALF 99 +#define RTP_PT_AMR 98 enum rtp_rx_action { RTP_NONE, diff --git a/openbsc/src/libbsc/abis_rsl.c b/openbsc/src/libbsc/abis_rsl.c index 2ce900c51..c8bfbb6d6 100644 --- a/openbsc/src/libbsc/abis_rsl.c +++ b/openbsc/src/libbsc/abis_rsl.c @@ -1601,9 +1601,8 @@ static uint8_t ipa_rtp_pt_for_lchan(struct gsm_lchan *lchan) case GSM48_CMODE_SPEECH_AMR: switch (lchan->type) { case GSM_LCHAN_TCH_F: - return RTP_PT_AMR_FULL; case GSM_LCHAN_TCH_H: - return RTP_PT_AMR_HALF; + return RTP_PT_AMR; default: break; } |