sched_lchan_tch_x: use ul_cmr and ul_ft when generating RTP bad frame
All generated RTP that originates from the BTS relates to uplink. When generating AMR BAD frame RTP packets, we must use ul_cmr/ul_ft and not dl_cmr/dl_ft. Change-Id: Ifa009819791cf7df2dd8201f442b0dae06f622a4 Related: SYS#5549
This commit is contained in:
parent
282c4a38b7
commit
da1b9a59f5
|
@ -280,8 +280,8 @@ bfi:
|
|||
break;
|
||||
case GSM48_CMODE_SPEECH_AMR: /* AMR */
|
||||
rc = osmo_amr_rtp_enc(tch_data,
|
||||
chan_state->codec[chan_state->dl_cmr],
|
||||
chan_state->codec[chan_state->dl_ft],
|
||||
chan_state->codec[chan_state->ul_cmr],
|
||||
chan_state->codec[chan_state->ul_ft],
|
||||
AMR_BAD);
|
||||
if (rc < 2) {
|
||||
LOGL1S(DL1P, LOGL_ERROR, l1t, bi->tn, chan, bi->fn,
|
||||
|
|
|
@ -311,8 +311,8 @@ bfi:
|
|||
break;
|
||||
case GSM48_CMODE_SPEECH_AMR: /* AMR */
|
||||
rc = osmo_amr_rtp_enc(tch_data,
|
||||
chan_state->codec[chan_state->dl_cmr],
|
||||
chan_state->codec[chan_state->dl_ft],
|
||||
chan_state->codec[chan_state->ul_cmr],
|
||||
chan_state->codec[chan_state->ul_ft],
|
||||
AMR_BAD);
|
||||
if (rc < 2) {
|
||||
LOGL1S(DL1P, LOGL_ERROR, l1t, bi->tn, chan, bi->fn,
|
||||
|
|
Loading…
Reference in New Issue