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/include/openbsc/gsm_data.h | |
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/include/openbsc/gsm_data.h')
-rw-r--r-- | openbsc/include/openbsc/gsm_data.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/gsm_data.h b/openbsc/include/openbsc/gsm_data.h index ef0b50768..68d3deebf 100644 --- a/openbsc/include/openbsc/gsm_data.h +++ b/openbsc/include/openbsc/gsm_data.h @@ -250,6 +250,7 @@ struct gsm_lchan { u_int16_t bound_port; u_int16_t connect_port; u_int16_t conn_id; + u_int8_t rtp_payload; u_int8_t rtp_payload2; u_int8_t speech_mode; struct rtp_socket *rtp_socket; |