diff options
author | Sylvain Munaut <tnt@246tNt.com> | 2009-12-20 22:06:40 +0100 |
---|---|---|
committer | Sylvain Munaut <tnt@246tNt.com> | 2010-04-12 19:58:57 +0200 |
commit | b54dda4cefe89665d98074cf3767858fa6ecdb6e (patch) | |
tree | 3215a8cac5dfe85cac95a11a83cbd824f69d0fd6 /openbsc/src/rtp_proxy.c | |
parent | b998d7b219d66ab3e89e263aa345856e0bf97cbb (diff) |
ipaccess: Send RTP Payload IE for CRCX & MDCX
For GSM V1 FR, the payload type is fixed to 3 in the RFC.
But for the other codecs, the payload type is dynamically assigned
between 96 and 127. Here, we use a static mapping internal to OpenBSC.
This patch is needed to make a rather old 139 unit (with sw version
120a002_v149b42d0) work with something else than FR codec. I also tested
this patch on a newer 139 (with sw version 120a352_v267b22d0) to make
sure it didn't add a regression. More testing with newer EDGE units
should be done by whoever has some of theses.
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Diffstat (limited to 'openbsc/src/rtp_proxy.c')
-rw-r--r-- | openbsc/src/rtp_proxy.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/openbsc/src/rtp_proxy.c b/openbsc/src/rtp_proxy.c index 375204e97..924173dd2 100644 --- a/openbsc/src/rtp_proxy.c +++ b/openbsc/src/rtp_proxy.c @@ -91,9 +91,6 @@ struct rtp_x_hdr { #define RTP_VERSION 2 -#define RTP_PT_GSM_FULL 3 -#define RTP_PT_GSM_EFR 97 - /* decode an rtp frame and create a new buffer with payload */ static int rtp_decode(struct msgb *msg, u_int32_t callref, struct msgb **data) { |